optixPWOamDirection
OPTIX-PW-OAM-MIB ·
.1.3.6.1.4.1.2011.2.25.4.50.7.1.2.1.1
Object
column Enumeration
For bidirectional MPLS PWs, the status query is performed in two directions, local and remote ends. This object indicates the direction of the PW OAM. The status query is performed in single direction: local or remote end.
Context
- MIB
- OPTIX-PW-OAM-MIB
- OID
.1.3.6.1.4.1.2011.2.25.4.50.7.1.2.1.1- Type
- column
- Access
- noaccess
- Status
- current
- Parent
- optixPWOamStateEntry
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-PW-OAM-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'OPTIX-PW-OAM-MIB::optixPWOamDirection'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'OPTIX-PW-OAM-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'OPTIX-PW-OAM-MIB::optixPWOamDirection.<optixPWOamIndex>.<optixPWOamDirection>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'OPTIX-PW-OAM-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'OPTIX-PW-OAM-MIB::optixPWOamDirection'
Syntax
Enumeration
Values & Constraints
Enumerated Values
0 | farend |
1 | nearend |