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