hm2AgentStpMstPortRole

HM2-PLATFORM-SWITCHING-MIB · .1.3.6.1.4.1.248.12.1.2.15.11.1.248

Object

column Enumeration
The current port pole for a specific port (i.e., root, alternate, designated or backup) in a specific instance.

Context

MIB
HM2-PLATFORM-SWITCHING-MIB
OID
.1.3.6.1.4.1.248.12.1.2.15.11.1.248
Type
column
Access
readonly
Status
current
Parent
hm2AgentStpMstPortEntry

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-SWITCHING-MIB' -M '/opt/observium/mibs/hirschmann:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HM2-PLATFORM-SWITCHING-MIB::hm2AgentStpMstPortRole'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'HM2-PLATFORM-SWITCHING-MIB' -M '/opt/observium/mibs/hirschmann:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HM2-PLATFORM-SWITCHING-MIB::hm2AgentStpMstPortRole.<hm2AgentStpMstId>.<ifIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HM2-PLATFORM-SWITCHING-MIB' -M '/opt/observium/mibs/hirschmann:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HM2-PLATFORM-SWITCHING-MIB::hm2AgentStpMstPortRole'

Syntax

Enumeration

Values & Constraints

Enumerated Values
1root
2alternate
3designated
4backup
5master
6disabled