hwInnerVlanID
HUAWEI-VLAN-MIB ·
.1.3.6.1.4.1.2011.5.6.1.14.1.1
Object
column Integer32
Indicates the inner VLAN tag in a stacking VLAN. If the VLAN is not of the stacking attribute or you perform the query operation only by the outer VLAN, this leaf must be set to -1. Currently, ACL-based VLAN traffic statistics of only the outer VLAN can be collected. Therefore, this value of this leaf is not useful, and you'd better set the value to -1. 0 is not supported.
Context
- MIB
- HUAWEI-VLAN-MIB
- OID
.1.3.6.1.4.1.2011.5.6.1.14.1.1- Type
- column
- Access
- readonly
- Status
- current
- Parent
- hwVlanFlowAccountEntry
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::hwInnerVlanID'
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::hwInnerVlanID.<hwVlanIndex>.<hwInnerVlanID>'
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::hwInnerVlanID'
Syntax
Integer32
Values & Constraints
Object Constraints
range: -1-4095