CISCO-PORT-SECURITY-MIB :: cpsTrunkSecureMacAddrViolation

MIB Reference — IPNetwork Monitor · Updated October 05, 2026

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

cpsTrunkSecureMacAddrViolation

Module: CISCO-PORT-SECURITY-MIB

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

OID (numeric): 1.3.6.1.4.1.9.9.315.0.0.2

Node type: NOTIFICATION-TYPE

Description: The address violation notification is generated when port security address violation is detected on a secure trunk or a multi-vlan interface 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::cpsTrunkSecureMacAddrViolation
snmptrap -v2c -c public <manager> '' 1.3.6.1.4.1.9.9.315.0.0.2

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]:55224->[192.168.30.10]:162]:
  DISMAN-EVENT-MIB::sysUpTimeInstance = Timeticks: (147912632) 17 days, 2:52:06.32
  SNMPv2-MIB::snmpTrapOID.0 = OID: CISCO-PORT-SECURITY-MIB::cpsTrunkSecureMacAddrViolation

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::cpsTrunkSecureMacAddrViolation 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.2cpsTrunkSecureMacAddrViolationCISCO-PORT-SECURITY-MIB