SNMP::Info::Layer3::Netscreen.3pm

Langue: en

Version: 2008-08-02 (ubuntu - 07/07/09)

Section: 3 (Bibliothèques de fonctions)

NAME

SNMP::Info::Layer3::Netscreen - SNMP Interface to Juniper Netscreen Devices

AUTHOR

Kent Hamilton

SYNOPSIS

     #Let SNMP::Info determine the correct subclass for you.
 
     my $netscreen = new SNMP::Info(
                           AutoSpecify => 1,
                           Debug       => 1,
                           DestHost    => 'myswitch',
                           Community   => 'public',
                           Version     => 2
                         ) 
 
     or die "Can't connect to DestHost.\n";
 
     my $class = $netscreen->class();
     print "SNMP::Info determined this device to fall under subclass : $class\n";
 
 

DESCRIPTION

Provides abstraction to the configuration information obtainable from a Netscreen device through SNMP. See inherited classes' documentation for inherited methods.

my $netscreen = new SNMP::Info::Layer3::Netscreen(...);

Inherited Classes

SNMP::Info::Layer3

Required MIBs

NETSCREEN-SMI
NETSCREEN-PRODUCTS-MIB
NETSCREEN-INTERFACE-MIB
NETSCREEN-SET-GEN-MIB
Inherited Classes
See ``Required MIBs'' in SNMP::Info::Layer3 and its inherited classes.

GLOBALS

These are methods that return scalar value from SNMP
$netscreen->vendor()
Returns 'netscreen'
$netscreen->os()
Returns 'screenos'
$netscreen->os_ver()
Extracts the OS version from the description string.
$netscreen->serial()
Returns serial number..

Overrides

$netscreen->layers()
Returns 01001100. Device doesn't report layers properly, modified to reflect Layer3 functionality.

Globals imported from SNMP::Info::Layer3

See ``GLOBALS'' in SNMP::Info::Layer3 for details.

TABLE METHODS

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

Table Methods imported from SNMP::Info::Layer3

See ``TABLE METHODS'' in SNMP::Info::Layer3 for details.