|
NAMESNMP::Info::Layer3::CiscoSwitch - Base class for L3 Cisco switches AUTHOREric Miller SYNOPSIS # Let SNMP::Info determine the correct subclass for you.
my $switch = new SNMP::Info(
AutoSpecify => 1,
Debug => 1,
# These arguments are passed directly to SNMP::Session
DestHost => 'myswitch',
Community => 'public',
Version => 2
)
or die "Can't connect to DestHost.\n";
my $class = $switch->class();
print "SNMP::Info determined this device to fall under subclass : $class\n";
DESCRIPTIONBase subclass for Cisco Layer 2/3 Switches. These devices have switch specific characteristics beyond those in traditional routers covered by SNMP::Info::Layer3::Cisco. For example, port security interface information from SNMP::Info::CiscoPortSecurity. For speed or debugging purposes you can call the subclass directly, but not after determining a more specific class using the method above. my $swich = new SNMP::Info::Layer3::CiscoSwitch(...); Inherited ClassesRequired MIBs
GLOBALSThese are methods that return scalar value from SNMP
Globals imported from SNMP::Info::CiscoPortSecuritySee documentation in "GLOBALS" in SNMP::Info::CiscoPortSecurity for details. Globals imported from SNMP::Info::Layer3::CiscoSee documentation in "GLOBALS" in SNMP::Info::Layer3::Cisco for details. TABLE METHODSThese are methods that return tables of information in the form of a reference to a hash. Table Methods imported from SNMP::Info::CiscoAggSee documentation in "TABLE METHODS" in SNMP::Info::CiscoAgg for details. Table Methods imported from SNMP::Info::CiscoPortSecuritySee documentation in "TABLE METHODS" in SNMP::Info::CiscoPortSecurity for details. Table Methods imported from SNMP::Info::Layer3::CiscoSee documentation in "TABLE METHODS" in SNMP::Info::Layer3::Cisco for details.
|