HP VPN Firewall Appliances Network Management Command Reference
756
Some DHCPv6 options can be specified by the option command or other dedicated commands. For
example, to specify the DNS server address, you can use the dns-server command or the option 23
command. If both commands are configured, the dns-server command takes precedence.
Examples
# Configure the hexadecimal string 020202 for the self-defined DHCP Option 23 in DHCPv6 address
pool 1. The DHCPv6 server assigns the DNS server address 2.2.2.2 to clients.
<Sysname> system-view
[Sysname] ipv6 dhcp pool 1
[Sysname-dhcp6-pool-1] option 23 hex 02020202
option-group
Use option-group to apply a DHCPv6 option group to the address pool so that the DHCPv6 server
assigns parameters in the option group to DHCP6 clients.
Use undo option-group to remove the DHCPv6 option group application.
Syntax
option-group option-group-number
undo option-group
Default
No DHCPv6 option group is configured.
Views
DHCPv6 address pool view
Default command level
2: System level
Parameters
option-group-number: Specifies a DHCPv6 option group by its ID in the range of 1 to 100.
Usage guidelines
Only one DHCPv6 option group can be applied to one DHCPv6 address pool. You cannot repeatedly
execute the command in the same address pool.
Configuration parameters in the address pool take precedence over these in the DHCPv6 option group.
Examples
# Apply DHCPv6 option group 1 to DHCPv6 address pool 1.
<Sysname> system-view
[Sysname] ipv6 dhcp pool 1
[Sysname-dhcp6-pool-1] option-group 1
prefix-pool
Use prefix-pool to apply a prefix pool to the DHCPv6 address pool, so that the DHCPv6 server can
dynamically select a prefix from the prefix pool and assign it to the client.
Use undo prefix-pool to remove the configuration.