EdgeSwitch-PORTSECURITY-PRIVATE-MIB :: agentPortSecurityLastDiscardedMAC

MIB Reference — IPNetwork Monitor · Updated October 05, 2026

All MIBs › EdgeSwitch-PORTSECURITY-PRIVATE-MIB › agentPortSecurityLastDiscardedMAC

agentPortSecurityLastDiscardedMAC

Module: EdgeSwitch-PORTSECURITY-PRIVATE-MIB

OID (symbolic): EdgeSwitch-PORTSECURITY-PRIVATE-MIB::agentPortSecurityLastDiscardedMAC

OID (numeric): 1.3.6.1.4.1.4413.1.1.20.1.2.1.7

Node type: OBJECT-TYPE

Type: DisplayString

Access: read-only

Description: This variable displays the vlan-id and source MAC address of the last packet that was discarded on a locked port.

What is agentPortSecurityLastDiscardedMAC?

This value displays the VLAN ID and source MAC address of the most recent packet discarded due to a port security violation on this port. An admin checks this immediately after a violation trap fires to identify exactly which device and VLAN triggered the block, without digging through packet captures. For example, this object returning "5 aa:bb:cc:dd:ee:ff" tells the admin a device with that MAC tried to send traffic on VLAN 5 through a locked port and was dropped.

Examples

Walk all instances (SNMPv2c):

snmpwalk -v2c -c public <target> 1.3.6.1.4.1.4413.1.1.20.1.2.1.7
snmpwalk -v2c -c public <target> EdgeSwitch-PORTSECURITY-PRIVATE-MIB::agentPortSecurityLastDiscardedMAC

Get a specific instance (index 1):

snmpget -v2c -c public <target> 1.3.6.1.4.1.4413.1.1.20.1.2.1.7.1
snmpget -v2c -c public <target> EdgeSwitch-PORTSECURITY-PRIVATE-MIB::agentPortSecurityLastDiscardedMAC.1

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::agentPortSecurityLastDiscardedMAC 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 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.4413broadcomBASP-Config-MIB
1.3.6.1.4.1.4413.1enetBASP-Config-MIB
1.3.6.1.4.1.4413.1.1fastPathEdgeSwitch-REF-MIB
Numeric OIDNameModule
1.3.6.1.4.1.4413.1.1.20fastPathPortSecurityEdgeSwitch-PORTSECURITY-PRIVATE-MIB
1.3.6.1.4.1.4413.1.1.20.1agentPortSecurityGroupEdgeSwitch-PORTSECURITY-PRIVATE-MIB
1.3.6.1.4.1.4413.1.1.20.1.2agentPortSecurityTableEdgeSwitch-PORTSECURITY-PRIVATE-MIB
1.3.6.1.4.1.4413.1.1.20.1.2.1agentPortSecurityEntryEdgeSwitch-PORTSECURITY-PRIVATE-MIB
1.3.6.1.4.1.4413.1.1.20.1.2.1.7agentPortSecurityLastDiscardedMACEdgeSwitch-PORTSECURITY-PRIVATE-MIB