hwdot1sMstiPortPriority
HUAWEI-LswMSTP-MIB ·
.1.3.6.1.4.1.2011.2.23.1.14.20.1.3
Object
column r/w
Integer32
The value of the priority field which is contained in the first (in network byte order) four bits of the (2 octet long) Port ID. The other octet of the Port ID is given by the value of mstiPortIndex. And step of 16
Context
- MIB
- HUAWEI-LswMSTP-MIB
- OID
.1.3.6.1.4.1.2011.2.23.1.14.20.1.3- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- hwdot1sPortEntry
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-LswMSTP-MIB' -M '/opt/observium/mibs/h3c:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-LswMSTP-MIB::hwdot1sMstiPortPriority'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'HUAWEI-LswMSTP-MIB' -M '/opt/observium/mibs/h3c:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-LswMSTP-MIB::hwdot1sMstiPortPriority.<index>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HUAWEI-LswMSTP-MIB' -M '/opt/observium/mibs/h3c:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HUAWEI-LswMSTP-MIB::hwdot1sMstiPortPriority'
Syntax
Integer32
Values & Constraints
No enumerated values or constraints recorded.