1SNMP::Info::Layer3::DLiUnske(r3)Contributed Perl DocumenStNaMtPi:o:nInfo::Layer3::DLink(3)
2
3
4

NAME

6       SNMP::Info::Layer3::DLink - SNMP Interface to DLink Devices
7

SYNOPSIS

9        # Let SNMP::Info determine the correct subclass for you.
10        my $dlink = new SNMP::Info(
11                                 AutoSpecify => 1,
12                                 Debug       => 1,
13                                 DestHost    => 'myrouter',
14                                 Community   => 'public',
15                                 Version     => 2
16                               )
17           or die "Can't connect to DestHost.\n";
18
19        my $class      = $dlink->class();
20        print "SNMP::Info determined this device to fall under subclass : $class\n";
21

DESCRIPTION

23       Subclass for DLink devices.
24
25   Inherited Classes
26       SNMP::Info::Layer3
27
28   Required MIBs
29       DLINK-ID-REC-MIB
30       SWPRIMGMT-DES3200-MIB
31       SWPRIMGMT-DES30XXP-MIB
32       SWPRIMGMT-DES1228ME-MIB
33       SWDES3528-52PRIMGMT-MIB
34       DES-1210-28-AX
35       DES-1210-10MEbx
36       DES-1210-26MEbx
37       DES-1210-52-BX
38       DES-1210-52-CX
39       DGS-1210-24-AX
40
41   Inherited Classes' MIBs
42       See "Required MIBs" in SNMP::Info::Layer3 for its own MIB requirements.
43

GLOBALS

45       These are methods that return scalar value from SNMP
46
47       $dlink->layers()
48           Makes sure to always report layer 2 and 3.
49
50       $dlink->model()
51           Returns the ID or else description.
52
53       $dlink->vendor()
54           Returns 'dlink'.
55
56       $dlink->serial()
57           Returns serial number.
58
59       $dlink->fwver()
60           Returns the firmware version.
61
62       $dlink->hwver()
63           Returns the hardware version.
64
65       $dlink->stp_i_root_port()
66           Returns the STP root port.
67
68   Globals imported from SNMP::Info::Layer3
69       See documentation in "GLOBALS" in SNMP::Info::Layer3 for details.
70

TABLE METHODS

72       These are methods that return tables of information in the form of a
73       reference to a hash.
74
75       $dlink->interfaces();
76           Returns the map between SNMP Interface Identifier (iid) and
77           "ifName".
78
79   Table Methods imported from SNMP::Info::Layer3
80       See documentation in "TABLE METHODS" in SNMP::Info::Layer3 for details.
81
82
83
84perl v5.36.1                      2023-07-17      SNMP::Info::Layer3::DLink(3)
Impressum