HP VPN Firewall Appliances Network Management Configuration Guide

721
[Firewall-GigabitEthernet0/1] ipv6 address 12:34:56::1/48
[Firewall-GigabitEthernet0/1] quit
# Create a static DHCPv6 option group 1.
[Firewall] ipv6 dhcp option-group 1
# Specify the DNS server address as 2:2::3.
[Firewall-dhcp6-option-group1] dns-server 2:2::3
# Specify the domain name suffix as aaa.com.
[Firewall-dhcp6-option-group1] domain-name aaa.com
# Specify the SIP server address as 2:2::4, and the domain name of the SIP server as bbb.com.
[Firewall-dhcp6-option-group1] sip-server address 2:2::4
[Firewall-dhcp6-option-group1] sip-server domain-name bbb.com
[Firewall-dhcp6-option-group1] quit
# Create address pool 1.
[Firewall] ipv6 dhcp pool 1
# In address pool 1, bind IPv6 address 12:34:56::A/48 to DUID 00010006498D43220001. Set the
preferred lifetime to one day and valid lifetime to three days.
[Firewall-dhcp6-pool-1] static-bind address 12:34:56::A/48 duid 00010006498d43220001
preferred-lifetime 86400 valid-lifetime 259200
# Specify a subnet 12:34:56::/48, and set the preferred lifetime to 1 day and valid lifetime to three
days.
[Firewall-dhcp6-pool-1] network 12:34:56::/48 preferred-lifetime 86400 valid-lifetime
259200
# Apply option group 1 to address pool 1.
[Firewall-dhcp6-pool-1] option-group 1
[Firewall-dhcp6-pool-1] quit
# Enable the DHCPv6 server on interface GigabitEthernet 0/1, apply address pool 1 to the interface,
enable the desired address/prefix assignment and rapid address/prefix assignment, and set the
precedence to the highest.
[Firewall] interface gigabitethernet 0/1
[Firewall-GigabitEthernet0/1] ipv6 dhcp server apply pool 1 allow-hint preference 255
rapid-commit
[Firewall-GigabitEthernet0/1] quit
Verifying the configuration
# Display DHCPv6 server configuration on GigabitEthernet 0/1.
[Firewall] display ipv6 dhcp server interface gigabitethernet 0/1
Using pool: 1
Preference value: 255
Allow-hint: Enabled
Rapid-commit: Enabled
# Display information about DHCPv6 option group 1.
[Firewall] display ipv6 dhcp option-group 1
DHCPv6 option group: 1
Type: Static
DNS server addresses:
2:2::3