199
• If this feature is used in the PPPoE scenario, you do not need to execute the ipv6 dhcp
select relay
command. This is because the remote-server command is a must in this
configuration task and it implies that this device is a relay device.
Procedure
1. Enter system view.
system-view
2. Create a DHCPv6 address pool and enter its view.
ipv6 dhcp pool pool-name
3. Specify gateway addresses for the clients matching the DHCPv6 address pool.
gateway-list ipv6-address&<1-8>
By default, no gateway address is specified.
4. Specify DHCPv6 servers for the DHCPv6 address pool.
remote-server ipv6-address [ interface interface-type
interface-number
]
By default, no DHCPv6 server is specified for the DHCPv6 address pool.
Specifying a gateway address for DHCPv6 clients
About specifying a gateway address for DHCPv6 client
By default, the DHCPv6 relay agent fills the link-address field of DHCPv6 Solicit and Request
packets with the first IPv6 address of the relay interface. You can specify a gateway address on the
relay agent for DHCPv6 clients. The DHCPv6 relay agent uses the specified gateway address to fill
the link-address field of DHCPv6 Solicit and Request packets.
Procedure
1. Enter system view.
system-view
2. Enter interface view.
interface interface-type interface-number
3. Specify a gateway address for DHCPv6 clients.
ipv6 dhcp relay gateway ipv6-address
By default, the DHCPv6 relay agent uses the first IPv6 address of the relay interface as the
clients' gateway address.
Setting the DSCP value for DHCPv6 packets sent
by the DHCPv6 relay agent
About setting the DSCP value for DHCPv6 packets
The DSCP value of a packet specifies the priority level of the packet and affects the transmission
priority of the packet.
Procedure
1. Enter system view.
system-view
2. Set the DSCP value for DHCPv6 packets sent by the DHCPv6 relay agent.
ipv6 dhcp dscp dscp-value