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 => 2
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 Inherited Classes
33 SNMP::Info::Layer3;
34 SNMP::Info::LLDP;
35
36 Required MIBs
37 IBM-GbTOR-10G-L2L3-MIB
38 Inherited Classes' MIBs
39 See "Required MIBs" in SNMP::Info::Layer3 for its own MIB
40 requirements.
41
43 These are methods that return scalar value from SNMP
44
45 $ibm->model()
46 Returns model type. Attempts to pull model from device
47 description. Otherwise checks $ibm->id() against the
48 IBM-GbTOR-10G-L2L3-MIB.
49
50 $ibm->vendor()
51 Returns 'ibm'
52
53 $ibm->os()
54 Returns 'ibm'
55
56 $ibm->os_ver()
57 Returns the software version
58
59 ("agSoftwareVersion")
60
61 $ibm->temp()
62 ("hwTempSensors")
63
64 $ibm->fan()
65 ("hwFanSpeed")
66
67 Overrides
68 $ibm->hasLLDP()
69 Is LLDP is active in this device?
70
71 Note: LLDP may be active, but nothing in "lldpRemoteSystemsData"
72 Tables so the device would not return any useful topology
73 information.
74
75 Checks to see if at least one interface is enabled to receive LLDP
76 packets.
77
78 Global Methods imported from SNMP::Info::Layer3
79 See documentation in "GLOBALS" in SNMP::Info::Layer3 for details.
80
81 Global Methods imported from SNMP::Info::LLDP
82 See documentation in "GLOBALS" in SNMP::Info::LLDP for details.
83
85 These are methods that return tables of information in the form of a
86 reference to a hash.
87
88 Overrides
89 $ibm->interfaces()
90 Returns reference to hash of interface names to iids.
91
92 $ibm->i_ignore()
93 Returns reference to hash of interfaces to be ignored.
94
95 Ignores interfaces with descriptions of tunnel, loopback, and null.
96
97 $ibm->i_duplex()
98 Returns reference to hash of interface link duplex status.
99
100 ("portInfoMode")
101
102 $ibm->lldp_if()
103 Returns the mapping to the SNMP Interface Table. Tries to cross
104 reference ("lldpInfoRemoteDevicesLocalPort") with ("ifDescr") and
105 ("ifAlias") to get ("ifIndex").
106
107 $ibm->lldp_ip()
108 Returns remote IPv4 address. Returns for all other address types,
109 use lldp_addr if you want any return address type.
110
111 $ibm->lldp_platform()
112 Returns remote device system description.
113
114 ("lldpInfoRemoteDevicesSystemDescription")
115
116 Table Methods imported from SNMP::Info::Layer3
117 See documentation in "TABLE METHODS" in SNMP::Info::Layer3 for details.
118
119 Table Methods imported from SNMP::Info::LLDP
120 See documentation in "TABLE METHODS" in SNMP::Info::LLDP for details.
121
122
123
124perl v5.36.1 2023-07-17 SNMP::Info::Layer3::IBMGbTor(3)