R3303-HP HSR6800 Routers Layer 3 - IP Services Configuration Guide
171
Enabling the DHCPv6 server on an interface
To enable the DHCPv6 server to assign IPv6 prefixes to clients, you must apply an address pool when
enabling the DHCP server on the interface. If you only need the DHCPv6 server to assign IPv6 addresses
to clients, you do not need to apply an address pool.
Follow these guidelines when you enable the DHCPv6 server on an interface:
• An interface cannot serve as a DHCPv6 server and DHCPv6 relay agent at the same time.
• Only one address pool can be applied to an interface.
• A non-existing address pool can be applied to an interface, but the server cannot assign any prefix,
address, or other configuration information from the address pool until the address pool is created.
• You cannot modify the address pool applied to an interface or parameters such as the server
priority by using the ipv6 dhcp server command. To do so, disable the DHCPv6 server on the
interface first.
To enable the DHCPv6 server on an interface:
Ste
p
Command
Remarks
1. Enter system view.
system-view N/A
2. Enter interface view.
interface interface-type interface-number N/A
3. Enable the DHCPv6 server on
the interface.
ipv6 dhcp server [ allow-hint | apply pool
pool-number | preference
preference-value | rapid-commit ] *
Disabled by default.
Displaying and maintaining the DHCPv6 server
Task Command
Remarks
Display the DUID of the local
device.
display ipv6 dhcp duid [ | { begin | exclude |
include } regular-expression ]
Available in any view.
Display DHCPv6 address pool
information.
display ipv6 dhcp pool [ pool-number ] [ | { begin |
exclude | include } regular-expression ]
Available in any view.
Display prefix pool
information.
display ipv6 dhcp prefix-pool [ prefix-pool-number ]
[ | { begin | exclude | include } regular-expression ]
Available in any view.
Display DHCPv6 server
information on an interface.
display ipv6 dhcp server [ interface interface-type
interface-number ] [ | { begin | exclude | include }
regular-expression ]
Available in any view.
Display information about IPv6
address conflicts.
display ipv6 dhcp server conflict { address
ipv6-address | all | pool pool-number } [ | { begin |
exclude | include } regular-expression ]
Available in any view.
Display information about
expired IPv6 addresses.
display ipv6 dhcp server expired { address
ipv6-address | all | pool pool-number } [ | { begin |
exclude | include } regular-expression ]
Available in any view.