hwMD5500BRAPortState

HWMUSA-UP-MIB · .1.3.6.1.4.1.2011.2.6.4.4.7.1.1.12

Object

column Enumeration
Options:
1.active(1)          -indicates the port state is active     
2.inactive(2)        -indicates the port state is inactive      
3.fault(3)           -indicates the port state is fault     
4.test(4)            -indicates the port state is test      
5.maintain(5)        -indicates the port state is maintain  
6.localblock(6)      -indicates the port state is localblock
7.oppblock(7)        -indicates the port state is oppblock  
8.lock(8)            -indicates the port state is lock      
9.busy(9)            -indicates the port state is busy      
10.viruser(10)       -indicates the port state is viruser   
11.farloop(11)       -indicates the port state is farloop   
12.nearloop(12)      -indicates the port state is nearloop  
13.b1codetest(13)    -indicates the port state is b1codetest
14.b2codetest(14)    -indicates the port state is b2codetest

Context

MIB
HWMUSA-UP-MIB
OID
.1.3.6.1.4.1.2011.2.6.4.4.7.1.1.12
Type
column
Access
readonly
Status
current
Parent
hwIsdnPhyPortDataEntry

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

Syntax

Enumeration

Values & Constraints

Enumerated Values
1active
2inactive
3fault
4test
5maintain
6localblock
7oppblock
8lock
9busy
10viruser
11farloop
12nearloop
13b1codetest
14b2codetest