hwMstpProPortCompliance
HUAWEI-MSTP-MIB ·
.1.3.6.1.4.1.2011.5.25.42.4.1.25.1.26
Object
column r/w
Enumeration
The value of this object identifies the protocol format of the MSTP packet sent and received on the port. The protocol format can be one of the following: 1: auto (the self-adaptive protocol format) 2: dotls (the standard IEEE 802.1s format) 3: legacy (the proprietary protocol format) By default, the protocol format of the MSTP packet is self-adaptive, that is, auto(1).
Context
- MIB
- HUAWEI-MSTP-MIB
- OID
.1.3.6.1.4.1.2011.5.25.42.4.1.25.1.26- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- hwMstpProPortEntry
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-MSTP-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-MSTP-MIB::hwMstpProPortCompliance'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'HUAWEI-MSTP-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-MSTP-MIB::hwMstpProPortCompliance.<hwMstpProID>.<hwMstpInstanceID>.<hwMstpiPortIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HUAWEI-MSTP-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HUAWEI-MSTP-MIB::hwMstpProPortCompliance'
Syntax
Enumeration
Values & Constraints
No enumerated values or constraints recorded.