All MIBs › HM2-PLATFORM-PORTSECURITY-MIB › hm2AgentPortSecurityLastDiscardedMAC
hm2AgentPortSecurityLastDiscardedMAC
Module: HM2-PLATFORM-PORTSECURITY-MIB
OID (symbolic): HM2-PLATFORM-PORTSECURITY-MIB::hm2AgentPortSecurityLastDiscardedMAC
OID (numeric): 1.3.6.1.4.1.248.12.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 hm2AgentPortSecurityLastDiscardedMAC?
This read-only DisplayString reports the VLAN id and source MAC address of the most recent packet dropped on this locked port for violating port security. Admins check it after a violation trap or count increment to identify which device was denied access without needing a separate packet capture. For example, it might read "5 aa:bb:cc:dd:ee:ff" after an unregistered device on VLAN 5 tried to send traffic through the locked port.
Examples
Walk all instances (SNMPv2c):
snmpwalk -v2c -c public <target> 1.3.6.1.4.1.248.12.20.1.2.1.7 snmpwalk -v2c -c public <target> HM2-PLATFORM-PORTSECURITY-MIB::hm2AgentPortSecurityLastDiscardedMAC
Get a specific instance (index 1):
snmpget -v2c -c public <target> 1.3.6.1.4.1.248.12.20.1.2.1.7.1 snmpget -v2c -c public <target> HM2-PLATFORM-PORTSECURITY-MIB::hm2AgentPortSecurityLastDiscardedMAC.1
Start monitoring Hirschmann HiOS Platform2 industrial switch (port security) with a free 30-day trial of IPNetwork Monitor. Create custom SNMP monitor using the HM2-PLATFORM-PORTSECURITY-MIB::hm2AgentPortSecurityLastDiscardedMAC OID value, configure state conditions and alerts, and monitor any Hirschmann HiOS Platform2 industrial switch (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.248 | hirschmann | HIRSCHMANN-GENERIC-ERROR-MIB |
| 1.3.6.1.4.1.248.12 | hm2PlatformMibs | HM2-TC-MIB |
| Numeric OID | Name | Module |
|---|---|---|
| 1.3.6.1.4.1.248.12.20 | hm2PlatformPortSecurity | HM2-PLATFORM-PORTSECURITY-MIB |
| 1.3.6.1.4.1.248.12.20.1 | hm2AgentPortSecurityGroup | HM2-PLATFORM-PORTSECURITY-MIB |
| 1.3.6.1.4.1.248.12.20.1.2 | hm2AgentPortSecurityTable | HM2-PLATFORM-PORTSECURITY-MIB |
| 1.3.6.1.4.1.248.12.20.1.2.1 | hm2AgentPortSecurityEntry | HM2-PLATFORM-PORTSECURITY-MIB |
| 1.3.6.1.4.1.248.12.20.1.2.1.7 | hm2AgentPortSecurityLastDiscardedMAC | HM2-PLATFORM-PORTSECURITY-MIB |