16-5
z
For detailed information about the
ipv6 address auto
command,
see IPv6 Basics Configuration
Commands in the Layer 3 - IP Services Command Reference.
z
With an IPv6 address obtained through stateless address autoconfiguration, a device
automatically enables the stateless DHCPv6 function to obtain other configuration parameters
upon receiving an RA message with the “M” flag set to 0 and with the “O” flag set to 1.
z
An interface cannot serve as a stateless DHCPv6 client and DHCPv6 relay agent at the same
time.
Configuring the DHCPv6 Relay Agent
Upon receiving a Solicit message from a DHCPv6 client, the interface that operates as a DHCPv6
relay agent encapsulates the request into a Relay-forward message and forwards the message to the
specified DHCPv6 server, which then assigns an IPv6 address and other configuration parameters to
the DHCPv6 client.
Configuration Prerequisites
Before configuring DHCPv6 relay agent, you need to use the
ipv6
command to enable IPv6.
Configuration Procedure
Follow these steps to configure the DHCPv6 relay agent:
To do…
Use the command…
Remarks
Enter system view
system-view
—
Enter interface view
interface interface-type interface-number
—
Enable DHCPv6 relay agent on
the interface and specify a
DHCPv6 server
ipv6 dhcp relay server-address ipv6-address
[
interface interface-type interface-number
]
Required
By default, DHCPv6
relay agent is disabled
and no DHCPv6 server is
specified on the
interface.