hwQinQCtrlVlanFlag
HUAWEI-QINQ-MIB ·
.1.3.6.1.4.1.2011.5.25.116.2.11.1.4
Object
column r/w
Enumeration
The service type of the sub interface, by setting hwQinQCtrlVlanFlag to the value (rtprotocolenable), the route-protocol attribute enabled; and by setting hwQinQCtrlVlanFlag to the value (localswitch), the localswitch attribute enabled, which means two tags of packets will be pruned. So if you set hwQinQSubIfType to be dot1q type, you can not specify hwQinQCtrlVlanFlag as localswitch.
Context
- MIB
- HUAWEI-QINQ-MIB
- OID
.1.3.6.1.4.1.2011.5.25.116.2.11.1.4- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- hwQinQCtrlVlanCfgEntry
- 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-QINQ-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-QINQ-MIB::hwQinQCtrlVlanFlag'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'HUAWEI-QINQ-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-QINQ-MIB::hwQinQCtrlVlanFlag.<hwQinQCtrlVlanCfgIfIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HUAWEI-QINQ-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HUAWEI-QINQ-MIB::hwQinQCtrlVlanFlag'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | rtprotocolenable |
2 | original |
3 | localswitch |
Conformance
Member of