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 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.8 | hm2AgentPortSecurityMACAddressAdd | HM2-PLATFORM-PORTSECURITY-MIB |