HP VPN Firewall Appliances Network Management Configuration Guide

724
# 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 prefix pool 1 that contains the prefix with the ID 1 and specify the length of prefixes to be
assigned as 48. Prefix pool 1 can assign prefixes in the range of 12:34::/48 to 12:34:FFFF::/48.
[Firewall] ipv6 dhcp prefix-pool 1 prefix 1 assign-len 48
# Create address pool 1.
[Firewall] ipv6 dhcp pool 1
# Specify a static prefix with prefix ID 1 so that addresses in the subnet 12:34:56::/48 are assignable.
Set the preferred lifetime to one day, and valid lifetime to three days.
[Firewall-dhcp6-pool-1] network prefix 1 0:0:56::/48 preferred-lifetime 86400
valid-lifetime 259200
# Apply prefix pool 1 to address pool 1, and set the preferred lifetime to one day and the valid lifetime
to three days.
[Firewall-dhcp6-pool-1] prefix-pool 1 preferred-lifetime 86400 valid-lifetime 259200
# Apply DHCPv6 option group 1 to address pool 1.
[Firewall-dhcp6-pool-1] option-group 1
[Firewall-dhcp6-pool-1] quit
# Enable the DHCPv6 server on 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 information 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 address pool 1.
[Firewall] display ipv6 dhcp pool 1
Pool: 1
Network: 12:34:56::/48
Preferred lifetime 86400 sec, valid lifetime 259200 sec
Prefix pool: 1
Preferred lifetime 86400 sec, valid lifetime 259200 sec
Option group: 1
# Display information about DHCPv6 option group 1.
[Firewall] display ipv6 dhcp option-group 1
DHCPv6 option group: 1
Type: Static