SNMP::Info::CiscoPortSecurity - SNMP Interface to data from CISCO-PORT-SECURITY-MIB and CISCO-PAE-MIB
Eric Miller
# Let SNMP::Info determine the correct subclass for you. my $cps = new SNMP::Info( AutoSpecify => 1, Debug => 1, DestHost => 'myswitch', Community => 'public', Version => 2 ) or die "Can't connect to DestHost.\n"; my $class = $cps->class(); print "SNMP::Info determined this device to fall under subclass : $class\n";
SNMP::Info::CiscoPortSecurity is a subclass of SNMP::Info that provides an interface to the CISCO-PORT-SECURITY-MIB and CISCO-PAE-MIB. These MIBs are used across the Catalyst family under CatOS and IOS.
Use or create in a subclass of SNMP::Info. Do not use directly.
None.
These are methods that return scalar values from SNMP
(cpsGlobalClearSecureMacAddresses)
cpsGlobalClearSecureMacAddresses
(cpsGlobalSNMPNotifControl)
cpsGlobalSNMPNotifControl
(cpsGlobalSNMPNotifRate)
cpsGlobalSNMPNotifRate
(cpsGlobalPortSecurityEnable)
cpsGlobalPortSecurityEnable
(cpsGlobalTotalSecureAddress)
cpsGlobalTotalSecureAddress
(cpsGlobalMaxSecureAddress)
cpsGlobalMaxSecureAddress
CISCO-PORT-SECURITY-MIB
(cpsIfInvalidSrcRateLimitValue)
cpsIfInvalidSrcRateLimitValue
(cpsIfInvalidSrcRateLimitEnable)
cpsIfInvalidSrcRateLimitEnable
(cpsIfStickyEnable)
cpsIfStickyEnable
(cpsIfClearSecureMacAddresses)
cpsIfClearSecureMacAddresses
(cpsIfShutdownTimeout)
cpsIfShutdownTimeout
(cpsIfUnicastFloodingEnable)
cpsIfUnicastFloodingEnable
(cpsIfClearSecureAddresses)
cpsIfClearSecureAddresses
(cpsIfSecureLastMacAddress)
cpsIfSecureLastMacAddress
(cpsIfViolationCount)
cpsIfViolationCount
(cpsIfViolationAction)
cpsIfViolationAction
(cpsIfStaticMacAddrAgingEnable)
cpsIfStaticMacAddrAgingEnable
(cpsIfSecureMacAddrAgingType)
cpsIfSecureMacAddrAgingType
(cpsIfSecureMacAddrAgingTime)
cpsIfSecureMacAddrAgingTime
(cpsIfCurrentSecureMacAddrCount)
cpsIfCurrentSecureMacAddrCount
(cpsIfMaxSecureMacAddr)
cpsIfMaxSecureMacAddr
(cpsIfPortSecurityStatus)
cpsIfPortSecurityStatus
(cpsIfPortSecurityEnable)
cpsIfPortSecurityEnable
CISCO-PORT-SECURITY-MIB::cpsIfVlanTable
(cpsIfVlanCurSecureMacAddrCount)
cpsIfVlanCurSecureMacAddrCount
(cpsIfVlanMaxSecureMacAddr)
cpsIfVlanMaxSecureMacAddr
(cpsIfVlanIndex)
cpsIfVlanIndex
CISCO-PORT-SECURITY-MIB::cpsIfVlanSecureMacAddrTable
(cpsIfVlanSecureMacAddrRowStatus)
cpsIfVlanSecureMacAddrRowStatus
(cpsIfVlanSecureMacAddrRemainAge)
cpsIfVlanSecureMacAddrRemainAge
(cpsIfVlanSecureMacAddrType)
cpsIfVlanSecureMacAddrType
(cpsIfVlanSecureVlanIndex)
cpsIfVlanSecureVlanIndex
(cpsIfVlanSecureMacAddress)
cpsIfVlanSecureMacAddress
CISCO-PORT-SECURITY-MIB::cpsSecureMacAddressTable
(cpsSecureMacAddrRowStatus)
cpsSecureMacAddrRowStatus
(cpsSecureMacAddrRemainingAge)
cpsSecureMacAddrRemainingAge
(cpsSecureMacAddrType)
cpsSecureMacAddrType
(cpsSecureMacAddress)
cpsSecureMacAddress
IEEE8021-PAE-MIB::dot1xPaePortEntry
dot1xPaePortCapabilities
Indicates the PAE functionality that this Port supports and that may be managed through this MIB munged to return either 'dot1xPaePortAuthCapable' or 'dot1xPaePortSuppCapable'.
'dot1xPaePortAuthCapable'
'dot1xPaePortSuppCapable'
dot1xAuthLastEapolFrameSource
The source MAC address carried in the most recently received EAPOL frame.
Return either 'dot1xPaePortAuthCapable' or 'dot1xPaePortSuppCapable' based upon bit value.
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.