hwSubIfVlanPolicyType
HUAWEI-L3VLAN-MIB ·
.1.3.6.1.4.1.2011.5.25.100.1.3.1.5
Object
column r/w
Enumeration
Indicates the type of vlan policy as follows: 8021p(1): indicates IEEE 802.1P encapsulation. dscp(2): indicates Differentiated Services CodePoint. eth-type(3): indicates EtherType,For example PPPOE. default(4):indicates the default policy.
Context
- MIB
- HUAWEI-L3VLAN-MIB
- OID
.1.3.6.1.4.1.2011.5.25.100.1.3.1.5- 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::hwSubIfVlanPolicyType'
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::hwSubIfVlanPolicyType.<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::hwSubIfVlanPolicyType'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | type8021P |
2 | typeDSCP |
3 | typeEtherType |
4 | default |
Conformance
Member of