SNMP::Info::Layer2::RapidCity - SNMP Interface to the Nortel RapidCity MIB
Eric Miller
# 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";
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).
RAPID-CITY
Use or create in a subclass of SNMP::Info. Do not use directly.
None.
These are methods that return scalar values from SNMP
(rc2kChassisBaseMacAddr)
(rcChasSerialNumber)
(rcChasHardwareRevision)
(rcChasType)
(rcChasNumSlots)
(rcSysVirtualIpAddr)
(rcTftpHost)
(rcTftpFile)
(rcTftpAction)
(rcTftpResult)
These are methods that return tables of information in the form of a reference to a hash.
Returns reference to map of IIDs to current link duplex.
Returns reference to hash of IIDs to admin duplex setting.
Returns a mapping between ifIndex and the VLAN.
(rcPortIndex)
(rcPortOperDuplex)
(rcPortAdminDuplex)
(rcPortAdminSpeed)
(rcPortAutoNegotiate)
(rcPortName)
(rc2kCpuEthernetPortIfIndex)
(rc2kCpuEthernetPortAdminStatus)
(rc2kCpuEthernetPortOperStatus)
(rc2kCpuEthernetPortAddr)
(rc2kCpuEthernetPortAutoNegotiate)
(rc2kCpuEthernetPortAdminDuplex)
(rc2kCpuEthernetPortOperDuplex)
(rc2kCpuEthernetPortAdminSpeed)
(rc2kCpuEthernetPortOperSpeed)
(rc2kCpuEthernetPortMgmtMacAddr)
(rcVlanPortIndex)
(rcVlanPortNumVlanIds)
(rcVlanPortVlanIds)
(rcVlanPortType)
(rcVlanPortDefaultVlanId)
(rcVlanPortPerformTagging)
(rcVlanId)
(rcVlanName)
(rcVlanColor)
(rcVlanIfIndex)
(rcVlanStgId)
(rcVlanType)
(rcVlanPortMembers)
(rcVlanMacAddress)
(rcIpAdEntIfIndex)
(rcIpAdEntAddr)
(rcIpAdEntIfType)
(rcChasFanOperStatus)
(rcChasPowerSupplyOperStatus)
(rcChasPowerSupplyDetailType)
(rcChasPowerSupplyDetailSerialNumber)
(rcChasPowerSupplyDetailHardwareRevision)
(rcChasPowerSupplyDetailPartNumber)
(rcChasPowerSupplyDetailDescription)
(rcCardType)
(rcCardSerialNumber)
(rcCardHardwareRevision)
(rcCardPartNumber)
(rc2kCardFrontType)
(rc2kCardFrontDescription)
(rc2kCardFrontSerialNum)
(rc2kCardFrontHwVersion)
(rc2kCardFrontPartNumber)
(rc2kCardFrontDateCode)
(rc2kCardFrontDeviations)
(rc2kCardBackType)
(rc2kCardBackDescription)
(rc2kCardBackSerialNum)
(rc2kCardBackHwVersion)
(rc2kCardBackPartNumber)
(rc2kCardBackDateCode)
(rc2kCardBackDeviations)
(rc2kMdaCardType)
(rc2kMdaCardDescription)
(rc2kMdaCardSerialNum)
(rc2kMdaCardHwVersion)
(rc2kMdaCardPartNumber)
(rc2kMdaCardDateCode)
(rc2kMdaCardDeviations)
1 POD Error
The following errors were encountered while parsing the POD:
=over without closing =back
To install SNMP::Info, copy and paste the appropriate command in to your terminal.
cpanm
cpanm SNMP::Info
CPAN shell
perl -MCPAN -e shell install SNMP::Info
For more information on module installation, please visit the detailed CPAN module installation guide.