++ed by:
INPHOBIA ABRAXXA KEEDI

3 PAUSE users
1 non-PAUSE user.

Author image Max Baker

NAME

SNMP::Info::Layer3::BayRS - Perl5 Interface to Nortel Networks' routers running BayRS.

AUTHOR

Eric Miller (eric@jeneric.org)

SYNOPSIS

 # Let SNMP::Info determine the correct subclass for you. 
 my $bayrs = new SNMP::Info(
                          AutoSpecify => 1,
                          Debug       => 1,
                          # These arguments are passed directly on to SNMP::Session
                          DestHost    => 'myswitch',
                          Community   => 'public',
                          Version     => 2
                        ) 
    or die "Can't connect to DestHost.\n";

 my $class      = $bayrs->class();
 print "SNMP::Info determined this device to fall under subclass : $class\n";

DESCRIPTION

Abstraction subclass for routers running Nortel Networks' BayRS.

For speed or debugging purposes you can call the subclass directly, but not after determining a more specific class using the method above.

 my $bayrs = new SNMP::Info::Layer3::BayRS(...);

Inherited Classes

SNMP::Info
SNMP::Info::Bridge

Required MIBs

Wellfleet-HARDWARE-MIB
Wellfleet-OSPF-MIB
Wellfleet-DOT1QTAG-CONFIG-MIB
Wellfleet-CSMACD-MIB
Inherited Classes' MIBs

See SNMP::Info for its own MIB requirements.

See SNMP::Info::Bridge for its own MIB requirements.

MIBs can be found on the CD that came with your product.

Or, they can be downloaded directly from Nortel Networks regardless of support contract status. Go to http://www.nortelnetworks.com Techninal Support, Browse Technical Support, Select by Product Families, BayRS Router Software, Router Software v 15.x, Software. Filter on mibs and download the latest version's archive.

GLOBALS

These are methods that return scalar value from SNMP

$bayrs->model()

Returns the model of the BayRS router. Will translate between the MIB model and the common model with this map :

%MODEL_MAP = ( 'acefn' => 'FN', 'aceln' => 'LN', 'acecn' => 'CN', 'afn' => 'AFN', 'in' => 'IN', 'an' => 'AN', 'arn' => 'ARN', 'sys5000' => '5000', 'freln' => 'BLN', 'frecn' => 'BCN', 'frerbln' => 'BLN-2', 'asn' => 'ASN', 'asnzcable' => 'ASN-Z', 'asnbcable' => 'ASN-B', );

$bayrs->vendor()

Returns 'Nortel'

$bayrs->os()

Returns 'BayRS'

$bayrs->os_ver()

Returns the software version extracted from sysDescr

$bayrs->serial()

Returns (wfHwBpSerialNumber) after conversion to ASCII decimal

$bayrs->root_ip()

Returns the primary IP used to communicate with the router.

Returns the first found: CLIP (CircuitLess IP), (wfOspfRouterId), or the first IP interface.

Globals imported from SNMP::Info

See documentation in SNMP::Info for details.

Globals imported from SNMP::Info::Bridge

See documentation in SNMP::Info::Bridge for details.

TABLE ENTRIES

These are methods that return tables of information in the form of a reference to a hash.

Overrides

$bayrs->interfaces()

Returns reference to the map between IID and physical Port.

The physical port name is stripped to letter and numbers to signify port type and slot port (S11) if the default platform naming was maintained. Otherwise the port is the interface description.

$bayrs->i_name()

Returns (ifDescr) along with VLAN name (wfDot1qTagCfgVlanName) for VLAN interfaces.

$bayrs->i_duplex()

Returns reference to hash. Maps port operational duplexes to IIDs for Ethernet interfaces.

$bayrs->i_duplex_admin()

Returns reference to hash. Maps port admin duplexes to IIDs for Ethernet interfaces.

$bayrs->i_vlan()

Returns reference to hash. Maps port VLAN ID to IIDs.

RFC1213 Arp Cache Table (ipNetToMediaTable)

$bayrs->at_index()

Returns reference to hash. Maps ARP table entries to Interface IIDs

(ipNetToMediaIfIndex)

$bayrs->at_paddr()

Returns reference to hash. Maps ARP table entries to MAC addresses.

(ipNetToMediaPhysAddress)

$bayrs->at_netaddr()

Returns reference to hash. Maps ARP table entries to IPs

(ipNetToMediaNetAddress)

Table Methods imported from SNMP::Info

See documentation in SNMP::Info for details.

Table Methods imported from SNMP::Info::Bridge

See documentation in SNMP::Info::Bridge for details.