Configuring the dhcpv6 relay agent, Configuration prerequisites, Configuration procedure – H3C Technologies H3C S7500E Series Switches User Manual
Page 152

14-5
To do…
Use the command…
Remarks
Enable the IPv6 packet forwarding function
ipv6
Required
Enter interface view
interface interface-type
interface-number
—
Enable IPv6 stateless address
autoconfiguration
ipv6 address auto
Required
z
For detailed information about the ipv6 address auto command, refer to 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 request 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
—