1Info::Layer3::BayRS(3)User Contributed Perl DocumentationInfo::Layer3::BayRS(3)
2
3
4

NAME

6       SNMP::Info::Layer3::BayRS - SNMP Interface to Nortel routers running
7       BayRS.
8

AUTHOR

10       Eric Miller
11

SYNOPSIS

13        # Let SNMP::Info determine the correct subclass for you.
14        my $bayrs = 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      = $bayrs->class();
24        print "SNMP::Info determined this device to fall under subclass : $class\n";
25

DESCRIPTION

27       Abstraction subclass for routers running Nortel BayRS.
28
29       For speed or debugging purposes you can call the subclass directly, but
30       not after determining a more specific class using the method above.
31
32        my $bayrs = new SNMP::Info::Layer3::BayRS(...);
33
34   Inherited Classes
35       SNMP::Info
36       SNMP::Info::Bridge
37       SNMP::Info::Layer3
38
39   Required MIBs
40       Wellfleet-HARDWARE-MIB
41       Wellfleet-MODULE-MIB
42       Wellfleet-OSPF-MIB
43       Wellfleet-DOT1QTAG-CONFIG-MIB
44       Wellfleet-CSMACD-MIB
45
46   Inherited MIBs
47       See "Required MIBs" in SNMP::Info for its own MIB requirements.
48
49       See "Required MIBs" in SNMP::Info::Bridge for its own MIB requirements.
50
51       See "Required MIBs" in SNMP::Info::Layer3 for its own MIB requirements.
52

GLOBALS

54       These are methods that return scalar value from SNMP
55
56       $bayrs->model()
57           Returns the model of the BayRS router.  Will translate between the
58           MIB model and the common model with this map :
59
60               C<%MODEL_MAP = (
61                   'acefn'     => 'FN',
62                   'aceln'     => 'LN',
63                   'acecn'     => 'CN',
64                   'afn'       => 'AFN',
65                   'in'        => 'IN',
66                   'an'        => 'AN',
67                   'arn'       => 'ARN',
68                   'sys5000'   => '5000',
69                   'freln'     => 'BLN',
70                   'frecn'     => 'BCN',
71                   'frerbln'   => 'BLN-2',
72                   'asn'       => 'ASN',
73                   'asnzcable' => 'ASN-Z',
74                   'asnbcable' => 'ASN-B',
75                   );>
76
77       $bayrs->vendor()
78           Returns 'nortel'
79
80       $bayrs->os()
81           Returns 'bayrs'
82
83       $bayrs->os_ver()
84           Returns the software version extracted from "sysDescr"
85
86       $bayrs->serial()
87           Returns ("wfHwBpSerialNumber") after conversion to ASCII decimal
88
89       $bayrs->root_ip()
90           Returns the primary IP used to communicate with the router.
91
92           Returns the first found:  CLIP (CircuitLess IP),
93           ("wfOspfRouterId"), or undefined.
94
95   Globals imported from SNMP::Info
96       See documentation in "GLOBALS" 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::Layer3
102       See documentation in "GLOBALS" in SNMP::Info::Layer3 for details.
103

TABLE METHODS

105       These are methods that return tables of information in the form of a
106       reference to a hash.
107
108       Note:  These methods do not support partial table fetches, a partial
109       can be passed but the entire table will be returned.
110
111   Overrides
112       $bayrs->interfaces()
113           Returns reference to the map between IID and physical Port.
114
115           The physical port name is stripped to letter and numbers to signify
116           port type and slot port (S11) if the default platform naming was
117           maintained.  Otherwise the port is the interface description.
118
119       $bayrs->i_name()
120           Returns ("ifDescr") along with VLAN name ("wfDot1qTagCfgVlanName")
121           for VLAN interfaces.
122
123       $bayrs->i_duplex()
124           Returns reference to hash.  Maps port operational duplexes to IIDs
125           for Ethernet interfaces.
126
127       $bayrs->i_duplex_admin()
128           Returns reference to hash.  Maps port admin duplexes to IIDs for
129           Ethernet interfaces.
130
131       $bayrs->i_vlan()
132           Returns reference to hash.  Maps port VLAN ID to IIDs.
133
134   Pseudo ENTITY-MIB information
135       These methods emulate ENTITY-MIB Physical Table methods using
136       Wellfleet-HARDWARE-MIB and Wellfleet-MODULE-MIB.
137
138       $bayrs->e_index()
139           Returns reference to hash.  Key and Value: Integer. The index is
140           created by combining the slot, module, and position into a five or
141           six digit integer.  Slot can be either one or two digits while the
142           module and position are each two digits padded with leading zero if
143           required.
144
145       $bayrs->e_class()
146           Returns reference to hash.  Key: IID, Value: General hardware type.
147           This class only returns container and module types.
148
149       $bayrs->e_descr()
150           Returns reference to hash.  Key: IID, Value: Human friendly name.
151
152       $bayrs->e_name()
153           Returns reference to hash.  Key: IID, Value: Human friendly name.
154
155       $bayrs->e_hwver()
156           Returns reference to hash.  Key: IID, Value: Hardware version.
157
158       $bayrs->e_vendor()
159           Returns reference to hash.  Key: IID, Value: nortel.
160
161       $bayrs->e_serial()
162           Returns reference to hash.  Key: IID, Value: Serial number.
163
164       $bayrs->e_pos()
165           Returns reference to hash.  Key: IID, Value: The relative position
166           among all entities sharing the same parent.
167
168       $bayrs->e_type()
169           Returns reference to hash.  Key: IID, Value: Type of
170           component/sub-component as defined in Wellfleet-HARDWARE-MIB for
171           processors and link modules or Wellfleet-MODULE-MIB for hardware
172           modules.
173
174       $bayrs->e_fwver()
175           Returns reference to hash.  Key: IID, Value: Firmware revision.
176           Only available on processors.
177
178       $bayrs->e_swver()
179           Returns reference to hash.  Key: IID, Value: Software revision.
180           Only available on processors.
181
182       $bayrs->e_parent()
183           Returns reference to hash.  Key: IID, Value: The value of e_index()
184           for the entity which 'contains' this entity.  A value of zero
185           indicates  this entity is not contained in any other entity.
186
187   Table Methods imported from SNMP::Info
188       See documentation in "TABLE METHODS" in SNMP::Info for details.
189
190   Table Methods imported from SNMP::Info::Bridge
191       See documentation in "TABLE METHODS" in SNMP::Info::Bridge for details.
192
193   Table Methods imported from SNMP::Info::Layer3
194       See documentation in "TABLE METHODS" in SNMP::Info::Layer3 for details.
195

Data Munging Callback Subroutines

197       $extreme->munge_hw_rev()
198           Converts octets to a decimal major.minor string.
199
200       $extreme->munge_wf_serial()
201           Coverts octets to a decimal string.
202
203
204
205perl v5.12.0                      2009-06-12            Info::Layer3::BayRS(3)
Impressum