hwPortStateTracePortState

HWMUSA-UP-MIB · .1.3.6.1.4.1.2011.2.6.4.4.10.2.1.5

Object

scalar Enumeration
Options:
1.fault(1)        -indicates the state of the trace port is fault   
2.testing(2)      -indicates the state of the trace port is testing
3.lock(3)         -indicates the state of the trace port is lock   
4.idle(4)         -indicates the state of the trace port is idle   
5.busy(5)         -indicates the state of the trace port is busy   
6.remoteloop(6)   -indicates the state of the trace port is remoteloop 
7.localloop(7)    -indicates the state of the trace port is localloop   
8.deactive(8)     -indicates the state of the trace port is deactive   
9.active(9)       -indicates the state of the trace port is active

Context

MIB
HWMUSA-UP-MIB
OID
.1.3.6.1.4.1.2011.2.6.4.4.10.2.1.5
Type
scalar
Access
notifyonly
Status
current
Parent
hwPortStateTraceTrapVbOids

Scalars have one instance, identified by the .0 suffix.

Read the scalar 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::hwPortStateTracePortState.0'
More examples
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::hwPortStateTracePortState'

Syntax

Enumeration

Values & Constraints

Enumerated Values
1fault
2testing
3lock
4idle
5busy
6remoteloop
7localloop
8deactive
9active