hwL2VlanType
OBS ✓
HUAWEI-L2VLAN-MIB ·
.1.3.6.1.4.1.2011.5.25.42.3.1.1.1.1.4
Object
column r/w
Enumeration
The value of this object identifies the type of a VLAN. Change the value from '2' to '1' indicates that the common-vlan is configured into super-vlan; Change the value from '1' to '2' indicates that the super-vlan is canceled; Change the value from '2' to '4' indicates that the common-vlan is configured into mux-vlan; Change the value from '4' to '2' indicates that the mux-vlan is canceled; Change the value from '2' to '6' indicates that the common-vlan is configured into protocol-transparent-vlan; Change the value from '6' to '2' indicates that the protocol-transparent-vlan is canceled; Note that the switch between other pairs is forbidden.
Observium directly uses this object
This object is referenced by an Observium discovery or polling workflow.
Used in:
VLANs
Explore Observium network monitoring
Context
- MIB
- HUAWEI-L2VLAN-MIB
- OID
.1.3.6.1.4.1.2011.5.25.42.3.1.1.1.1.4- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- hwL2VlanMIBEntry
- 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-L2VLAN-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-L2VLAN-MIB::hwL2VlanType'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'HUAWEI-L2VLAN-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-L2VLAN-MIB::hwL2VlanType.<hwL2VlanIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HUAWEI-L2VLAN-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HUAWEI-L2VLAN-MIB::hwL2VlanType'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | superVlan |
2 | commonVlan |
3 | subVlan |
4 | muxVlan |
5 | muxSubVlan |
6 | protocolTransVlan |
Conformance
Member of