GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
SNMP::Info::Layer3::BayRS(3) User Contributed Perl Documentation SNMP::Info::Layer3::BayRS(3)

SNMP::Info::Layer3::BayRS - SNMP Interface to Avaya/Nortel routers running BayRS.

Eric Miller

 # Let SNMP::Info determine the correct subclass for you.
 my $bayrs = new SNMP::Info(
                          AutoSpecify => 1,
                          Debug       => 1,
                          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";

Abstraction subclass for routers running Avaya/Nortel BayRS.

SNMP::Info::Layer3

Wellfleet-HARDWARE-MIB
Wellfleet-MODULE-MIB
Wellfleet-OSPF-MIB
Wellfleet-DOT1QTAG-CONFIG-MIB
Wellfleet-CSMACD-MIB

See "Required MIBs" in SNMP::Info::Layer3 for its own MIB requirements.

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 :

    C<%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 'avaya'
$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 undefined.

See documentation in "GLOBALS" in SNMP::Info::Layer3 for details.

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

Note: These methods do not support partial table fetches, a partial can be passed but the entire table will be returned.

$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.
$bayrs->i_pvid()
Returns reference to hash. Maps port VLAN ID to IIDs.

These methods emulate ENTITY-MIB Physical Table methods using Wellfleet-HARDWARE-MIB and Wellfleet-MODULE-MIB.
$bayrs->e_index()
Returns reference to hash. Key and Value: Integer. The index is created by combining the slot, module, and position into a five or six digit integer. Slot can be either one or two digits while the module and position are each two digits padded with leading zero if required.
$bayrs->e_class()
Returns reference to hash. Key: IID, Value: General hardware type. This class only returns container and module types.
$bayrs->e_descr()
Returns reference to hash. Key: IID, Value: Human friendly name.
$bayrs->e_name()
Returns reference to hash. Key: IID, Value: Human friendly name.
$bayrs->e_hwver()
Returns reference to hash. Key: IID, Value: Hardware version.
$bayrs->e_vendor()
Returns reference to hash. Key: IID, Value: avaya.
$bayrs->e_serial()
Returns reference to hash. Key: IID, Value: Serial number.
$bayrs->e_pos()
Returns reference to hash. Key: IID, Value: The relative position among all entities sharing the same parent.
$bayrs->e_type()
Returns reference to hash. Key: IID, Value: Type of component/sub-component as defined in Wellfleet-HARDWARE-MIB for processors and link modules or Wellfleet-MODULE-MIB for hardware modules.
$bayrs->e_fwver()
Returns reference to hash. Key: IID, Value: Firmware revision. Only available on processors.
$bayrs->e_swver()
Returns reference to hash. Key: IID, Value: Software revision. Only available on processors.
$bayrs->e_parent()
Returns reference to hash. Key: IID, Value: The value of e_index() for the entity which 'contains' this entity. A value of zero indicates this entity is not contained in any other entity.

See documentation in "TABLE METHODS" in SNMP::Info::Layer3 for details.

$bayrs->munge_hw_rev()
Converts octets to a decimal major.minor string.
$bayrs->munge_wf_serial()
Coverts octets to a decimal string.
2022-04-07 perl v5.32.1

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.