The link-address command configures the network prefix in the IPv6 address pool view.
The undo link-address command deletes the network prefix configured in the IPv6 address pool view.
By default, no network prefix is configured in the IPv6 address pool view.
Parameter |
Description |
Value |
---|---|---|
ipv6-prefix/ipv6-prefix-length |
Specifies the network prefix and prefix length. |
ipv6-prefix: 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. ipv6-prefix-length: The value is an integer that ranges from 16 to 128. |
Usage Scenario
The DHCPv6 client needs to apply for network configuration information (for example, the IP address of the DNS server) except for the IPv6 address from the DHCPv6 server. If the address prefix is not configured in the IPv6 address pool, you can run the link-address command to configure the network prefix in the IPv6 address pool view.
When the device functions as the DHCPv6 server:
When the device functions as the DHCPv6 PD server:
Prerequisites
Idle addresses or prefixes are assigned to DHCPv6 clients from the IPv6 address pool. Reserved addresses, conflicted addresses, and used addresses cannot be assigned to DHCPv6 clients. Reserved addresses include unspecified addresses, multicast addresses, loopback addresses, link-local addresses, NSAP addresses, and anycast addresses (defined in RFC 2526).