HP VPN Firewall Appliances Network Management Configuration Guide
685
• Use the ipv6 prefix command to create a static IPv6 prefix.
• Configure the device to use DHCPv6 for prefix acquisition. The client generates an IPv6 prefix with
a specific ID based on the prefix obtained from the DHCPv6 server. For more information, see the
ipv6 dhcp client pd command in Layer 3—IP Services Command Reference.
To apply an IPv6 prefix to an interface to generate an IPv6 address:
Ste
p
Command
Remarks
1. Enter system view.
system-view N/A
2. Create an IPv6 prefix.
• (Method 1) Specify a static IPv6 prefix:
ipv6 prefix prefix-number
ipv6-prefix/prefix-length
• (Method 2) Configure the device to
obtain an IPv6 prefix from the DHCPv6
server, and generate an IPv6 prefix with
a specific ID:
See "Configuring the DHCPv6 client."
Use either method.
By default, no IPv6 prefix is
configured on the device.
3. Enter interface view.
interface interface-type interface-number N/A
4. Apply a prefix to generate
an IPv6 address.
ipv6 address prefix-number
sub-prefix/prefix-length
By default, no prefix is
applied for IPv6 address
generation on an interface.
Configuring an IPv6 link-local address
IPv6 link-local addresses can be configured in either of the following ways:
• Automatic generation—The device automatically generates a link-local address for an interface
according to the link-local address prefix (FE80::/10) and the link-layer address of the interface.
• Manual assignment—IPv6 link-local addresses can be assigned manually.
An interface can have only one link-local address. To avoid link-local address conflicts, use the automatic
generation method.
Manual assignment takes precedence over automatic generation.
• If you first use automatic generation and then manual assignment, the manually assigned link-local
address overwrites the automatically generated one.
• If you first use manual assignment and then automatic generation, the automatically generated
link-local address does not take effect and the link-local address is still the manually assigned one.
If you delete the manually assigned address, the automatically generated link-local address is
validated.
To configure automatic generation of an IPv6 link-local address for an interface:
Ste
p
Command
Remarks
1. Enter system view.
system-view N/A
2. Enter interface view.
interface interface-type
interface-number
N/A