optixPktPtpCableLengthDirSend
OPTIX-PKT-PTPCLOCK-MIB ·
.1.3.6.1.4.1.2011.2.25.4.50.13.1.22.1.40
Object
column r/w
Enumeration
this parameter describes the sent direction(IN or OUT) of external cable. 0 receive, 1 send
Context
- MIB
- OPTIX-PKT-PTPCLOCK-MIB
- OID
.1.3.6.1.4.1.2011.2.25.4.50.13.1.22.1.40- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- optixPktPtpClockEntry
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-PKT-PTPCLOCK-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'OPTIX-PKT-PTPCLOCK-MIB::optixPktPtpCableLengthDirSend'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'OPTIX-PKT-PTPCLOCK-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'OPTIX-PKT-PTPCLOCK-MIB::optixPktPtpCableLengthDirSend.<optixLogBoardId>.<optixLogSubCardId>.<optixPktPtpClockPhyPortId>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'OPTIX-PKT-PTPCLOCK-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'OPTIX-PKT-PTPCLOCK-MIB::optixPktPtpCableLengthDirSend'
Syntax
Enumeration
Values & Constraints
Enumerated Values
0 | receive |
1 | send |