SNMP::Info::Layer3::N1600 - SNMP Interface to Avaya/Nortel 16XX Network Devices
# Let SNMP::Info determine the correct subclass for you.
my $n1600 = new SNMP::Info(
AutoSpecify => 1,
Debug => 1,
DestHost => 'myswitch',
Community => 'public',
Version => 1
)
or die "Can't connect to DestHost.\n";
my $class = $n1600->class();
print "SNMP::Info determined this device to fall under subclass : $class\n";
Provides abstraction to the configuration information obtainable from an
Avaya/Nortel N16XX device through SNMP.
- SNMP::Info::Layer3
- SNMP::Info::SONMP
- SWL2MGMT-MIB
- RAPID-CITY
- Inherited Classes' MIBs
- See classes listed above for their required MIBs.
These are methods that return scalar value from SNMP
- $n1600->bulkwalk_no
- Return 1. Bulkwalk is currently turned off for
this class.
- $n1600->model()
- Returns model type. Checks $n1600->id()
against the RAPID-CITY-MIB and then parses out
"rcA".
- $n1600->vendor()
- Returns 'avaya'
- $n1600->os()
- Returns 'passport'
- $n1600->os_ver()
- Returns os version extracted from
"sysDescr".
- $n1600->index_factor()
- Required by SNMP::Info::SONMP. Number representing the number of ports
reserved per slot within the device MIB.
Returns 64 since largest switch has 48 ports. Since these
switches can not stack, the only requirement to reserve more than the
max number of ports.
See documentation in "GLOBALS" in SNMP::Info::Layer3 for details.
See documentation in SNMP::SONMP::Layer3 for details.
These are methods that return tables of information in the form of a reference
to a hash.
- $n1600->interfaces()
- Returns reference to hash of interface names to iids.
Places a 1 in front of index number. This is required for
compatibility with SNMP::Info::SONMP.
- $n1600->i_duplex()
- Returns reference to hash of interface operational link duplex
status.
- $n1600->i_duplex_admin()
- Returns reference to hash of interface administrative link duplex
status.
See documentation in "TABLE METHODS" in SNMP::Info::Layer3 for
details.
See documentation in "TABLE METHODS" in SNMP::Info::SONMP for details.