hwTCDirection

HUAWEI-TRACE-COUNTER-MIB · .1.3.6.1.4.1.2011.5.123.1.1.1.18

Object

column r/w Enumeration
Type of the Tunnel.
Options:
1. default(1)        -Foward packets.
2. toCpu(2)          -Mirrors packets to the CPU.

Context

MIB
HUAWEI-TRACE-COUNTER-MIB
OID
.1.3.6.1.4.1.2011.5.123.1.1.1.18
Type
column
Access
readwrite
Status
current
Parent
hwTraceCounterConfigEntry

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

Syntax

Enumeration

Values & Constraints

Enumerated Values
1default
2toCpu