hwSubIfVlanPolicyIfType
HUAWEI-L3VLAN-MIB ·
.1.3.6.1.4.1.2011.5.25.100.1.3.1.3
Object
column r/w
Enumeration
Indicates the sub-interface type as follows: dot1q(1): indicates vlan-type dot1q sub-interface. dot1qTerm(2): indicates dot1q termination sub-interface. stacking(3): indicates qinq stacking sub-interface. untagged(4): indicates untagged sub-interface.
Context
- MIB
- HUAWEI-L3VLAN-MIB
- OID
.1.3.6.1.4.1.2011.5.25.100.1.3.1.3- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- hwSubIfVlanPolicyEntry
- 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-L3VLAN-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-L3VLAN-MIB::hwSubIfVlanPolicyIfType'
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::hwSubIfVlanPolicyIfType.<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::hwSubIfVlanPolicyIfType'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | dot1q |
2 | dot1qTerm |
3 | stacking |
4 | untagged |
Conformance
Member of