hwDs1CodeType
HUAWEI-PORT-MIB ·
.1.3.6.1.4.1.2011.5.25.157.1.5.1.1.14
Object
column r/w
Enumeration
Indicates the code type of the interface. ami: is short for Alternate Mark Inversion. hdb3: is short for High Density Bipolar of Order 3. b8zs: is short for Bipolar with 8-Zero Substitution. none: is not supported
Context
- MIB
- HUAWEI-PORT-MIB
- OID
.1.3.6.1.4.1.2011.5.25.157.1.5.1.1.14- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- hwDs1Entry
- Groups
- 1
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 'HUAWEI-PORT-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-PORT-MIB::hwDs1CodeType'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'HUAWEI-PORT-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-PORT-MIB::hwDs1CodeType.<hwDs1ParentIfIndex>.<hwDs1ChannelId>.<hwDs1IfIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HUAWEI-PORT-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HUAWEI-PORT-MIB::hwDs1CodeType'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | ami |
2 | hdb3 |
3 | b8zs |
255 | none |
Conformance
Member of