hwSlotNetworkRole

HUAWEI-DEVICE-MIB · .1.3.6.1.4.1.2011.6.3.3.2.1.20

Object

column r/w Enumeration
Indicates the network role of a board.
Options:
1. cascade(1)  -indicates the subtending side, which is used for subtending and capturing certain protocol packets
2. network(2)  -indicates the network side, which is used for upstream transmission
3. user(3)     -indicates the user side, which is used for creating the service port
4. extend(4)   -indicates the extend side, which is used for connecting to the extended frame
5. stack(5)    -indicates the stack side, which is used for creating the stack port
6. invalid(255)-indicates the invalid value

Context

MIB
HUAWEI-DEVICE-MIB
OID
.1.3.6.1.4.1.2011.6.3.3.2.1.20
Type
column
Access
readwrite
Status
current
Parent
hwSlotEntry

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

Syntax

Enumeration

Values & Constraints

No enumerated values or constraints recorded.