hwRsDatabits
HUAWEI-PORT-MIB ·
.1.3.6.1.4.1.2011.5.25.157.1.23.3.1.11
Object
column r/w
Integer32
This object indicates the number of data bits contained in a serial interface's asynchronous frame. This object can be configured in asynchronous clock mode. The value ranges from 5 to 8 bits.The default value is 8 bits. The value 255 indicates that the interface does not support this function.
Context
- MIB
- HUAWEI-PORT-MIB
- OID
.1.3.6.1.4.1.2011.5.25.157.1.23.3.1.11- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- hwRsEntry
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::hwRsDatabits'
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::hwRsDatabits.<hwRsIfIndex>'
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::hwRsDatabits'
Syntax
Integer32
Values & Constraints
Object Constraints
range: 5-8
range: 255-255