Configuration guidelines, Configuration procedure, Configuring an ipv6 anycast address – H3C Technologies H3C S12500 Series Switches User Manual

Page 157

Advertising
background image

143

Configuration guidelines

When you configure automatic generation of an IPv6 link-local address for an interface, follow these

guidelines:

After an IPv6 global unicast address is configured for an interface, a link-local address is generated
automatically. The automatically generated link-local address is the same as the one generated by

using the ipv6 address auto link-local command. If a link-local address is manually assigned to an

interface, this manual link-local address takes effect. If the manually assigned link-local address is

removed, the automatically generated link-local address takes effect.

The undo ipv6 address auto link-local command can only remove the link-local addresses

generated through the ipv6 address auto link-local command. However, if an IPv6 global unicast
address is already configured for an interface, the interface still has a link-local address because

the system automatically generates one for the interface. If no IPv6 global unicast address is

configured, the interface has no link-local address.

Configuration procedure

To configure automatic generation of an IPv6 link-local address for an interface:

Step Command

Remarks

1.

Enter system view.

system-view

N/A

2.

Enter interface view.

interface interface-type
interface-number

N/A

3.

Configure the interface to

automatically generate an

IPv6 link-local address.

ipv6 address auto link-local

Optional.
By default, no link-local address is

configured on an interface.

To configure an IPv6 link-local address manually:

Step Command

Remarks

1.

Enter system view.

system-view

N/A

2.

Enter interface view.

interface interface-type
interface-number

N/A

3.

Configure an IPv6

link-local address
manually.

ipv6 address ipv6-address
link-local

Optional.
By default, no link-local address is
configured on an interface.

Configuring an IPv6 anycast address

Step Command

Remarks

1.

Enter system view.

system-view

N/A

2.

Enter interface view.

interface interface-type
interface-number

N/A

3.

Configure an IPv6 anycast
address.

ipv6 address ipv6-address |
prefix-length anycast

Optional.
By default, no IPv6 anycast
address is configured on an

interface.

Advertising