HP VPN Firewall Appliances Network Management Configuration Guide

727
[FirewallA-dhcp6-pool-1] sip-server domain-name bbb.com
[FirewallA-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.
[FirewallA] interface gigabitethernet 0/1
[FirewallA-GigabitEthernet0/1] ipv6 dhcp server apply pool 1 allow-hint preference
255 rapid-commit
[FirewallA-GigabitEthernet0/1] quit
2. Configure Firewall B as the DHCPv6 client:
# Enable IPv6.
<FirewallB> system-view
[FirewallB] ipv6
# Configure interface GigabitEthernet 0/2 to use DHCPv6 for IPv6 prefix acquisition, and specify
the prefix ID as 1 and option group ID as 1.
[FirewallB] interface gigabitethernet 0/2
[FirewallB-GigabitEthernet0/2] ipv6 dhcp client pd 1 rapid-commit option-group 1
[FirewallB-GigabitEthernet0/2] quit
3. Configure Firewall B as the DHCPv6 server:
# Enable the DHCPv6 server.
[FirewallB] ipv6 dhcp server enable
# Configure an IPv6 address for interface GigabitEthernet 0/1.
[FirewallB] interface gigabitethernet 0/1
[FirewallB-GigabitEthernet0/1] ipv6 address 12:34:56::1/48
[FirewallB-GigabitEthernet0/1] quit
# Create a prefix pool and specify the prefix ID 1.
[FirewallB] ipv6 dhcp prefix-pool 1 prefix 1 assign-len 48
# Create address pool 1, specify the prefix ID 1, and set the preferred lifetime to one day, and
valid lifetime to three days.
[FirewallB] ipv6 dhcp pool 1
[FirewallB-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.
[FirewallB-dhcp6-pool-1] prefix-pool 1 preferred-lifetime 86400 valid-lifetime
259200
# Apply option group 1 to the address pool.
[FirewallB-dhcp6-pool-1] option-group 1
[FirewallB-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.
[FirewallB] interface gigabitethernet 0/1
[FirewallB-GigabitEthernet0/1] ipv6 dhcp server apply pool 1 allow-hint preference
255 rapid-commit
[FirewallB-GigabitEthernet0/1] quit