hm2AgentPortSecurityStaticMACs

HM2-PLATFORM-PORTSECURITY-MIB · .1.3.6.1.4.1.248.12.20.1.2.1.6

Object

column OctetString
This variable displays the statically locked MAC addresses for port.
The list displayed in a particular fashion :
2 a0:b1:c2:d1:e3:a1,11 a0:b1:c2:d3:e4:f5
(i.e., VLAN MAC pairs separated by commas).

Context

MIB
HM2-PLATFORM-PORTSECURITY-MIB
OID
.1.3.6.1.4.1.248.12.20.1.2.1.6
Type
column
Access
readonly
Status
current
Parent
hm2AgentPortSecurityEntry

Walk the column to discover its indexed instances, or supply every index to read one instance.

Walk the column
/usr/bin/snmpbulkwalk -v2c -c '<community>' -Pud -Ir -OQUs -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::hm2AgentPortSecurityStaticMACs'
More examples
Read one indexed 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::hm2AgentPortSecurityStaticMACs.<ifIndex>'
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::hm2AgentPortSecurityStaticMACs'

Syntax

OctetString

Values & Constraints

Object Constraints
range: 0-1536