All MIBs › HM2-PLATFORM-PORTSECURITY-MIB › hm2AgentPortSecurityMode
hm2AgentPortSecurityMode
Module: HM2-PLATFORM-PORTSECURITY-MIB
OID (symbolic): HM2-PLATFORM-PORTSECURITY-MIB::hm2AgentPortSecurityMode
OID (numeric): 1.3.6.1.4.1.248.12.20.1.2.1.1
Node type: OBJECT-TYPE
Type: HmEnabledStatus
Access: read-write
Description: Mode showing whether at port level security is enabled or not.
What is hm2AgentPortSecurityMode?
This HmEnabledStatus value, indexed by ifIndex, enables or disables MAC address locking on one specific switch port, defaulting to disabled. An admin toggles this per port to restrict which end-station MAC addresses may pass traffic on that interface, independent of the global on/off switch. For instance, enabling it on port ifIndex 5 while leaving other ports untouched locks down only that access port, e.g. for a fixed printer or camera drop.
Examples
Walk all instances (SNMPv2c):
snmpwalk -v2c -c public <target> 1.3.6.1.4.1.248.12.20.1.2.1.1 snmpwalk -v2c -c public <target> HM2-PLATFORM-PORTSECURITY-MIB::hm2AgentPortSecurityMode
Get a specific instance (index 1):
snmpget -v2c -c public <target> 1.3.6.1.4.1.248.12.20.1.2.1.1.1 snmpget -v2c -c public <target> HM2-PLATFORM-PORTSECURITY-MIB::hm2AgentPortSecurityMode.1
Set instance 1 (SNMPv2c):
snmpset -v2c -c private <target> 1.3.6.1.4.1.248.12.20.1.2.1.1.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::hm2AgentPortSecurityMode 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.1 | hm2AgentPortSecurityMode | HM2-PLATFORM-PORTSECURITY-MIB |