The dhcpv6-server command adds a DHCPv6 server or a next-hop relay agent to a DHCPv6 server group.
The undo dhcpv6-server command deletes a DHCPv6 server or a next-hop relay agent that is configured in a DHCPv6 server group.
By default, no DHCPv6 server or next-hop relay agent is configured in a DHCPv6 server group.
dhcpv6-server ipv6-address [ interface interface-type interface-number ]
undo dhcpv6-server ipv6-address [ interface interface-type interface-number ]
Parameter |
Description |
Value |
---|---|---|
ipv6-address |
Specifies the IPv6 address of a DHCPv6 server or a next-hop relay agent. |
The 128-bit IPv6 address is divided into eight groups. Each group contains four hexadecimal digits. The format is X:X:X:X:X:X:X:X. |
interface interface-type interface-number |
Specifies the type and number of an outbound interface for DHCPv6 packets.
|
- |
Use Scenario
The dhcpv6-server command is used on DHCPv6 relay agents. To ensure that the DHCPv6 relay agent can send DHCPv6 packets to multiple DHCPv6 servers, you can configure multiple DHCPv6 servers in a DHCPv6 server group. Multiple DHCPv6 servers can allocate IPv6 addresses and other network configuration information to DHCPv6 clients through the DHCPv6 relay agent.
A DHCPv6 client and a DHCPv6 server can have multiple DHCPv6 relay agents connected in between. A device functions as a DHCPv6 relay agent. If the device is connected to a DHCPv6 server, you need to specify the IPv6 address for the DHCPv6 server. If the device is connected to a next-hop relay agent, you need to specify the IPv6 address for the next-hop relay agent and specify the IPv6 address of the remote DHCPv6 server or the next-hop relay agent on the next-hop relay agent.Prerequisites
A DHCPv6 server group has been created using the dhcpv6 server group command.
Precautions
If a DHCPv6 relay agent is connected to multiple DHCPv6 servers or next-hop relay agents, repeat this step. A maximum of 20 DHCPv6 servers or next-hop relay agents can be connected to the device.