1SNMP::Info::Layer3::BayURsSe(r3)Contributed Perl DocumenStNaMtPi:o:nInfo::Layer3::BayRS(3)
2
3
4

NAME

6       SNMP::Info::Layer3::BayRS - SNMP Interface to Avaya/Nortel routers
7       running 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 Avaya/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 'avaya'
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       $bayrs->i_pvid()
135           Returns reference to hash.  Maps port VLAN ID to IIDs.
136
137   Pseudo ENTITY-MIB information
138       These methods emulate ENTITY-MIB Physical Table methods using
139       Wellfleet-HARDWARE-MIB and Wellfleet-MODULE-MIB.
140
141       $bayrs->e_index()
142           Returns reference to hash.  Key and Value: Integer. The index is
143           created by combining the slot, module, and position into a five or
144           six digit integer.  Slot can be either one or two digits while the
145           module and position are each two digits padded with leading zero if
146           required.
147
148       $bayrs->e_class()
149           Returns reference to hash.  Key: IID, Value: General hardware type.
150           This class only returns container and module types.
151
152       $bayrs->e_descr()
153           Returns reference to hash.  Key: IID, Value: Human friendly name.
154
155       $bayrs->e_name()
156           Returns reference to hash.  Key: IID, Value: Human friendly name.
157
158       $bayrs->e_hwver()
159           Returns reference to hash.  Key: IID, Value: Hardware version.
160
161       $bayrs->e_vendor()
162           Returns reference to hash.  Key: IID, Value: avaya.
163
164       $bayrs->e_serial()
165           Returns reference to hash.  Key: IID, Value: Serial number.
166
167       $bayrs->e_pos()
168           Returns reference to hash.  Key: IID, Value: The relative position
169           among all entities sharing the same parent.
170
171       $bayrs->e_type()
172           Returns reference to hash.  Key: IID, Value: Type of
173           component/sub-component as defined in Wellfleet-HARDWARE-MIB for
174           processors and link modules or Wellfleet-MODULE-MIB for hardware
175           modules.
176
177       $bayrs->e_fwver()
178           Returns reference to hash.  Key: IID, Value: Firmware revision.
179           Only available on processors.
180
181       $bayrs->e_swver()
182           Returns reference to hash.  Key: IID, Value: Software revision.
183           Only available on processors.
184
185       $bayrs->e_parent()
186           Returns reference to hash.  Key: IID, Value: The value of e_index()
187           for the entity which 'contains' this entity.  A value of zero
188           indicates  this entity is not contained in any other entity.
189
190   Table Methods imported from SNMP::Info
191       See documentation in "TABLE METHODS" in SNMP::Info for details.
192
193   Table Methods imported from SNMP::Info::Bridge
194       See documentation in "TABLE METHODS" in SNMP::Info::Bridge for details.
195
196   Table Methods imported from SNMP::Info::Layer3
197       See documentation in "TABLE METHODS" in SNMP::Info::Layer3 for details.
198

Data Munging Callback Subroutines

200       $bayrs->munge_hw_rev()
201           Converts octets to a decimal major.minor string.
202
203       $bayrs->munge_wf_serial()
204           Coverts octets to a decimal string.
205
206
207
208perl v5.28.1                      2019-04-04      SNMP::Info::Layer3::BayRS(3)
Impressum