hwDhcpOption82TransparentUserVlanType

HUAWEI-DHCP-PROXY-MIB · .1.3.6.1.4.1.2011.5.18.1.49

Object

scalar r/w Bits
Indicates the user VLAN based on which DHCP option82 is transparently transmitted.
Options:
1. untag(0)            -indicates that the user packet does not contain VLANs
2. singleTag(1)       -indicates that the user packet contains a single VLAN
3. multiTag(2)        -indicates that the user packet contains multiple VLANs
When singleTag is 0, set hwDhcpOption82TransparentSingleUserVlanList to a null character string. 
When singleTag is 1, set hwDhcpOption82TransparentSingleUserVlanList to a valid character string.

Context

MIB
HUAWEI-DHCP-PROXY-MIB
OID
.1.3.6.1.4.1.2011.5.18.1.49
Type
scalar
Access
readwrite
Status
current
Parent
hwDhcpMibObject

Scalars have one instance, identified by the .0 suffix.

Read the scalar instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'HUAWEI-DHCP-PROXY-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-DHCP-PROXY-MIB::hwDhcpOption82TransparentUserVlanType.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HUAWEI-DHCP-PROXY-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HUAWEI-DHCP-PROXY-MIB::hwDhcpOption82TransparentUserVlanType'

Syntax

Bits

Values & Constraints

Enumerated Values
0untag
1singleTag
2multiTag