hwSubIfVlanPolicyVlanId

HUAWEI-L3VLAN-MIB · .1.3.6.1.4.1.2011.5.25.100.1.3.1.2

Object

column Integer32
This object specifies the vlan id encapsulated by the sub-interface. 
when the vlan id is zero it means to configure the interface as the untagged sub-interface, When configure vlan as a range, hwSubIfVlanPolicyVlanId is the start vlan id and hwSubIfVlanPolicyVlanIdEnd is the end vlan id.

Context

MIB
HUAWEI-L3VLAN-MIB
OID
.1.3.6.1.4.1.2011.5.25.100.1.3.1.2
Type
column
Access
noaccess
Status
current
Parent
hwSubIfVlanPolicyEntry

Walk 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-L3VLAN-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-L3VLAN-MIB::hwSubIfVlanPolicyVlanId'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'HUAWEI-L3VLAN-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-L3VLAN-MIB::hwSubIfVlanPolicyVlanId.<hwSubIfVlanPolicyIfIndex>.<hwSubIfVlanPolicyVlanId>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HUAWEI-L3VLAN-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HUAWEI-L3VLAN-MIB::hwSubIfVlanPolicyVlanId'

Syntax

Integer32

Values & Constraints

Object Constraints
range: 0-4094