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 OID | Name | Module |
|---|---|---|
| 1 | iso | LANART-AGENT |
| 1.3 | org | AirPair-MIB |
| 1.3.6 | dod | AirPair-MIB |
| 1.3.6.1 | internet | AirPair-MIB |
| 1.3.6.1.4 | private | AirPair-MIB |
| 1.3.6.1.4.1 | enterprises | AirPair-MIB |
| 1.3.6.1.4.1.9 | cisco | CAT2600-MIB |
| 1.3.6.1.4.1.9.9 | ciscoMgmt | CISCO-SMI |
| Numeric OID | Name | Module |
|---|---|---|
| 1.3.6.1.4.1.9.9.315 | ciscoPortSecurityMIB | CISCO-PORT-SECURITY-MIB |
| 1.3.6.1.4.1.9.9.315.0 | ciscoPortSecurityMIBNotifs | CISCO-PORT-SECURITY-MIB |
| 1.3.6.1.4.1.9.9.315.0.0 | cpsInterfaceNotifs | CISCO-PORT-SECURITY-MIB |
| 1.3.6.1.4.1.9.9.315.0.0.1 | cpsSecureMacAddrViolation | CISCO-PORT-SECURITY-MIB |