1SNMP::Info::Layer3::IBMUGsbeTrorC(o3n)tributed Perl DocuSmNeMnPt:a:tIinofno::Layer3::IBMGbTor(3)
2
3
4
6 SNMP::Info::Layer3::IBMGbTor - SNMP Interface to Lenovo/IBM Rackswitch
7 devices
8
10 Eric Miller
11
13 # Let SNMP::Info determine the correct subclass for you.
14 my $ibm = new SNMP::Info(
15 AutoSpecify => 1,
16 Debug => 1,
17 DestHost => 'myswitch',
18 Community => 'public',
19 Version => 1
20 )
21 or die "Can't connect to DestHost.\n";
22
23 my $class = $ibm->class();
24
25 print "SNMP::Info determined this device to fall under subclass : $class\n";
26
28 Abstraction subclass for IBM Rackswitch (formerly Blade Network
29 Technologies) network devices. Lenovo acquired these from IBM and is
30 now selling them under the Lenovo brand.
31
32 For speed or debugging purposes you can call the subclass directly, but
33 not after determining a more specific class using the method above.
34
35 my $ibm = new SNMP::Info::Layer3::IBMGbTor(...);
36
37 Inherited Classes
38 SNMP::Info::Layer3;
39 SNMP::Info::LLDP;
40
41 Required MIBs
42 IBM-GbTOR-10G-L2L3-MIB
43 Inherited Classes' MIBs
44 See "Required MIBs" in SNMP::Info::Layer3 for its own MIB
45 requirements.
46
48 These are methods that return scalar value from SNMP
49
50 $ibm->model()
51 Returns model type. Attempts to pull model from device
52 description. Otherwise checks $ibm->id() against the
53 IBM-GbTOR-10G-L2L3-MIB.
54
55 $ibm->vendor()
56 Returns 'ibm'
57
58 $ibm->os()
59 Returns 'ibm'
60
61 $ibm->os_ver()
62 Returns the software version
63
64 ("agSoftwareVersion")
65
66 $ibm->temp()
67 ("hwTempSensors")
68
69 $ibm->fan()
70 ("hwFanSpeed")
71
72 Overrides
73 $ibm->hasLLDP()
74 Is LLDP is active in this device?
75
76 Note: LLDP may be active, but nothing in "lldpRemoteSystemsData"
77 Tables so the device would not return any useful topology
78 information.
79
80 Checks to see if at least one interface is enabled to receive LLDP
81 packets.
82
83 Global Methods imported from SNMP::Info::Layer3
84 See documentation in "GLOBALS" in SNMP::Info::Layer3 for details.
85
86 Global Methods imported from SNMP::Info::LLDP
87 See documentation in "GLOBALS" in SNMP::Info::LLDP for details.
88
90 These are methods that return tables of information in the form of a
91 reference to a hash.
92
93 Overrides
94 $ibm->interfaces()
95 Returns reference to hash of interface names to iids.
96
97 $ibm->i_ignore()
98 Returns reference to hash of interfaces to be ignored.
99
100 Ignores interfaces with descriptions of tunnel, loopback, and null.
101
102 $ibm->i_duplex()
103 Returns reference to hash of interface link duplex status.
104
105 ("portInfoMode")
106
107 $ibm->lldp_if()
108 Returns the mapping to the SNMP Interface Table. Tries to cross
109 reference ("lldpInfoRemoteDevicesLocalPort") with ("ifDescr") and
110 ("ifAlias") to get ("ifIndex").
111
112 $ibm->lldp_ip()
113 Returns remote IPv4 address. Returns for all other address types,
114 use lldp_addr if you want any return address type.
115
116 $ibm->lldp_platform()
117 Returns remote device system description.
118
119 ("lldpInfoRemoteDevicesSystemDescription")
120
121 Table Methods imported from SNMP::Info::Layer3
122 See documentation in "TABLE METHODS" in SNMP::Info::Layer3 for details.
123
124 Table Methods imported from SNMP::Info::LLDP
125 See documentation in "TABLE METHODS" in SNMP::Info::LLDP for details.
126
127
128
129perl v5.28.1 2019-04-04 SNMP::Info::Layer3::IBMGbTor(3)