F3726, F3211, F3174, R5135, R3816-HP Firewalls and UTM Devices Network Management Configuration Guide-6PW100
678
Ste
p
Command
Remarks
920. Enter system view. system-view N/A
921. Enter interface view.
interface interface-type
interface-number
N/A
922. Configure an IPv6 address to
be generated through
stateless address
autoconfiguration.
ipv6 address auto
By default, no IPv6 global unicast address is
configured on an interface.
Using the undo ipv6 address auto command
on an interface removes all IPv6 global
unicast addresses automatically generated
on the interface.
1687BApplying a prefix to generate an IPv6 address
Before you apply a prefix to an interface to generate an IPv6 address, create an IPv6 prefix with one of
the following methods:
• 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
923. Enter system view. system-view N/A
924. Create an IPv6 prefix.
• (Approach 1) Specify a static IPv6
prefix:
ipv6 prefix prefix-number
ipv6-prefix/prefix-length
• (Approach 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 approach.
By default, no IPv6 prefix is
configured on the device.
925. Enter interface view. interface interface-type interface-number N/A
926. 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.
827BConfiguring 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.