hwPortDesc
HUAWEI-DEVICE-MIB ·
.1.3.6.1.4.1.2011.6.3.3.4.1.3
Object
column r/w
OctetString
The description about the port, used to describe extra information of the port. For example, you can describe the user that connects to the port. The standby control board does not support setting of the port description.
Context
- MIB
- HUAWEI-DEVICE-MIB
- OID
.1.3.6.1.4.1.2011.6.3.3.4.1.3- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- hwPortEntry
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-DEVICE-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-DEVICE-MIB::hwPortDesc'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'HUAWEI-DEVICE-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-DEVICE-MIB::hwPortDesc.<hwFrameIndex>.<hwSlotIndex>.<hwSubslotIndex>.<hwPortIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HUAWEI-DEVICE-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HUAWEI-DEVICE-MIB::hwPortDesc'
Syntax
OctetString
Values & Constraints
Object Constraints
range: 0-80