CISCO-PORT-SECURITY-MIB
The CISCO-PORT-SECURITY-MIB enables monitoring and configuration of Cisco switch port security features, specifically tracking secure MAC address counts, violation counters, and the operational status of sticky, static, and dynamic secure address bindings.
Imported Objects
Objects
40 total| Object Name |
|---|
ciscoPortSecurityMIB OBJECT IDENTIFIER .1.3.6.1.4.1.9.9.315 |
RFC1155-SMI Unknown .1.3.6.1.4.1.9.9.315 |
ciscoPortSecurityMIBNotifs OBJECT IDENTIFIER .1.3.6.1.4.1.9.9.315.0 |
cpsInterfaceNotifs OBJECT IDENTIFIER .1.3.6.1.4.1.9.9.315.0.0 |
cpsSecureMacAddrViolation TRAP-TYPE .1.3.6.1.4.1.9.9.315.0.0.1 |
ciscoPortSecurityMIBObjects OBJECT IDENTIFIER .1.3.6.1.4.1.9.9.315.1 |
cpsGlobalObjects OBJECT IDENTIFIER .1.3.6.1.4.1.9.9.315.1.1 |
cpsGlobalMaxSecureAddressro INTEGER .1.3.6.1.4.1.9.9.315.1.1.1 |
cpsGlobalTotalSecureAddressro INTEGER .1.3.6.1.4.1.9.9.315.1.1.2 |
cpsGlobalPortSecurityEnablerw TruthValue -- Rsyntax INTEGER { -- true(1), -- false(2) -- } .1.3.6.1.4.1.9.9.315.1.1.3 |
cpsGlobalSNMPNotifRaterw INTEGER .1.3.6.1.4.1.9.9.315.1.1.4 |
cpsGlobalSNMPNotifControlrw TruthValue -- Rsyntax INTEGER { -- true(1), -- false(2) -- } .1.3.6.1.4.1.9.9.315.1.1.5 |
cpsInterfaceObjects OBJECT IDENTIFIER .1.3.6.1.4.1.9.9.315.1.2 |
cpsIfConfigTable SEQUENCE OF CpsIfConfigEntry .1.3.6.1.4.1.9.9.315.1.2.1 |
cpsIfConfigEntry CpsIfConfigEntry .1.3.6.1.4.1.9.9.315.1.2.1.1 |
cpsIfPortSecurityEnablerw TruthValue -- Rsyntax INTEGER { -- true(1), -- false(2) -- } .1.3.6.1.4.1.9.9.315.1.2.1.1.1 |
cpsIfPortSecurityStatusro Enumeration .1.3.6.1.4.1.9.9.315.1.2.1.1.2 |
cpsIfMaxSecureMacAddrrw INTEGER .1.3.6.1.4.1.9.9.315.1.2.1.1.3 |
cpsIfCurrentSecureMacAddrCountro INTEGER .1.3.6.1.4.1.9.9.315.1.2.1.1.4 |
cpsIfSecureMacAddrAgingTimerw INTEGER .1.3.6.1.4.1.9.9.315.1.2.1.1.5 |
cpsIfSecureMacAddrAgingTyperw Enumeration .1.3.6.1.4.1.9.9.315.1.2.1.1.6 |
cpsIfStaticMacAddrAgingEnablerw TruthValue -- Rsyntax INTEGER { -- true(1), -- false(2) -- } .1.3.6.1.4.1.9.9.315.1.2.1.1.7 |
cpsIfViolationActionrw Enumeration .1.3.6.1.4.1.9.9.315.1.2.1.1.8 |
cpsIfViolationCountro Counter .1.3.6.1.4.1.9.9.315.1.2.1.1.9 |
cpsIfSecureLastMacAddressro MacAddress -- Rsyntax OCTET STRING .1.3.6.1.4.1.9.9.315.1.2.1.1.10 |
cpsIfClearSecureAddressesrw TruthValue -- Rsyntax INTEGER { -- true(1), -- false(2) -- } .1.3.6.1.4.1.9.9.315.1.2.1.1.11 |
cpsSecureMacAddressTable SEQUENCE OF CpsSecureMacAddressEntry .1.3.6.1.4.1.9.9.315.1.2.2 |
cpsSecureMacAddressEntry CpsSecureMacAddressEntry .1.3.6.1.4.1.9.9.315.1.2.2.1 |
cpsSecureMacAddress MacAddress -- Rsyntax OCTET STRING .1.3.6.1.4.1.9.9.315.1.2.2.1.1 |
cpsSecureMacAddrTypero Enumeration .1.3.6.1.4.1.9.9.315.1.2.2.1.2 |
cpsSecureMacAddrRemainingAgero INTEGER .1.3.6.1.4.1.9.9.315.1.2.2.1.3 |
cpsSecureMacAddrRowStatusrw RowStatus -- Rsyntax INTEGER { -- active(1), -- notInService(2), -- notReady(3), -- createAndGo(4), -- createAndWait(5), -- destroy(6) -- } .1.3.6.1.4.1.9.9.315.1.2.2.1.4 |
ciscoPortSecurityMIBConform OBJECT IDENTIFIER .1.3.6.1.4.1.9.9.315.2 |
ciscoPortSecurityMIBCompliances OBJECT IDENTIFIER .1.3.6.1.4.1.9.9.315.2.1 |
ciscoPortSecurityMIBCompliance OBJECT IDENTIFIER .1.3.6.1.4.1.9.9.315.2.1.1 |
ciscoPortSecurityMIBGroups OBJECT IDENTIFIER .1.3.6.1.4.1.9.9.315.2.2 |
cpsGlobalGroup OBJECT IDENTIFIER .1.3.6.1.4.1.9.9.315.2.2.1 |
cpsInterfaceGroup OBJECT IDENTIFIER .1.3.6.1.4.1.9.9.315.2.2.2 |
cpsExtInterfaceGroup OBJECT IDENTIFIER .1.3.6.1.4.1.9.9.315.2.2.3 |
cpsNotificationGroup OBJECT IDENTIFIER .1.3.6.1.4.1.9.9.315.2.2.4 |
CISCO-PORT-SECURITY-MIB Technical Reference Overview
The CISCO-PORT-SECURITY-MIB SNMP MIB module published by Cisco defines 40 managed OID objects, including 21 scalar/column metrics, 2 SNMP tables, and 1 trap/notification events. Key tabular structures include cpsIfConfigTable, cpsSecureMacAddressTable. Monitored SNMP traps/notifications include cpsSecureMacAddrViolation.
Key OID Definitions in CISCO-PORT-SECURITY-MIB
.1.3.6.1.4.1.9.9.315.1.2.1A list of port security configuration entries. The number of entries is determined by the number of interfaces in the system that can support the port security feature. Interfaces that are not port security capable will not be displayed in this Table. This table includes interfaces on which port security parameters can be set even if port security feature itself cannot be enabled due to conflict with other features.
.1.3.6.1.4.1.9.9.315.1.2.2A list of port security entries containing the secure MAC address information.
.1.3.6.1.4.1.9.9.315.0.0.1The address violation notification is generated when port security address violation is detected on a secure interface and the cpsIfViolationAction is set to 'dropNotify'.
.1.3.6.1.4.1.9.9.315.1.1.1The maximum number of secure MAC addresses allowed in the device.
.1.3.6.1.4.1.9.9.315.1.1.2The total number of MAC addresses secured in the device.
.1.3.6.1.4.1.9.9.315.1.1.3The global control to enable or disable port security feature on the device.
.1.3.6.1.4.1.9.9.315.1.1.4The global control to set the SNMP Notification rate for port security feature. This object specifies the rate at which SNMP Notifications are generated when cpsIfViolationAction selected is of the type 'dropNotify'. A value of 0 indicates that an SNMP Notification is generated for every security violation.
.1.3.6.1.4.1.9.9.315.1.1.5Set to 'true' to enable global SNMP Notification for port security feature. Setting the object to 'false' will disable SNMP notifications even if the cpsIfViolationAction is set to 'dropNotify' on an interface. The default value is 'false'.
.1.3.6.1.4.1.9.9.315.1.2.1.1Entry containing port security information for a particular interface.
.1.3.6.1.4.1.9.9.315.1.2.1.1.1Indicates whether the port security feature is enabled on an interface. Upon setting this object to 'true', the source MAC address that does not match any cpsSecureMacAddress for the given interface in cpsSecureMacAddressTable and the value of cpsIfCurrentSecureMacAddrCount is equal to cpsIfMaxSecureMacAddr, is considered as port security violation and an action as specified in cpsIfViolationAction is taken on the interface. The value of this object has no effect when the value of cpsGlobalPortSecurityEnable is set to 'false'.
.1.3.6.1.4.1.9.9.315.1.2.1.1.2This object represents the operational status of the port security feature on an interface. secureup(1) - This indicates port security is operational. securedown(2) - This indicates port security is not operational. This happens when port security is configured to be enabled but could not be enabled due to certain reasons such as conflict with other features. shutdown(3) - This indicates that the port is shutdown due to port security violation when the object cpsIfViolationAction is of type 'shutdown'.
.1.3.6.1.4.1.9.9.315.1.2.1.1.3The maximum number (N) of MAC addresses to be secured on the interface. The first N MAC addresses learned or configured are made secured. Changing this object value from N to M is not allowed if M is smaller than N, and M is less than the value of cpsIfCurrentSecureMacAddrCount on the interface. One way to change the number in this case is by deleting sufficient number of secure mac addresses configured or learned on the device. Also, sum of this object value for all the interfaces is less than or equal to cpsGlobalMaxSecureAddress.
.1.3.6.1.4.1.9.9.315.1.2.1.1.4The current number of MAC addresses secured on this interface.
.1.3.6.1.4.1.9.9.315.1.2.1.1.5The interval in which the interface is secured. After the expiration of the time, the corresponding cpsSecureMacAddressEntry from the cpsSecureMacAddressTable will be removed. If the value of this object is 0, the aging mechanism is disabled.
.1.3.6.1.4.1.9.9.315.1.2.1.1.6The aging type determines the way the secure MAC addresses are aged out. absolute(1) - all the secure MAC addresses will be aged out after cpsIfSecureMacAddrAgingTime minutes since the time the secure MAC address is learned or configured. inactivity(2) - all the secure MAC addresses will age out and will be removed from the cpsSecureMacAddressTable only if there is no data traffic from the secure source MAC address for the specified time period.
.1.3.6.1.4.1.9.9.315.1.2.1.1.7Indicates whether the secure MAC address aging mechanism is enabled on static MAC address entries in cpsSecureMacAddressTable. Setting this object value to 'false' will cause the static MAC addresses to remain in the cpsSecureMacAddressTable regardless of the aging time and type configured on the interface. Setting this object value to 'true' will cause the static MAC addresses to be aged out from cpsSecureMacAddressTable according to the aging time and type specified on the interface.
.1.3.6.1.4.1.9.9.315.1.2.1.1.8Determines the action that the device will take if the traffic matches the port security violation. shutdown(1) - the interface will be forced to shut down. dropNotify(2) - the matched traffic will be dropped and cpsSecureMacAddrViolation notification will be generated. drop(3) - the matched traffic will be dropped.
.1.3.6.1.4.1.9.9.315.1.2.1.1.9This object indicates the number of violations occurred on a secure interface. The counter will be initialized to zero when the port security feature is enabled on an interface. This MIB object is only instantiated if the device can provide this violation statistics on the interface.
.1.3.6.1.4.1.9.9.315.1.2.1.1.10This object indicates the last secure MAC address that is learned or configured on this interface.
.1.3.6.1.4.1.9.9.315.1.2.1.1.11Set to true(1) to delete all secure addresses on this interface. Setting this object to false(2) has no effect. This object always returns false(2) when read.
.1.3.6.1.4.1.9.9.315.1.2.2.1Entry containing secure MAC address information for a particular interface. A secure MAC address can be configured by the user and can be added by the agent when the device learns a new secured MAC address. Note that the secure MAC addresses can be configured on an interface even if port security feature is disabled.
.1.3.6.1.4.1.9.9.315.1.2.2.1.1This object indicates a secure MAC address configured or learned on an interface.
.1.3.6.1.4.1.9.9.315.1.2.2.1.2This object indicates if the secure MAC address is a configured (static) or learned (dynamic) address on this interface.
.1.3.6.1.4.1.9.9.315.1.2.2.1.3This object indicates the remaining age of the secure MAC address if aging is enabled on that port. A value of 0 indicates that aging is disabled for this MAC address entry.
More MIBs from Cisco
Browse all CiscoMIBs →The CISCO-UNIFIED-COMPUTING-COMPUTE-MIB provides SNMP-based monitoring and management of Cisco UCS compute blades, servers, and chassis components, exposing critical metrics such as CPU utilization, memory usage, thermal sensor readings, power supply status, and interface operational states. This module enables granular visibility into the health and performance of the Cisco Unified Computing System's compute subsystems for capacity planning and fault isolation.
The CISCO-UNIFIED-COMPUTING-STORAGE-MIB facilitates SNMP-based monitoring and management of storage subsystems, including Fibre Channel and iSCSI interfaces, within the Cisco Unified Computing System (UCS) fabric interconnects and blade servers. It exposes critical operational metrics such as port status, error counters, throughput statistics, and storage controller health states to enable granular visibility into the storage infrastructure.
The CISCO-UNIFIED-COMPUTING-VNIC-MIB enables SNMP-based monitoring and management of Virtual Network Interface Card (vNIC) attributes, including operational status, traffic counters, and binding configurations, within the Cisco Unified Computing System (UCS) fabric interconnects and server blades.
SNMP MIB module
The CISCO-UNIFIED-COMPUTING-BIOS-MIB enables SNMP-based monitoring and configuration of BIOS-level parameters, firmware versions, and hardware initialization states within Cisco Unified Computing System (UCS) servers. It provides visibility into critical server boot diagnostics, BIOS settings, and hardware readiness indicators to facilitate low-level infrastructure management and troubleshooting.
The CISCO-UNIFIED-COMPUTING-ETHER-MIB provides SNMP management interfaces for monitoring Ethernet interface statistics, link states, and error counters on Cisco Unified Computing System (UCS) fabric interconnects and blade server line cards. This module enables the tracking of physical layer connectivity, port throughput, and packet error rates within the UCS Ethernet switching infrastructure.