CISCO-PORT-SECURITY-MIB :: cpsSecureMacAddrViolation

MIB Reference — IPNetwork Monitor · Updated October 05, 2026

All MIBs › CISCO-PORT-SECURITY-MIB › cpsSecureMacAddrViolation

cpsSecureMacAddrViolation

Module: CISCO-PORT-SECURITY-MIB

OID (symbolic): CISCO-PORT-SECURITY-MIB::cpsSecureMacAddrViolation

OID (numeric): 1.3.6.1.4.1.9.9.315.0.0.1

Node type: NOTIFICATION-TYPE

Description: The address violation notification is generated when port security address violation is detected on a secure non-trunk, access interface (that carries a single vlan) and the cpsIfViolationAction is set to 'dropNotify'.

Examples

Send this trap to an SNMP manager — replace <manager> with the IP or hostname of your monitoring server (SNMPv2c):

snmptrap -v2c -c public <manager> '' CISCO-PORT-SECURITY-MIB::cpsSecureMacAddrViolation
snmptrap -v2c -c public <manager> '' 1.3.6.1.4.1.9.9.315.0.0.1

Listen for incoming traps on the manager host (-f keeps it in the foreground, -Lo prints to stdout — useful for testing):

snmptrapd -f -Lo -c /dev/null authCommunity log public

Example snmptrapd log entry:

zoo11-linux.zoo [UDP: [192.168.30.111]:50690->[192.168.30.10]:162]:
  DISMAN-EVENT-MIB::sysUpTimeInstance = Timeticks: (133073922) 15 days, 9:38:59.22
  SNMPv2-MIB::snmpTrapOID.0 = OID: CISCO-PORT-SECURITY-MIB::cpsSecureMacAddrViolation

Start monitoring Cisco Catalyst switch (Layer 2 port security) with a free 30-day trial of IPNetwork Monitor. Create custom SNMP monitor using the CISCO-PORT-SECURITY-MIB::cpsSecureMacAddrViolation OID value, configure state conditions and alerts, and monitor any Cisco Catalyst switch (Layer 2 port security) from a single console.

OID Breakdown

Upper-level ancestors (8 from the standard OID tree / other modules)
Numeric OIDNameModule
1isoLANART-AGENT
1.3orgAirPair-MIB
1.3.6dodAirPair-MIB
1.3.6.1internetAirPair-MIB
1.3.6.1.4privateAirPair-MIB
1.3.6.1.4.1enterprisesAirPair-MIB
1.3.6.1.4.1.9ciscoCAT2600-MIB
1.3.6.1.4.1.9.9ciscoMgmtCISCO-SMI
Numeric OIDNameModule
1.3.6.1.4.1.9.9.315ciscoPortSecurityMIBCISCO-PORT-SECURITY-MIB
1.3.6.1.4.1.9.9.315.0ciscoPortSecurityMIBNotifsCISCO-PORT-SECURITY-MIB
1.3.6.1.4.1.9.9.315.0.0cpsInterfaceNotifsCISCO-PORT-SECURITY-MIB
1.3.6.1.4.1.9.9.315.0.0.1cpsSecureMacAddrViolationCISCO-PORT-SECURITY-MIB