All MIBs › EdgeSwitch-PORTSECURITY-PRIVATE-MIB › agentPortSecurityViolation
agentPortSecurityViolation
Module: EdgeSwitch-PORTSECURITY-PRIVATE-MIB
OID (symbolic): EdgeSwitch-PORTSECURITY-PRIVATE-MIB::agentPortSecurityViolation
OID (numeric): 1.3.6.1.4.1.4413.1.1.20.2.1
Node type: NOTIFICATION-TYPE
Description: Sent when a packet is received on a locked port with a source MAC address that is not allowed.
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> '' EdgeSwitch-PORTSECURITY-PRIVATE-MIB::agentPortSecurityViolation snmptrap -v2c -c public <manager> '' 1.3.6.1.4.1.4413.1.1.20.2.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]:57850->[192.168.30.10]:162]: DISMAN-EVENT-MIB::sysUpTimeInstance = Timeticks: (33644026) 3 days, 21:27:20.26 SNMPv2-MIB::snmpTrapOID.0 = OID: EdgeSwitch-PORTSECURITY-PRIVATE-MIB::agentPortSecurityViolation
Start monitoring Ubiquiti EdgeSwitch managed switch (port security/MAC locking) with a free 30-day trial of IPNetwork Monitor. Create custom SNMP monitor using the EdgeSwitch-PORTSECURITY-PRIVATE-MIB::agentPortSecurityViolation OID value, configure state conditions and alerts, and monitor any Ubiquiti EdgeSwitch managed switch (port security/MAC locking) from a single console.
OID Breakdown
Upper-level ancestors (9 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.4413 | broadcom | BASP-Config-MIB |
| 1.3.6.1.4.1.4413.1 | enet | BASP-Config-MIB |
| 1.3.6.1.4.1.4413.1.1 | fastPath | EdgeSwitch-REF-MIB |
| Numeric OID | Name | Module |
|---|---|---|
| 1.3.6.1.4.1.4413.1.1.20 | fastPathPortSecurity | EdgeSwitch-PORTSECURITY-PRIVATE-MIB |
| 1.3.6.1.4.1.4413.1.1.20.2 | agentPortSecurityTraps | EdgeSwitch-PORTSECURITY-PRIVATE-MIB |
| 1.3.6.1.4.1.4413.1.1.20.2.1 | agentPortSecurityViolation | EdgeSwitch-PORTSECURITY-PRIVATE-MIB |