NAME
SNMP::Info::RapidCityLegacy - SNMP Interface to the RAPID-CITY MIB tables of the Avaya/Nortel 8600 and ERS families
AUTHOR
Eric Miller
SYNOPSIS
# Let SNMP::Info determine the correct subclass for you.
my $rapidcity = 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 = $rapidcity->class();
print "SNMP::Info determined this device to fall under subclass : $class\n";
DESCRIPTION
SNMP::Info::RapidCityLegacy is a subclass of SNMP::Info that provides the RAPID-CITY MIB entries used by the Passport 8600 era and the Ethernet Routing Switch and BayStack families: the CPU Ethernet port, card and MDA tables, the IST, the virtual IP address and the SPBM forwarding table.
Use or create in a subclass of SNMP::Info. Do not use directly. List it ahead of SNMP::Info::RapidCity in @ISA, so its i_duplex() and i_duplex_admin() add the CPU Ethernet rows to the ones the core returns, and list the hashes in the opposite order.
Inherited Classes
None.
Required MIBs
GLOBALS
These are methods that return scalar values from SNMP
- $rapidcity->rc_virt_ip()
-
(
rcSysVirtualIpAddr) - $rapidcity->rc_virt_mask()
-
(
rcSysVirtualNetMask) - $rapidcity->rc_ist_status()
-
(
rcMltIstSessionStatus) - $rapidcity->rc_ist_peer()
-
(
rcMltIstPeerIp) - $rapidcity->rc_ist_vlan()
-
(
rcMltIstVlanId)
TABLE METHODS
These are methods that return tables of information in the form of a reference to a hash.
- $rapidcity->mlag_domains()
-
Adds the
istdomain kind to the core'smlag_domains(), fromrcMltIstPeerIp(peer),rcMltIstVlanId(vlan) andrcMltIstSessionStatus(status), with the samesystem_macas the virtual IST. A split MLT pairs withistinlag_groups()when no virtual IST is served. - $rapidcity->i_duplex()
-
Returns reference to map of IIDs to current link duplex, with the CPU Ethernet ports added to the
rcPortTablerows of "i_duplex()" in SNMP::Info::RapidCity. - $rapidcity->i_duplex_admin()
-
Returns reference to hash of IIDs to admin duplex setting, with the CPU Ethernet ports added to the
rcPortTablerows of "i_duplex_admin()" in SNMP::Info::RapidCity.
RAPID-CITY CPU Ethernet Port Table (rc2kCpuEthernetPortTable)
- $rapidcity->rc_cpu_ifindex()
-
(
rc2kCpuEthernetPortIfIndex) - $rapidcity->rc_cpu_admin()
-
(
rc2kCpuEthernetPortAdminStatus) - $rapidcity->rc_cpu_oper()
-
(
rc2kCpuEthernetPortOperStatus) - $rapidcity->rc_cpu_ip()
-
(
rc2kCpuEthernetPortAddr) - $rapidcity->rc_cpu_mask()
-
(
rc2kCpuEthernetPortMask) - $rapidcity->rc_cpu_auto()
-
(
rc2kCpuEthernetPortAutoNegotiate) - $rapidcity->rc_cpu_duplex_admin()
-
(
rc2kCpuEthernetPortAdminDuplex) - $rapidcity->rc_cpu_duplex()
-
(
rc2kCpuEthernetPortOperDuplex) - $rapidcity->rc_cpu_speed_admin()
-
(
rc2kCpuEthernetPortAdminSpeed) - $rapidcity->rc_cpu_speed_oper()
-
(
rc2kCpuEthernetPortOperSpeed) - $rapidcity->rc_cpu_mac()
-
(
rc2kCpuEthernetPortMgmtMacAddr)
RAPID-CITY VLAN Port Table (rcVlanPortTable)
RAPID-CITY Card Table (rcCardTable)
- $rapidcity->rc_c_type()
-
(
rcCardType) - $rapidcity->rc_c_serial()
-
(
rcCardSerialNumber) - $rapidcity->rc_c_rev()
-
(
rcCardHardwareRevision) - $rapidcity->rc_c_part()
-
(
rcCardPartNumber)
RAPID-CITY 2k Card Table (rc2kCardTable)
- $rapidcity->rc2k_c_btype()
-
(
rc2kCardBackType) - $rapidcity->rc2k_c_bdesc()
-
(
rc2kCardBackDescription) - $rapidcity->rc2k_c_bserial()
-
(
rc2kCardBackSerialNum) - $rapidcity->rc2k_c_brev()
-
(
rc2kCardBackHwVersion) - $rapidcity->rc2k_c_bpart()
-
(
rc2kCardBackPartNumber) - $rapidcity->rc2k_c_bdate()
-
(
rc2kCardBackDateCode) - $rapidcity->rc2k_c_bdev()
-
(
rc2kCardBackDeviations)
RAPID-CITY MDA Card Table (rc2kMdaCardTable)
- $rapidcity->rc2k_mda_type()
-
(
rc2kMdaCardType) - $rapidcity->rc2k_mda_desc()
-
(
rc2kMdaCardDescription) - $rapidcity->rc2k_mda_serial()
-
(
rc2kMdaCardSerialNum) - $rapidcity->rc2k_mda_rev()
-
(
rc2kMdaCardHwVersion) - $rapidcity->rc2k_mda_part()
-
(
rc2kMdaCardPartNumber) - $rapidcity->rc2k_mda_date()
-
(
rc2kMdaCardDateCode) - $rapidcity->rc2k_mda_dev()
-
(
rc2kMdaCardDeviations)
RAPID-CITY Bridge SPBM MAC Table (rcBridgeSpbmMacTable)
- $rapidcity->rc_spbm_fw_mac()
-
Returns reference to hash of forwarding table MAC Addresses
(
rcBridgeSpbmMacAddr) - $rapidcity->rc_spbm_fw_port()
-
Returns reference to hash of forwarding table entries port interface identifier (iid)
(
rcBridgeSpbmMacCPort) - $rapidcity->rc_spbm_fw_status()
-
Returns reference to hash of forwarding table entries status
(
rcBridgeSpbmMacStatus) - $rapidcity->rc_spbm_fw_vlan()
-
Returns reference to hash of forwarding table entries Customer VLAN ID
(
rcBridgeSpbmMacCVlanId) - $rapidcity->rc_spbm_fw_isid()
-
Returns reference to hash of forwarding table entries ISID
(
rcBridgeSpbmMacIsid)