R21xx-HP FlexFabric 11900 Layer 3 IP Services Command Reference

234
Usage guidelines
The DHCPv6 server fills the self-defined option with the specified hex string and sends it in a response to
the client.
If you use the option command multiple times with the same code specified, the most recent configuration
takes effect.
You can self-define options for the following purposes:
Add newly released options.
Add options for which the vendor defines the contents, Option 43 for example.
Add options for which the CLI does not provide a dedicated configuration command like dns-server.
For example, you can use the option 31 hex 00c80000000000000000000000000001 command
to define the NTP server address 200::1 for DHCP clients.
Add all option values if the actual requirement exceeds the limit for a dedicated option
configuration command. For example, the dns-server command can specify up to eight DNS
servers. To specify more than eight DNS servers, you must use the option 23 command to define all
DNS servers.
If a DHCPv6 option is specified by both the dedicated command and the option command, the DHCPv6
server preferentially assigns the content specified by the dedicated command. For example, if a DNS
server address is specified by the dns-server command and the option 23 command, the server uses the
address specified by dns-server command.
Examples
# Configure Option 23 that specifies a DNS server address 2001:f3e0::1 in DHCPv6 address pool 1.
<Sysname> system-view
[Sysname] ipv6 dhcp pool 1
[Sysname-dhcp6-pool-1] option 23 hex 2001f3e0000000000000000000000001
Related commands
display ipv6 dhcp pool
dns-server
domain-name
sip-server
prefix-pool
Use prefix-pool to apply a prefix pool to a DHCPv6 address pool, so the DHCPv6 server can
dynamically select a prefix from the prefix pool for a client.
Use undo prefix-pool to remove the configuration.
Syntax
prefix-pool prefix-pool-number [ preferred-lifetime preferred-lifetime valid-lifetime valid-lifetime ]
undo prefix-pool prefix-pool-number
Default
No prefix pool is applied to an address pool.
Views
DHCPv6 address pool view