mplsTunnelRole

HP-SN-MPLS-TE-MIB · .1.3.6.1.4.1.11.2.3.7.11.12.2.15.15.3.2.2.1.31

Object

column r/w Enumeration
This value signifies the role that this tunnel
entry/instance represents. This value MUST be set
to head(1) at the originating point of the tunnel.
This value MUST be set to transit(2) at transit
points along the tunnel, if transit points are
supported. This value MUST be set to tail(3) at the
terminating point of the tunnel if tunnel tails are
supported.

Context

MIB
HP-SN-MPLS-TE-MIB
OID
.1.3.6.1.4.1.11.2.3.7.11.12.2.15.15.3.2.2.1.31
Type
column
Access
readwrite
Status
current
Parent
mplsTunnelEntry
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 'HP-SN-MPLS-TE-MIB' -M '/opt/observium/mibs/hp:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HP-SN-MPLS-TE-MIB::mplsTunnelRole'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'HP-SN-MPLS-TE-MIB' -M '/opt/observium/mibs/hp:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HP-SN-MPLS-TE-MIB::mplsTunnelRole.<mplsTunnelIndex>.<mplsTunnelInstance>.<mplsTunnelIngressLSRId>.<mplsTunnelEgressLSRId>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HP-SN-MPLS-TE-MIB' -M '/opt/observium/mibs/hp:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HP-SN-MPLS-TE-MIB::mplsTunnelRole'

Syntax

Enumeration

Values & Constraints

Enumerated Values
1head
2transit
3tail

Conformance

Member of
Compliance refinements
mplsTeModuleCompliance readonly Enumeration
Values: head(1)
Only support for head is required.