hwMstpProNewPortBpduVlan
HUAWEI-MSTP-MIB ·
.1.3.6.1.4.1.2011.5.25.42.4.1.24.1.9
Object
column r/w
Integer32
The value of this object identifies the BPDU-VLAN-based communication with non-Huawei devices. On non-Huawei devices, protocol packets are in the format of VBSTand a VLAN is a spanning tree. Therefore, to communicate with non-Huawei devices, the format of BPDU packets on Huawei devices need to be set to VBST, and Huawei devices need to belong to the same VLAN with non-Huawei devices.
Context
- MIB
- HUAWEI-MSTP-MIB
- OID
.1.3.6.1.4.1.2011.5.25.42.4.1.24.1.9- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- hwMstpPortBindEntry
- Groups
- 1
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::hwMstpProNewPortBpduVlan'
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::hwMstpProNewPortBpduVlan.<hwMstpProID>.<hwMstpPortId1>.<hwMstpPortId2>.<hwMstpPortId3>.<hwMstpPortId4>.<hwMstpPortIdFlag>'
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::hwMstpProNewPortBpduVlan'
Syntax
Integer32
Values & Constraints
Object Constraints
range: 0-4094
Conformance
Member of