gmplsTunnelDirection
GMPLS-TE-STD-MIB ·
.1.3.6.1.2.1.10.166.13.2.1.1.8
Object
column r/w
Enumeration
Whether this tunnel carries forward data only (is
unidirectional) or is bidirectional.
Values of this object other than 'forward' are meaningful
only if gmplsTunnelLSPEncoding is not set to
'tunnelLspNotGmpls'.
Context
- MIB
- GMPLS-TE-STD-MIB
- OID
.1.3.6.1.2.1.10.166.13.2.1.1.8- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- gmplsTunnelEntry
- Groups
- 1
Net-SNMP examples
How SNMP and these commands workWalk 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 'GMPLS-TE-STD-MIB' -M '/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'GMPLS-TE-STD-MIB::gmplsTunnelDirection'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'GMPLS-TE-STD-MIB' -M '/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'GMPLS-TE-STD-MIB::gmplsTunnelDirection.<mplsTunnelIndex>.<mplsTunnelInstance>.<mplsTunnelIngressLSRId>.<mplsTunnelEgressLSRId>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'GMPLS-TE-STD-MIB' -M '/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'GMPLS-TE-STD-MIB::gmplsTunnelDirection'
Syntax
Enumeration
Values & Constraints
Enumerated Values
0 | forward |
1 | bidirectional |
Conformance
Member of
Compliance refinements
gmplsTeModuleReadOnlyCompliance
readonly
Only forward(0) is required.