zyCableDiagnosticPortAction
ZYXEL-CABLE-DIAG-MIB ·
.1.3.6.1.4.1.890.1.15.3.112.1.1.1.1
Object
column r/w
Enumeration
Indicates the cable diagnostic test action to be executed on the interface.
none(0) - No action is executed on the interface.
When read, the value 'none' is returned.
start(1) - Start the test on the interface.
clear(2) - Clear all the test results on the interface.
The value of the following object of the entry will become 'none'.
-- zyCableDiagnosticPortActionStatus
The value of the following objects of the entry will become 'unknown'.
-- zyCableDiagnosticPortResultPairAStatus
-- zyCableDiagnosticPortResultPairBStatus
-- zyCableDiagnosticPortResultPairCStatus
-- zyCableDiagnosticPortResultPairDStatus
The value of the following objects of the entry will become 'na'.
-- zyCableDiagnosticPortResultPairALength
-- zyCableDiagnosticPortResultPairBLength
-- zyCableDiagnosticPortResultPairCLength
-- zyCableDiagnosticPortResultPairDLength
-- zyCableDiagnosticPortResultPairADistanceToFault
-- zyCableDiagnosticPortResultPairBDistanceToFault
-- zyCableDiagnosticPortResultPairCDistanceToFault
-- zyCableDiagnosticPortResultPairDDistanceToFault
Context
- MIB
- ZYXEL-CABLE-DIAG-MIB
- OID
.1.3.6.1.4.1.890.1.15.3.112.1.1.1.1- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- zyxelCableDiagnosticPortEntry
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 'ZYXEL-CABLE-DIAG-MIB' -M '/opt/observium/mibs/zyxel:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'ZYXEL-CABLE-DIAG-MIB::zyCableDiagnosticPortAction'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'ZYXEL-CABLE-DIAG-MIB' -M '/opt/observium/mibs/zyxel:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'ZYXEL-CABLE-DIAG-MIB::zyCableDiagnosticPortAction.<ifIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'ZYXEL-CABLE-DIAG-MIB' -M '/opt/observium/mibs/zyxel:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'ZYXEL-CABLE-DIAG-MIB::zyCableDiagnosticPortAction'
Syntax
Enumeration
Values & Constraints
Enumerated Values
0 | none |
1 | start |
2 | clear |