197
Figure 75 Operating process of a DHCPv6 relay agent
DHCPv6 relay agent tasks at a glance
To configure a DHCPv6 relay agent, perform the following tasks:
1. Enabling the DHCPv6 relay agent on an interface
2. Specifying DHCPv6 servers on the relay agent
3. (Optional.) Specifying a gateway address for DHCPv6 clients
4. (Optional.) Setting the DSCP value for DHCPv6 packets
sent by the DHCPv6 relay agent
5. (Optional.) Specifying a padding mode for the Interface-ID option
6. (Optional.) Enabling the DHCPv6 relay agent to advertise IPv6 prefixes
7. (Optional.) Configuring DHCPv6 relay security features
Enabling the DHCPv6 relay agent on an interface
Restrictions and guidelines
As a best practice, do not enable DHCPv6 relay agent and DHCPv6 client on the same interface.
Procedure
1. Enter system view.
system-view
2. Enter interface view.
interface interface-type interface-number
3. Enable DHCPv6 relay agent on the interface.
ipv6 dhcp select relay
By default, the DHCPv6 relay agent is disabled on the interface.
(1) Solicit (contains a Rapid Commit option)
(4) Reply
DHCPv6 client DHCPv6 relay agent DHCPv6 server
(2) Relay-forward
(3) Relay-reply