Rechercher une page de manuel
SNMP::Info::Layer3::C3550.3pm
Langue: en
Version: 2006-06-30 (mandriva - 22/10/07)
Section: 3 (Bibliothèques de fonctions)
NAME
SNMP::Info::Layer3::C3550 - Perl5 Interface to Cisco Catalyst 3550 Layer 2/3 Switches running IOSAUTHOR
Max BakerSYNOPSIS
# Let SNMP::Info determine the correct subclass for you. my $c3550 = new SNMP::Info( AutoSpecify => 1, Debug => 1, # These arguments are passed directly on to SNMP::Session DestHost => 'myswitch', Community => 'public', Version => 2 ) or die "Can't connect to DestHost.\n";
my $class = $c3550->class(); print "SNMP::Info determined this device to fall under subclass : $class\n";
DESCRIPTION
Abstraction subclass for Cisco Catalyst 3550 Layer 2/3 Switches.These devices run IOS but have some of the same charactersitics as the Catalyst WS-C family (5xxx,6xxx). For example, forwarding tables are held in VLANs, and extened interface information is gleened from CISCO-SWITCH-MIB.
For speed or debugging purposes you can call the subclass directly, but not after determining a more specific class using the method above.
my $c3550 = new SNMP::Info::Layer3::C3550(...);
Inherited Classes
- SNMP::Info::Layer3
- SNMP::Info::CiscoVTP
- SNMP::Info::CiscoStack
- SNMP::Info::CDP
- SNMP::Info::CiscoStats
- SNMP::Info::CiscoImage
Required MIBs
- Inherited Classes' MIBs
- See SNMP::Info::Layer3 for its own MIB requirements.
See SNMP::Info::CiscoVTP for its own MIB requirements.
See SNMP::Info::CiscoStack for its own MIB requirements.
See SNMP::Info::CiscoStats for its own MIB requirements.
See SNMP::Info::CiscoImage for its own MIB requirements.
See SNMP::Info::CDP for its own MIB requirements.
GLOBALS
These are methods that return scalar value from SNMP- $c3550->vendor()
-
Returns 'cisco'
- $c3550->model()
- Will take the translated model number and try to format it better.
355048 -> 3550-48 355012G -> 3550-12G
- $c3550->ports()
- Trys to cull the number of ports from the model number.
Globals imported from SNMP::Info::Layer3
See documentation in SNMP::Info::Layer3 for details.
Global Methods imported from SNMP::Info::CiscoVTP
See documentation in SNMP::Info::CiscoVTP for details.
Global Methods imported from SNMP::Info::CiscoStack
See documentation in SNMP::Info::CiscoStack for details.
Globals imported from SNMP::Info::CDP
See documentation in SNMP::Info::CDP for details.
Globals imported from SNMP::Info::CiscoStats
See documentation in SNMP::Info::CiscoStats for details.
Globals imported from SNMP::Info::CiscoImage
See documentation in SNMP::Info::CiscoImage for details.
TABLE ENTRIES
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 documentation in SNMP::Info::Layer3 for details.
Table Methods imported from SNMP::Info::CiscoVTP
See documentation in SNMP::Info::CiscoVTP for details.
Table Methods imported from SNMP::Info::CiscoStack
See documentation in SNMP::Info::CiscoStack for details.
Table Methods imported from SNMP::Info::CDP
See documentation in SNMP::Info::CDP for details.
Table Methods imported from SNMP::Info::CiscoStats
See documentation in SNMP::Info::CiscoStats for details.
Table Methods imported from SNMP::Info::CiscoImage
See documentation in SNMP::Info::CiscoImage for details.
Contenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre