hwXdslPortStatusInfoCollectPortList
HUAWEI-XDSL-COMMON-MIB ·
.1.3.6.1.4.1.2011.6.148.1.6.1.3
Object
column r/w
OctetString
Defines an operating port list of a certain xDSL board. Each bit of this string specifies a port. The bit whose value is 1 belongs to a port set and whose value is 0 does not belong to a port set. For example, if this node value is 0xFF 0xFE, information about port 0 to port 14 will be collected. If this node is not specified, all ports information on the board will be collected.
Context
- MIB
- HUAWEI-XDSL-COMMON-MIB
- OID
.1.3.6.1.4.1.2011.6.148.1.6.1.3- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- hwXdslPortStatusInfoCollectEntry
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-XDSL-COMMON-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-XDSL-COMMON-MIB::hwXdslPortStatusInfoCollectPortList'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'HUAWEI-XDSL-COMMON-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-XDSL-COMMON-MIB::hwXdslPortStatusInfoCollectPortList.<hwFrameIndex>.<hwSlotIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HUAWEI-XDSL-COMMON-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HUAWEI-XDSL-COMMON-MIB::hwXdslPortStatusInfoCollectPortList'
Syntax
OctetString
Values & Constraints
Object Constraints
range: 0-16