docsIfCmStatusCode
DOCS-IF-MIB ·
.1.3.6.1.2.1.10.127.1.2.2.1.2
Object
column OctetString
Status code for a Cable Modem as defined in the OSSI Specification. The status code consists of a single character indicating error groups, followed by a two- or three-digit number indicating the status condition, followed by a decimal. An example of a returned value could be 'T101.0'. The zero-length OCTET STRING indicates no status code yet registered.
Context
- MIB
- DOCS-IF-MIB
- OID
.1.3.6.1.2.1.10.127.1.2.2.1.2- Type
- column
- Access
- readonly
- Status
- current
- Parent
- docsIfCmStatusEntry
- Groups
- 2
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 'DOCS-IF-MIB' -M '/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'DOCS-IF-MIB::docsIfCmStatusCode'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'DOCS-IF-MIB' -M '/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'DOCS-IF-MIB::docsIfCmStatusCode.<ifIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'DOCS-IF-MIB' -M '/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'DOCS-IF-MIB::docsIfCmStatusCode'
Syntax
OctetString
Values & Constraints
Object Constraints
range: 0-0
range: 5-6
Conformance
Member of