
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)
(cpsGlobalSNMPNotifControl)
(cpsGlobalSNMPNotifRate)
(cpsGlobalPortSecurityEnable)
(cpsGlobalTotalSecureAddress)
(cpsGlobalMaxSecureAddress)

CISCO-PORT-SECURITY-MIB - Interface Config Table(cpsIfInvalidSrcRateLimitValue)
(cpsIfInvalidSrcRateLimitEnable)
(cpsIfStickyEnable)
(cpsIfClearSecureMacAddresses)
(cpsIfShutdownTimeout)
(cpsIfUnicastFloodingEnable)
(cpsIfClearSecureAddresses)
(cpsIfSecureLastMacAddress)
(cpsIfViolationCount)
(cpsIfViolationAction)
(cpsIfStaticMacAddrAgingEnable)
(cpsIfSecureMacAddrAgingType)
(cpsIfSecureMacAddrAgingTime)
(cpsIfCurrentSecureMacAddrCount)
(cpsIfMaxSecureMacAddr)
(cpsIfPortSecurityStatus)
(cpsIfPortSecurityEnable)
CISCO-PORT-SECURITY-MIB::cpsIfVlanTable(cpsIfVlanCurSecureMacAddrCount)
(cpsIfVlanMaxSecureMacAddr)
(cpsIfVlanIndex)
CISCO-PORT-SECURITY-MIB::cpsIfVlanSecureMacAddrTable(cpsIfVlanSecureMacAddrRowStatus)
(cpsIfVlanSecureMacAddrRemainAge)
(cpsIfVlanSecureMacAddrType)
(cpsIfVlanSecureVlanIndex)
(cpsIfVlanSecureMacAddress)
CISCO-PORT-SECURITY-MIB::cpsSecureMacAddressTable(cpsSecureMacAddrRowStatus)
(cpsSecureMacAddrRemainingAge)
(cpsSecureMacAddrType)
(cpsSecureMacAddress)
IEEE8021-PAE-MIB::dot1xPaePortEntrydot1xPaePortCapabilities
Indicates the PAE functionality that this Port supports and that may be managed through this MIB munged to return either 'dot1xPaePortAuthCapable' or 'dot1xPaePortSuppCapable'.
dot1xAuthLastEapolFrameSource
The source MAC address carried in the most recently received EAPOL frame.

Return either 'dot1xPaePortAuthCapable' or 'dot1xPaePortSuppCapable' based upon bit value.