CISCO-PORT-SECURITY-MIB

MIB Reference — IPNetwork Monitor · Updated October 05, 2026

All MIBs › CISCO-PORT-SECURITY-MIB

Organization: Cisco Systems, Inc.

Last Updated: 2009-05-08

Category: Cisco Devices, Device Management, VPN and Security

Description: Manages port security configuration limiting MAC addresses and detecting violations on Cisco switch ports.

IPNetwork Monitor uses several OIDs from this MIB in network discovery and polling the applicable devices. Start monitoring CISCO-PORT-SECURITY-MIB with a free 30-day trial of IPNetwork Monitor.

What Is CISCO-PORT-SECURITY-MIB?

CISCO-PORT-SECURITY-MIB is a Cisco enterprise MIB for managing Port Security, a Layer 2 access-control feature that restricts the number and identity of MAC addresses allowed on a switch port to prevent unauthorized devices or MAC flooding attacks. It exposes global settings such as maximum secure addresses and notification rate, plus a per-interface table tracking enable state, port security operational status, configured maximum secure MAC count, and current secure MAC address count. Its monitoring value is in access-control and security-fault status: administrators track per-port violation status and current-versus-maximum MAC counts to detect security violations, unauthorized device attachment attempts, or ports nearing their MAC address ceiling. It relies on the standard Cisco enterprise interface-indexing conventions (ifIndex-based tables) common across Cisco switching MIBs. It is deployed on Cisco Catalyst and similar switches in enterprise networks enforcing physical port-level access control. Engineers can download the CISCO-PORT-SECURITY-MIB file directly to load it into their MIB browser.

IPNetwork Monitor allows you to monitor SNMP objects defined in CISCO-PORT-SECURITY-MIB. Use the built-in SNMP Monitoring Browser to explore available variables, view their current values and descriptions, and select the objects you want to monitor. You can then create SNMP monitors, configure thresholds, and receive alerts when monitored values change.

Supported Devices

  • Cisco Catalyst switch
  • Cisco managed switch (Layer 2)

Monitoring Examples

An administrator would walk cpsIfConfigTable/cpsIfConfigEntry to compare cpsIfCurrentSecureMacAddrCount against cpsIfMaxSecureMacAddr per port, flagging ports at or near their limit. Checking cpsIfPortSecurityStatus alongside cpsGlobalTotalSecureAddress would reveal whether a specific port has entered a security-violation shutdown state while the global secure-address count stays within cpsGlobalMaxSecureAddress. A port showing cpsIfPortSecurityStatus as violated, with cpsIfCurrentSecureMacAddrCount exceeding its configured maximum, would indicate an unauthorized device or MAC-flood attempt on that port.

What Can Be Monitored

  • per-port security violation status
  • current vs. maximum secure MAC address count
  • port security enable state
  • global secure address totals
  • SNMP notification rate for violations
Imported Objects

From CISCO-SMI

ciscoMgmtOBJECT-IDENTITY

From CISCO-VTP-MIB

vtpVlanNameOBJECT-TYPE

From IF-MIB

ifIndexOBJECT-TYPE
ifNameOBJECT-TYPE

From Q-BRIDGE-MIB

VlanIndex

From SNMPv2-CONF

MODULE-COMPLIANCE
NOTIFICATION-GROUP
OBJECT-GROUP

From SNMPv2-SMI

Counter32
Integer32
MODULE-IDENTITY
NOTIFICATION-TYPE
OBJECT-TYPE
Unsigned32

From SNMPv2-TC

MacAddress
RowStatus
TEXTUAL-CONVENTION
TruthValue

How to Use in IPNetwork Monitor

Example using cpsIfViolationCount OID:

Select a Cisco Catalyst switch (Layer 2 port security) as the target host to create a monitor — the SNMP service should be up and running on it. Click New Monitor, then check SNMP Custom on the Favorites tab, click Next, and confirm the host. On the next page, click Select... to open the built-in SNMP MIB Browser and type cpsIfViolationCount into the Find box to locate it in the OID tree, selecting the specific row/instance you want to monitor since this is a table column, then select it and click OK. This object indicates the number of violations occurred on a secure interface. On the monitor's Main parameters page you can set the target's SNMP port (default 161), credentials, polling interval, and other settings — see the SNMP Monitor help for details. On the State conditions and Alerting tabs, configure when the monitor should change state and trigger an alert; since this is a Counter32-type OID, Value bounds is the most useful condition here — trigger an alert if the counter increases between polls, since a rising count of errors, failures, or discards often points to a real underlying problem. Click Finish to create the monitor; you can adjust any parameter later.
OIDs

RFC description

Manages MAC address-based port security, violations, and sticky address configuration on Cisco switches.

Start monitoring Cisco Catalyst switch (Layer 2 port security) with a free 30-day trial of IPNetwork Monitor. Import MIBs, browse SNMP OIDs, create custom SNMP monitors, configure alerts, and monitor any SNMP-enabled network device from a single console.

Download CISCO-PORT-SECURITY-MIB