1SNMP::Info::Layer2::CenUtsielrliCoonn(t3r)ibuted Perl DoScNuMmPe:n:tIantfioo:n:Layer2::Centillion(3)
2
3
4
6 SNMP::Info::Layer2::Centillion - SNMP Interface to Nortel Centillion
7 based ATM Switches
8
10 Eric Miller
11
13 # Let SNMP::Info determine the correct subclass for you.
14 my $centillion = 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 = $centillion->class();
24 print "SNMP::Info determined this device to fall under subclass : $class\n";
25
27 Provides abstraction to the configuration information obtainable from a
28 Centillion device through SNMP.
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 $centillion = new SNMP::Info::Layer2::centillion(...);
34
35 Note: This class supports version 4.X and 5.X which are VLAN based
36 rather than bridge group based.
37
38 Inherited Classes
39 SNMP::Info
40 SNMP::Info::Bridge
41 SNMP::Info::NortelStack
42 SNMP::Info::SONMP
43
44 Required MIBs
45 CENTILLION-DOT3-EXTENSIONS-MIB
46 S5-COMMON-STATS-MIB
47 CENTILLION-VLAN-MIB
48 CENTILLION-CONFIG-MIB
49 Inherited Classes' MIBs
50 See "Required MIBs" in SNMP::Info for its own MIB requirements.
51
52 See "Required MIBs" in SNMP::Info::Bridge for its own MIB
53 requirements.
54
55 See "Required MIBs" in SNMP::Info::NortelStack for its own MIB
56 requirements.
57
58 See "Required MIBs" in SNMP::Info::SONMP for its own MIB
59 requirements.
60
62 These are methods that return scalar value from SNMP
63
64 $centillion->vendor()
65 Returns 'Nortel'
66
67 $centillion->model()
68 Cross references $centillion->id() to the SYNOPTICS-MIB and returns
69 the results.
70
71 Removes "sreg-" from the model name
72
73 $centillion->os()
74 Returns 'Centillion'
75
76 $centillion->tftp_action()
77 ("sysTFTPStart")
78
79 $centillion->tftp_host()
80 ("sysTFTPIpAddress")
81
82 $centillion->tftp_file()
83 ("sysTFTPFileName")
84
85 $centillion->tftp_type()
86 ("sysTFTPFileType")
87
88 $centillion->tftp_result()
89 ("sysTFTPResult")
90
91 Overrides
92 $centillion->index_factor()
93 Required by SNMP::Info::SONMP. Number representing the number of
94 ports reserved per slot within the device MIB. Returns 256.
95
96 $centillion->slot_offset()
97 Required by SNMP::Info::SONMP. Offset if slot numbering does not
98 start at 0. Returns 0.
99
100 Globals imported from SNMP::Info
101 See documentation in "GLOBALS" in SNMP::Info for details.
102
103 Globals imported from SNMP::Info::Bridge
104 See documentation in "GLOBALS" in SNMP::Info::Bridge for details.
105
106 Globals imported from SNMP::Info::NortelStack
107 See documentation in "GLOBALS" in SNMP::Info::NortelStack for details.
108
109 Global Methods imported from SNMP::Info::SONMP
110 See documentation in "GLOBALS" in SNMP::Info::SONMP for details.
111
113 These are methods that return tables of information in the form of a
114 reference to a hash.
115
116 Overrides
117 $centillion->interfaces()
118 Returns reference to the map between IID and physical Port.
119
120 Slot and port numbers on the Passport switches are determined by the
121 formula:
122 port = index % 256
123 slot = int(index / 256)
124
125 The physical port name is returned as slot.port.
126
127 $centillion->i_duplex()
128 Returns reference to map of IIDs to current link duplex
129
130 $centillion->i_duplex_admin()
131 Returns reference to hash of IIDs to admin duplex setting
132
133 $centillion->i_ignore()
134 Returns reference to hash of IIDs to ignore.
135
136 $centillion->fw_mac()
137 ("s5CmSNodeMacAddr")
138
139 $centillion->fw_port()
140 ("s5CmSNodeIfIndx")
141
142 $centillion->bp_index()
143 Returns a mapping between "ifIndex" and the Bridge Table.
144
145 $centillion->i_vlan()
146 Returns a mapping between "ifIndex" and the VLAN.
147
148 Centillion 802.3 Extension Table ("cnDot3ExtnTable")
149 $centillion->centillion_p_index()
150 Returns reference to hash. Maps table IIDs to Interface IIDs
151
152 ("cnDot3ExtnIfIndex")
153
154 $centillion->centillion_p_duplex()
155 Returns reference to hash. Maps port operational duplexes to IIDs
156
157 ("cnDot3ExtnIfOperConnectionType")
158
159 $centillion->rc_centillion_p_duplex_admin()
160 Returns reference to hash. Maps port admin duplexes to IIDs
161
162 ("cnDot3ExtnIfAdminConnectionType")
163
164 Centillion VLAN Table ("cnVlanPortMemberTable")
165 $centillion->centillion_i_vlan_index()
166 Returns reference to hash. Key: Table entry, Value: Index
167
168 ("cnVlanPortMemberIfIndex")
169
170 $centillion->centillion_i_vlan()
171 Returns reference to hash. Key: Table entry, Value: VLAN ID
172
173 ("cnVlanPortMemberVID")
174
175 $centillion->centillion_i_vlan_type()
176 Returns reference to hash. Key: Table entry, Value: VLAN Type
177
178 ("cnVlanPortMemberIngressType")
179
180 Table Methods imported from SNMP::Info
181 See documentation in "TABLE METHODS" in SNMP::Info for details.
182
183 Table Methods imported from SNMP::Info::Bridge
184 See documentation in "TABLE METHODS" in SNMP::Info::Bridge for details.
185
186 Table Methods imported from SNMP::Info::NortelStack
187 See documentation in "TABLE METHODS" in SNMP::Info::NortelStack for
188 details.
189
190 Table Methods imported from SNMP::Info::SONMP
191 See documentation in "TABLE METHODS" in SNMP::Info::SONMP for details.
192
193
194
195perl v5.28.1 2019-04-04 SNMP::Info::Layer2::Centillion(3)