1SNMP::Info::Layer3::DLiUnske(r3)Contributed Perl DocumenStNaMtPi:o:nInfo::Layer3::DLink(3)
2
3
4
6 SNMP::Info::Layer3::DLink - SNMP Interface to DLink Devices
7
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
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
45 These are methods that return scalar value from SNMP
46
47 $dlink->model()
48 Returns the ID or else description.
49
50 $dlink->vendor()
51 Returns 'dlink'.
52
53 $dlink->serial()
54 Returns serial number.
55
56 $dlink->fwver()
57 Returns the firmware version.
58
59 $dlink->hwver()
60 Returns the hardware version.
61
62 $dlink->stp_i_root_port()
63 Returns the STP root port.
64
65 Globals imported from SNMP::Info::Layer3
66 See documentation in "GLOBALS" in SNMP::Info::Layer3 for details.
67
69 These are methods that return tables of information in the form of a
70 reference to a hash.
71
72 $dlink->interfaces();
73 Returns the map between SNMP Interface Identifier (iid) and
74 "ifName".
75
76 Table Methods imported from SNMP::Info::Layer3
77 See documentation in "TABLE METHODS" in SNMP::Info::Layer3 for details.
78
79
80
81perl v5.32.0 2020-07-28 SNMP::Info::Layer3::DLink(3)