hwVlanAttrib
HUAWEI-VLAN-MIB ·
.1.3.6.1.4.1.2011.5.6.1.1.1.14
Object
column r/w
Enumeration
Indicates the VLAN attribute. The following enumerated values are supported: Options: 1. common(1) -indicates common VLAN. 2. qinq(2) -indicates QinQ VLAN. 3. stacking(3) -indicates stacking VLAN. 4. subVlan(4) -indicates sub VLAN. During the creation of a VLAN, if this leaf is not specified, common(1) is adopted by default. You can perform the set operation on this leaf to modify the VLAN attribute. The value of hwVlanAttrib must not be subvlan(4). The value can be subvlan(4) only in the read operation. Adding a VLAN to or deleting a VLAN from a super VLAN must be performed through hwVlanAggregationTable.
Context
- MIB
- HUAWEI-VLAN-MIB
- OID
.1.3.6.1.4.1.2011.5.6.1.1.1.14- 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::hwVlanAttrib'
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::hwVlanAttrib.<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::hwVlanAttrib'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | common |
2 | qinq |
3 | stacking |
4 | subVlan |