hwDhcpv6Mode

HUAWEI-VLAN-MIB · .1.3.6.1.4.1.2011.5.6.1.25.1.25

Object

column r/w Enumeration
Indicates the VLAN-based DHCPv6 L2/L3 mode switch.
Options:
1. notConfig(1)      -indicates that the configuration in global mode takes effect.
2. layer2(2)         -indicates the DHCPv6 L2 forwarding mode.
                      In this mode, the device only transparently transmits
                      packets and does not process the packets.
3. layer3(3)         -indicates the standard mode of the DHCPv6 L3
                      forwarding mode. In this mode, packets select the
                      DHCPv6 server through the VLAN L3 interface that is
                      used for forwarding the DHCPv6 packets.
4. layer3option16(4) -indicates the option 16 mode of the DHCPv6 L3
                      forwarding mode. In this mode, packets select the
                      DHCPv6 server according to the option 16 field.
                      Option 16 is an option with code 16 in the DHCPv6 packets.
                      It can identify the terminal type. That is, packets can
                      select the DHCPv6 server according to terminal types.
              
This leaf is optional for creating a VLAN service profile.
The DHCPv6 L2/L3 mode in the global mode can also be set in hwDhcpv6RelayMode
of HUAWEI-DHCPV6-RELAY-MIB.
If a VLAN service profile is bound to the VLAN, and the hwDhcpv6Mode in VLAN service profile is not notConfig(1),
the configuration in the VLAN service profile takes effect. The global DHCPv6 L2/L3 mode, however, is not changed.
If no VLAN service profile is bound to the VLAN, or the hwDhcpv6Mode in VLAN service profile is notConfig(1),
the configuration in the global mode takes effect.

Context

MIB
HUAWEI-VLAN-MIB
OID
.1.3.6.1.4.1.2011.5.6.1.25.1.25
Type
column
Access
readwrite
Status
current
Parent
hwVlanSrvProfEntry

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

Syntax

Enumeration

Values & Constraints

Enumerated Values
1notConfig
2layer2
3layer3
4layer3option16