Method to configure the DHCPv6 relay on S series switches

S series switches excluding the S1700 support the DHCPv6 relay function. You can use either of the following modes:
- Configure the IPv6 address of the DHCPv6 server or next-hop relay agent on the interface.
[HUAWEI] dhcp enable
[HUAWEI] ipv6
[HUAWEI] interface vlanif 100
[HUAWEI-Vlanif100] ipv6 enable
[HUAWEI-Vlanif100] dhcpv6 relay destination fc00:1::1 //Enable the relay function and configure the address of the DHCP server or next-hop relay agent.
- Bind the DHCPv6 server group to an interface.
[HUAWEI] dhcp enable
[HUAWEI] ipv6
[HUAWEI] dhcpv6 server group DHCPv6-srv1 //Create a DHCPv6 server group.
[HUAWEI-dhcpv6-server-group-DHCPv6-srv1] dhcpv6-server fc00:1::1 //Add the DHCPv6 server at fc00:1::1.
[HUAWEI-dhcpv6-server-group-DHCPv6-srv1] quit
[HUAWEI] interface vlanif 100
[HUAWEI-Vlanif100] ipv6 enable
[HUAWEI-Vlanif100] dhcpv6 relay server-select DHCPv6-srv1 //Bind the DHCPv6 server group that has been created to an interface.

Scroll to top