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 Vyatta Devices running dlink.
24
25 Inherited Classes
26 SNMP::Info::Layer3
27 SNMP::Info::LLDP
28
29 Inherited Classes' MIBs
30 See "Required MIBs" in SNMP::Info::Layer3 for its own MIB requirements.
31
32 See "Required MIBs" in SNMP::Info::LLDP for its own MIB requirements.
33
35 These are methods that return scalar value from SNMP
36
37 $dlink->model()
38 Returns the ID or else description.
39
40 $dlink->vendor()
41 Returns 'dlink'.
42
43 $dlink->serial()
44 Returns serial number.
45
46 $dlink->fwver()
47 Returns the firmware version.
48
49 $dlink->hwver()
50 Returns the hardware version.
51
52 $dlink->stp_i_root_port()
53 Returns the STP root port.
54
55 Globals imported from SNMP::Info::Layer3
56 See documentation in "GLOBALS" in SNMP::Info::Layer3 for details.
57
58 See documentation in "GLOBALS" in SNMP::Info::LLDP for details.
59
61 Table Methods imported from SNMP::Info::Layer3
62 See documentation in "TABLE METHODS" in SNMP::Info::Layer3 for details.
63
64 See documentation in "TABLE METHODS" in SNMP::Info::LLDP for details.
65
66
67
68perl v5.28.0 2018-11-29 SNMP::Info::Layer3::DLink(3)