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