hwVlanType
HUAWEI-VLAN-MIB ·
.1.3.6.1.4.1.2011.5.6.1.1.1.4
Object
column r/w
Enumeration
Indicates the VLAN type. Options: 1. superVlan(1) -indicates super VLAN. 2. commonVlan(2) -indicates common VLAN. 3. subVlan(3) -indicates sub VLAN, the value is not supported. 4. primaryVlan(4) -indicates primary VLAN, the value is not supported. 5. secondaryVlan(5) -indicates secondary VLAN, the value is not supported. 6. regionVlan(6) -indicates region VLAN, the value is not supported. 7. smartVlan(7) -indicates smart VLAN. 8. muxVlan(8) -indicates MUX VLAN. 9. multiVlan(9) -indicates multi VLAN. VLAN 1 supports the modify operation on hwVlanType. For other VLANs, during the creation of a VLAN, hwVlanType must be specified.
Context
- MIB
- HUAWEI-VLAN-MIB
- OID
.1.3.6.1.4.1.2011.5.6.1.1.1.4- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- hwVlanMIBEntry
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-VLAN-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-VLAN-MIB::hwVlanType'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'HUAWEI-VLAN-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-VLAN-MIB::hwVlanType.<hwVlanIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HUAWEI-VLAN-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HUAWEI-VLAN-MIB::hwVlanType'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | superVlan |
2 | commonVlan |
3 | subVlan |
4 | primaryVlan |
5 | secondaryVlan |
6 | regionVlan |
7 | smartVlan |
8 | muxVlan |
9 | multiVlan |