1Info::Layer2::CentillioUns(e3r)Contributed Perl DocumentIantfioo:n:Layer2::Centillion(3)
2
3
4

NAME

6       SNMP::Info::Layer2::Centillion - SNMP Interface to Nortel Centillion
7       based ATM Switches
8

AUTHOR

10       Eric Miller
11

SYNOPSIS

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

DESCRIPTION

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

GLOBALS

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->layers()
93           Returns 00000011.  Class emulates Layer 2 functionality through
94           proprietary MIBs.
95
96       $centillion->index_factor()
97           Required by SNMP::Info::SONMP.  Number representing the number of
98           ports reserved per slot within the device MIB.  Returns 256.
99
100       $centillion->slot_offset()
101           Required by SNMP::Info::SONMP.  Offset if slot numbering does not
102           start at 0.  Returns 0.
103
104   Globals imported from SNMP::Info
105       See documentation in "GLOBALS" in SNMP::Info for details.
106
107   Globals imported from SNMP::Info::Bridge
108       See documentation in "GLOBALS" in SNMP::Info::Bridge for details.
109
110   Globals imported from SNMP::Info::NortelStack
111       See documentation in "GLOBALS" in SNMP::Info::NortelStack for details.
112
113   Global Methods imported from SNMP::Info::SONMP
114       See documentation in "GLOBALS" in SNMP::Info::SONMP for details.
115

TABLE METHODS

117       These are methods that return tables of information in the form of a
118       reference to a hash.
119
120   Overrides
121       $centillion->interfaces()
122               Returns reference to the map between IID and physical Port.
123
124               Slot and port numbers on the Passport switches are determined by the
125               formula:
126                 port = index % 256
127                 slot = int(index / 256)
128
129               The physical port name is returned as slot.port.
130
131       $centillion->i_duplex()
132           Returns reference to map of IIDs to current link duplex
133
134       $centillion->i_duplex_admin()
135           Returns reference to hash of IIDs to admin duplex setting
136
137       $centillion->i_ignore()
138           Returns reference to hash of IIDs to ignore.
139
140       $centillion->fw_mac()
141           ("s5CmSNodeMacAddr")
142
143       $centillion->fw_port()
144           ("s5CmSNodeIfIndx")
145
146       $centillion->bp_index()
147           Returns a mapping between "ifIndex" and the Bridge Table.
148
149       $centillion->i_vlan()
150           Returns a mapping between "ifIndex" and the VLAN.
151
152   Centillion 802.3 Extension Table ("cnDot3ExtnTable")
153       $centillion->centillion_p_index()
154           Returns reference to hash.  Maps table IIDs to Interface IIDs
155
156           ("cnDot3ExtnIfIndex")
157
158       $centillion->centillion_p_duplex()
159           Returns reference to hash.  Maps port operational duplexes to IIDs
160
161           ("cnDot3ExtnIfOperConnectionType")
162
163       $centillion->rc_centillion_p_duplex_admin()
164           Returns reference to hash.  Maps port admin duplexes to IIDs
165
166           ("cnDot3ExtnIfAdminConnectionType")
167
168   Centillion VLAN Table ("cnVlanPortMemberTable")
169       $centillion->centillion_i_vlan_index()
170           Returns reference to hash.  Key: Table entry, Value: Index
171
172           ("cnVlanPortMemberIfIndex")
173
174       $centillion->centillion_i_vlan()
175           Returns reference to hash.  Key: Table entry, Value: VLAN ID
176
177           ("cnVlanPortMemberVID")
178
179       $centillion->centillion_i_vlan_type()
180           Returns reference to hash.  Key: Table entry, Value: VLAN Type
181
182           ("cnVlanPortMemberIngressType")
183
184   Table Methods imported from SNMP::Info
185       See documentation in "TABLE METHODS" in SNMP::Info for details.
186
187   Table Methods imported from SNMP::Info::Bridge
188       See documentation in "TABLE METHODS" in SNMP::Info::Bridge for details.
189
190   Table Methods imported from SNMP::Info::NortelStack
191       See documentation in "TABLE METHODS" in SNMP::Info::NortelStack for
192       details.
193
194   Table Methods imported from SNMP::Info::SONMP
195       See documentation in "TABLE METHODS" in SNMP::Info::SONMP for details.
196
197
198
199perl v5.12.0                      2009-06-12       Info::Layer2::Centillion(3)
Impressum