ipv6 dhcp advertise pd-route
Use ipv6 dhcp advertise pd-route to enable the DHCPv6 server or DHCPv6 relay agent to advertise IPv6 prefixes.
Use undo ipv6 dhcp advertise pd-route to disable the DHCPv6 server or DHCPv6 relay agent from advertising IPv6 prefixes.
Syntax
ipv6 dhcp advertise pd-route
undo ipv6 dhcp advertise pd-route
Default
The DHCPv6 server or DHCPv6 relay agent does not advertise IPv6 prefixes.
Views
System view
Predefined user roles
network-admin
mdc-admin
Usage guidelines
A DHCPv6 client can obtain an IPv6 prefix through DHCPv6 and use the IPv6 prefix for IPv6 address assignment in a downstream network. If the IPv6 prefix is in a different subnet than the IPv6 address of the DHCPv6 client's upstream interface, the downstream network cannot access the external network. You can use this command to configure the DHCPv6 server or DHCPv6 relay agent, whichever is on the same link as the DHCPv6 client, to advertise the IPv6 prefix.
To use this command on the DHCPv6 relay agent, you must enable the DHCPv6 relay agent to record DHCPv6 relay entries first.
Examples
# Enable the DHCPv6 server to advertise IPv6 prefixes.
<Sysname> system-view [Sysname] ipv6 dhcp advertise pd-route