Eric A. Miller > SNMP-Info-1.04 > SNMP::Info::Layer3::N1600

Download:
SNMP-Info-1.04.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  2
Open  0
View/Report Bugs
Module Version: 1.04   Source   Latest Release: SNMP-Info-3.18

NAME ^

SNMP::Info::Layer3::N1600 - Perl5 Interface to Nortel 16XX Network Devices

AUTHOR ^

Eric Miller

SYNOPSIS ^

 # Let SNMP::Info determine the correct subclass for you. 
 my $n1600 = new SNMP::Info(
                          AutoSpecify => 1,
                          Debug       => 1,
                          # These arguments are passed directly on to SNMP::Session
                          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";

DESCRIPTION ^

Provides abstraction to the configuration information obtainable from a Nortel N16XX device through SNMP.

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

my $n1600 = new SNMP::Info::Layer3::N1600(...);

Inherited Classes

SNMP::Info::Layer3
SNMP::Info::SONMP

Required MIBs

SWL2MGMT-MIB
RAPID-CITY
Inherited Classes' MIBs

See classes listed above for their required MIBs.

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

Or, they can be downloaded directly from Nortel regardless of support contract status.

Go to http://www.nortel.com Techninal Support, Browse Technical Support, Select by product, Java Device Manager, Software. Download the latest version. After installation, all mibs are located under the install directory under mibs and the repspective product line.

GLOBALS ^

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 'nortel'

$n1600->os()

Returns 'passport'

Overrides

$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 requirment to reserve more than the max number of ports.

Globals imported from SNMP::Info::Layer3

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

Globals imported from SNMP::Info::SONMP

See documentation in SNMP::SONMP::Layer3 for details.

TABLE ENTRIES ^

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

Overrides

$n1600->interfaces()

Returns reference to hash of interface names to iids.

Places a 1 in front of index number. This is required for compatibilty 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.

Table Methods imported from SNMP::Info::Layer3

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

Table Methods imported from SNMP::Info::SONMP

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

syntax highlighting: