HM2-PLATFORM-PORTSECURITY-MIB :: hm2AgentPortSecurityMACAddressAdd

MIB Reference — IPNetwork Monitor · Updated October 05, 2026

All MIBs › HM2-PLATFORM-PORTSECURITY-MIB › hm2AgentPortSecurityMACAddressAdd

hm2AgentPortSecurityMACAddressAdd

Module: HM2-PLATFORM-PORTSECURITY-MIB

OID (symbolic): HM2-PLATFORM-PORTSECURITY-MIB::hm2AgentPortSecurityMACAddressAdd

OID (numeric): 1.3.6.1.4.1.248.12.20.1.2.1.8

Node type: OBJECT-TYPE

Type: DisplayString

Access: read-write

Description: This MIB variable accepts a VLAN id and MAC address to be added to the list of statically locked MAC addresses on a port. The VLAN id and MAC address combination would be entered in a particular fashion like :- 2 a0:b0:c0:d1:e2:a1(the vlan-id and MAC address separated by a blank-space).

What is hm2AgentPortSecurityMACAddressAdd?

Writing to this DisplayString object adds a VLAN id and MAC address pair to the port's statically locked MAC list, entered as "vlan-id mac-address" separated by a space. Admins use it to whitelist a specific known device on a locked port without disabling port security entirely. Writing "2 a0:b0:c0:d1:e2:a1" statically permits that MAC address on VLAN 2 for this port going forward.

Examples

Walk all instances (SNMPv2c):

snmpwalk -v2c -c public <target> 1.3.6.1.4.1.248.12.20.1.2.1.8
snmpwalk -v2c -c public <target> HM2-PLATFORM-PORTSECURITY-MIB::hm2AgentPortSecurityMACAddressAdd

Get a specific instance (index 1):

snmpget -v2c -c public <target> 1.3.6.1.4.1.248.12.20.1.2.1.8.1
snmpget -v2c -c public <target> HM2-PLATFORM-PORTSECURITY-MIB::hm2AgentPortSecurityMACAddressAdd.1

Set instance 1 (SNMPv2c):

snmpset -v2c -c private <target> 1.3.6.1.4.1.248.12.20.1.2.1.8.1 s <value>

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::hm2AgentPortSecurityMACAddressAdd 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 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.248hirschmannHIRSCHMANN-GENERIC-ERROR-MIB
1.3.6.1.4.1.248.12hm2PlatformMibsHM2-TC-MIB
Numeric OIDNameModule
1.3.6.1.4.1.248.12.20hm2PlatformPortSecurityHM2-PLATFORM-PORTSECURITY-MIB
1.3.6.1.4.1.248.12.20.1hm2AgentPortSecurityGroupHM2-PLATFORM-PORTSECURITY-MIB
1.3.6.1.4.1.248.12.20.1.2hm2AgentPortSecurityTableHM2-PLATFORM-PORTSECURITY-MIB
1.3.6.1.4.1.248.12.20.1.2.1hm2AgentPortSecurityEntryHM2-PLATFORM-PORTSECURITY-MIB
1.3.6.1.4.1.248.12.20.1.2.1.8hm2AgentPortSecurityMACAddressAddHM2-PLATFORM-PORTSECURITY-MIB