optixTunnelOamDirection
OPTIX-TUNNEL-OAM-MIB ·
.1.3.6.1.4.1.2011.2.25.4.50.10.1.3.1.1
Object
column Enumeration
For bidirectional tunnels, the status query is performaned in two directions, local and remote ends. This object indicates the direction of thetunnel OAM, localor remote end. For unidirectional ingress tunnels, only the local query result is returned. While forunidirectional egress tunnels, only the remote query result is returned.
Context
- MIB
- OPTIX-TUNNEL-OAM-MIB
- OID
.1.3.6.1.4.1.2011.2.25.4.50.10.1.3.1.1- Type
- column
- Access
- noaccess
- Status
- current
- Parent
- optixTunnelOamStateEntry
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 'OPTIX-TUNNEL-OAM-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'OPTIX-TUNNEL-OAM-MIB::optixTunnelOamDirection'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'OPTIX-TUNNEL-OAM-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'OPTIX-TUNNEL-OAM-MIB::optixTunnelOamDirection.<optixTunnelOamIndex>.<optixTunnelOamDirection>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'OPTIX-TUNNEL-OAM-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'OPTIX-TUNNEL-OAM-MIB::optixTunnelOamDirection'
Syntax
Enumeration
Values & Constraints
Enumerated Values
0 | farend |
1 | nearend |