hwMplsTunnelType

HUAWEI-MPLS-EXTEND-MIB · .1.3.6.1.4.1.2011.5.25.121.1.1.1.31

Object

column Enumeration
This object is meaningful only at the ingress of the tunnel. It indicates tunnel types.                                                                 
Options: 
1. invalid(1) -indicates that the tunnel type is invalid, the possible cause is that it is not ingress node of this tunnel
2. primaryTunnel(2) -indicates that this is a primary tunnel
3. bypassTunnel(3) -indicates that this is a bypass tunnel

Context

MIB
HUAWEI-MPLS-EXTEND-MIB
OID
.1.3.6.1.4.1.2011.5.25.121.1.1.1.31
Type
column
Access
readonly
Status
current
Parent
hwMplsTunnelEntry
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-MPLS-EXTEND-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-MPLS-EXTEND-MIB::hwMplsTunnelType'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'HUAWEI-MPLS-EXTEND-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-MPLS-EXTEND-MIB::hwMplsTunnelType.<hwMplsTunnelIndex>.<hwMplsTunnelInstance>.<hwMplsTunnelIngressLSRId>.<hwMplsTunnelEgressLSRId>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HUAWEI-MPLS-EXTEND-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HUAWEI-MPLS-EXTEND-MIB::hwMplsTunnelType'

Syntax

Enumeration

Values & Constraints

Enumerated Values
1invalid
2primaryTunnel
3bypassTunnel

Conformance