The dhcpv6 relay advertise prefix-delegation route command enables a DHCPv6 relay agent to forward routing information of DHCPv6 prefix delegation (DHCPv6 PD) terminals.
The undo dhcpv6 relay advertise prefix-delegation route command disables a DHCPv6 relay agent from forwarding routing information of DHCPv6 PD terminals.
By default, a DHCPv6 relay agent does not forward routing information of DHCPv6 PD terminals.
dhcpv6 relay advertise prefix-delegation route
undo dhcpv6 relay advertise prefix-delegation route
VLANIF interface view, VBDIF interface view, Eth-Trunk interface view, GE interface view, XGE interface view, 25GE interface view, MultiGE interface view, MultiGE sub-interface view, 40GE interface view, 100GE interface view, Eth-Trunk sub-interface view, GE sub-interface view, XGE sub-interface view, 25GE sub-interface view, 40GE sub-interface view, 100GE sub-interface view
Usage Scenario
The dhcpv6 relay advertise prefix-delegation route command is used on DHCPv6 relay agents. DHCPv6 PD terminals cannot advertise IPv6 routes. This command enables a DHCPv6 relay agent to add routes of DHCPv6 PD terminals to the routing table when DHCPv6 PD terminals apply for IP addresses from the DHCPv6 server through the DHCPv6 relay agent. The DHCPv6 relay agent then forwards the routing information to the DHCPv6 server.
Prerequisites
The DHCPv6 relay function has been enabled on the interface using the dhcpv6 relay { destination ipv6-address | interface interface-type interface-number } or dhcpv6 relay server-select group-name command.
Precautions
This command takes effect only for the first-hop DHCPv6 relay agent connected to DHCPv6 PD terminals.
# Enable VLANIF10 to forward routing information of DHCPv6 PD terminals.
<HUAWEI> system-view [HUAWEI] dhcp enable [HUAWEI] ipv6 [HUAWEI] interface vlanif 10 [HUAWEI-Vlanif10] ipv6 enable [HUAWEI-Vlanif10] dhcpv6 relay destination FC00::1:3 [HUAWEI-Vlanif10] dhcpv6 relay advertise prefix-delegation route