hwConfigPortConfigRole

HUAWEI-ERPS-MIB · .1.3.6.1.4.1.2011.5.25.256.1.4.1.7

Object

column r/w SNMPv2-SMIInteger32
This object indicates the configured role of the ring interface.
0x10: common interface.
0x21: rplOwner interface.
0x22: rplNeighbour interface.

Context

MIB
HUAWEI-ERPS-MIB
OID
.1.3.6.1.4.1.2011.5.25.256.1.4.1.7
Type
column
Access
readwrite
Status
current
Parent
hwErpsPortConfigEntry
Groups
1

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 'HUAWEI-ERPS-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-ERPS-MIB::hwConfigPortConfigRole'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'HUAWEI-ERPS-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-ERPS-MIB::hwConfigPortConfigRole.<hwConfigRingId>.<hwConfigPortType>.<hwConfigPortId1>.<hwConfigPortId2>.<hwConfigPortId3>.<hwConfigPortId4>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HUAWEI-ERPS-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HUAWEI-ERPS-MIB::hwConfigPortConfigRole'

Syntax

Source
SNMPv2-SMIInteger32
Base type
Integer32

Values & Constraints

Type Constraints
range: -2147483648..2147483647

Conformance