NAME
SNMP::Info::Layer3::C3550 - Perl5 Interface to Cisco Catalyst 3550 Layer 2/3 Switches running IOS
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.
AUTHOR
Max Baker (max@warped.org
)
SYNOPSIS
my $c3550 = new SNMP::Info::Layer3::C3550(DestHost => 'router' ,
Community => 'public' );
CREATING AN OBJECT
- new SNMP::Info::Layer3::C3550()
-
Arguments passed to new() are passed on to SNMP::Session::new()
my $c3550 = new SNMP::Info::Layer3::C3550( DestHost => $host, Community => 'public', Version => 3,... ) die "Couldn't connect.\n" unless defined $c3550;
- $c3550->session()
-
Sets or returns the SNMP::Session object
# Get my $sess = $c3550->session(); # Set my $newsession = new SNMP::Session(...); $c3550->session($newsession);
GLOBAL Values
- $c3550->serial() (chassisSerialNumberString)
- $c3550->model() (chassisModel)
- $c3550->ps1_type() (chassisPs1Type)
- $c3550->ps2_type() (chassisPs2Type)
- $c3550->ps1_status() (chassisPs1Status)
- $c3550->ps2_status() (chassisPs2Status)
- $c3550->slots() (chassisNumSlots)
- $c3550->fan() (chassisFanStatus)
- $c3550->vendor()
-
Returns 'cisco'
TABLE ENTRIES
Overrides
- $c3550->i_type()
-
Crosses p_port() with p_type() and returns the results. Overrides with ifType if p_type() isn't available.
- $c3550->i_name()
-
Crosses p_name with p_port and returns results.
- $c3550->i_duplex()
-
Crosses p_duplex with p_port and returns results.
- $c3550->i_duplex_admin()
-
Crosses p_duplex_admin with p_port. Munges bit_string returned from p_duplex_admin to get duplex settings.
Port Entry Table (CISCO-STACK-MIB::portTable)
- $c3550->p_name() (portName)
- $c3550->p_type() (portType)
- $c3550->p_status() (portOperStatus)
- $c3550->p_status2() (portAdditionalStatus)
- $c3550->p_speed() (portAdminSpeed)
- $c3550->p_duplex() (portDuplex)
- $c3550->p_port() (portIfIndex)
Port Capability Table (CISCO-STACK-MIB::portCpbTable)
VLAN Entry Table
See ftp://ftp.cisco.com/pub/mibs/supportlists/wsc5000/wsc5000-communityIndexing.html for a good treaty of how to connect to the VLANs