SNMP::Info::RapidCity.3pm

Langue: en

Version: 2006-06-30 (fedora - 05/07/09)

Section: 3 (Bibliothèques de fonctions)

NAME

SNMP::Info::Layer2::RapidCity - SNMP Interface to the Nortel RapidCity MIB

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 on 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::RapidCity is a subclass of SNMP::Info that provides an interface to the "RAPID-CITY" MIB. This MIB is used across the Nortel Ethernet Routing Switch and Ethernet Switch product lines (Formerly known as Passport, BayStack, and Acclear).

Use or create in a subclass of SNMP::Info. Do not use directly.

Inherited Classes

None.

Required MIBs

RAPID-CITY

GLOBAL METHODS

These are methods that return scalar values from SNMP
$rapidcity->chassis_base_mac()
(rc2kChassisBaseMacAddr)
$rapidcity->ch_serial()
(rcChasSerialNumber)
$rapidcity->rc_ch_rev()
(rcChasHardwareRevision)
$rapidcity->chassis()
(rcChasType)
$rapidcity->slots()
(rcChasNumSlots)
$rapidcity->rc_virt_ip()
(rcSysVirtualIpAddr)
$rapidcity->tftp_host()
(rcTftpHost)
$rapidcity->tftp_file()
(rcTftpFile)
$rapidcity->tftp_action()
(rcTftpAction)
$rapidcity->tftp_result()
(rcTftpResult)

TABLE METHODS

These are methods that return tables of information in the form of a reference to a hash.
$rapidcity->i_duplex()
Returns reference to map of IIDs to current link duplex.
$rapidcity->i_duplex_admin()
Returns reference to hash of IIDs to admin duplex setting.
$rapidcity->i_vlan()
Returns a mapping between ifIndex and the VLAN.

RAPID-CITY Port Table (rcPortTable)

$rapidcity->rc_index()
(rcPortIndex)
$rapidcity->rc_duplex()
(rcPortOperDuplex)
$rapidcity->rc_duplex_admin()
(rcPortAdminDuplex)
$rapidcity->rc_speed_admin()
(rcPortAdminSpeed)
$rapidcity->rc_auto()
(rcPortAutoNegotiate)
$rapidcity->rc_alias()
(rcPortName)

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_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)

$rapidcity->rc_i_vlan_if()
(rcVlanPortIndex)
$rapidcity->rc_i_vlan_num()
(rcVlanPortNumVlanIds)
$rapidcity->rc_i_vlan()
(rcVlanPortVlanIds)
$rapidcity->rc_i_vlan_type()
(rcVlanPortType)
$rapidcity->rc_i_vlan_pvid()
(rcVlanPortDefaultVlanId)
$rapidcity->rc_i_vlan_tag()
(rcVlanPortPerformTagging)

RAPID-CITY VLAN Table (rcVlanTable)

$rapidcity->rc_vlan_id()
(rcVlanId)
$rapidcity->rc_vlan_name()
(rcVlanName)
$rapidcity->rc_vlan_color()
(rcVlanColor)
$rapidcity->rc_vlan_if()
(rcVlanIfIndex)
$rapidcity->rc_vlan_stg()
(rcVlanStgId)
$rapidcity->rc_vlan_type()
(rcVlanType)
$rapidcity->rc_vlan_members()
(rcVlanPortMembers)
$rapidcity->rc_vlan_mac()
(rcVlanMacAddress)

RAPID-CITY IP Address Table (rcIpAddrTable)

$rapidcity->rc_ip_index()
(rcIpAdEntIfIndex)
$rapidcity->rc_ip_addr()
(rcIpAdEntAddr)
$rapidcity->rc_ip_type()
(rcIpAdEntIfType)

RAPID-CITY Chassis Fan Table (rcChasFanTable)

$rapidcity->rc_fan_op()
(rcChasFanOperStatus)

RAPID-CITY Power Supply Table (rcChasPowerSupplyTable)

$rapidcity->rc_ps_op()
(rcChasPowerSupplyOperStatus)

RAPID-CITY Power Supply Detail Table (rcChasPowerSupplyDetailTable)

$rapidcity->rc_ps_type()
(rcChasPowerSupplyDetailType)
$rapidcity->rc_ps_serial()
(rcChasPowerSupplyDetailSerialNumber)
$rapidcity->rc_ps_rev()
(rcChasPowerSupplyDetailHardwareRevision)
$rapidcity->rc_ps_part()
(rcChasPowerSupplyDetailPartNumber)
$rapidcity->rc_ps_detail()
(rcChasPowerSupplyDetailDescription)

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_ftype()
(rc2kCardFrontType)
$rapidcity->rc2k_c_fdesc()
(rc2kCardFrontDescription)
$rapidcity->rc2k_c_fserial()
(rc2kCardFrontSerialNum)
$rapidcity->rc2k_c_frev()
(rc2kCardFrontHwVersion)
$rapidcity->rc2k_c_fpart()
(rc2kCardFrontPartNumber)
$rapidcity->rc2k_c_fdate()
(rc2kCardFrontDateCode)
$rapidcity->rc2k_c_fdev()
(rc2kCardFrontDeviations)
$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)