hm2AgentPortSecurityOperationMode
HM2-PLATFORM-PORTSECURITY-MIB ·
.1.3.6.1.4.1.248.12.20.1.12
Object
scalar r/w
Enumeration
Mode showing which operational mode is enabled for port security (MAC vs. IP). In MAC mode, filtering is done based on MAC addresses added statically/dinamically. In IP mode, filtering is done based on MAC addresses resolved via ARP requests for the programmed IP address.
Context
- MIB
- HM2-PLATFORM-PORTSECURITY-MIB
- OID
.1.3.6.1.4.1.248.12.20.1.12- Type
- scalar
- Access
- readwrite
- Status
- current
- Parent
- hm2AgentPortSecurityGroup
Net-SNMP examples
How SNMP and these commands workScalars have one instance, identified by the .0 suffix.
Read the scalar instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'HM2-PLATFORM-PORTSECURITY-MIB' -M '/opt/observium/mibs/hirschmann:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HM2-PLATFORM-PORTSECURITY-MIB::hm2AgentPortSecurityOperationMode.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HM2-PLATFORM-PORTSECURITY-MIB' -M '/opt/observium/mibs/hirschmann:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HM2-PLATFORM-PORTSECURITY-MIB::hm2AgentPortSecurityOperationMode'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | macAddressBased |
2 | ipAddressBased |