hwDhcpv6OptionTransparentUserVlanType
HUAWEI-DSLAM-DHCPV6-RELAY-MIB ·
.1.3.6.1.4.1.2011.5.111.1.7
Object
scalar r/w
Bits
Indicates the user VLAN based on which DHCPv6 option 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 hwDhcpv6OptionTransparentSingleUserVlanList to a null character string. When singleTag is 1, set hwDhcpv6OptionTransparentSingleUserVlanList to a valid character string.
Context
- MIB
- HUAWEI-DSLAM-DHCPV6-RELAY-MIB
- OID
.1.3.6.1.4.1.2011.5.111.1.7- Type
- scalar
- Access
- readwrite
- Status
- current
- Parent
- hwDhcpv6RelayMibObject
Net-SNMP examples
How SNMP and these commands workScalars have one instance, identified by the .0 suffix.
Read the scalar instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'HUAWEI-DSLAM-DHCPV6-RELAY-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-DSLAM-DHCPV6-RELAY-MIB::hwDhcpv6OptionTransparentUserVlanType.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HUAWEI-DSLAM-DHCPV6-RELAY-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HUAWEI-DSLAM-DHCPV6-RELAY-MIB::hwDhcpv6OptionTransparentUserVlanType'
Syntax
Bits
Values & Constraints
Enumerated Values
0 | untag |
1 | singleTag |
2 | multiTag |