SNMP::Info::CiscoPortSecurity - SNMP Interface to data from CISCO-PORT-SECURITY-MIB, CISCO-PAE-MIB and CISCO-ERR-DISABLE-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, CISCO-PAE-MIB and CISCO-ERR-DISABLE-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
CISCO-PORT-SECURITY-MIB::cpsIfVlanSecureMacAddrTable
(cpsIfVlanSecureMacAddrRowStatus)
cpsIfVlanSecureMacAddrRowStatus
(cpsIfVlanSecureMacAddrRemainAge)
cpsIfVlanSecureMacAddrRemainAge
(cpsIfVlanSecureMacAddrType)
cpsIfVlanSecureMacAddrType
CISCO-PORT-SECURITY-MIB::cpsSecureMacAddressTable
(cpsSecureMacAddrRowStatus)
cpsSecureMacAddrRowStatus
(cpsSecureMacAddrRemainingAge)
cpsSecureMacAddrRemainingAge
(cpsSecureMacAddrType)
cpsSecureMacAddrType
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.
CISCO-ERR-DISABLE-MIB::cErrDisableIfStatusEntry
cErrDisableIfStatusCause
Indicates the feature/event that caused the {interface, vlan} (or the entire interface) to be error-disabled.
i_err_disable_cause
Returns a HASH reference mapping ifIndex to err-disabled cause. The returned data is sparse, so if the ifIndex is not present in the return value, the port is not err-disabled.
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.