Dns proxy configuration example, Configuring an ipv6 link-local address – H3C Technologies H3C S12500 Series Switches User Manual

Page 125

Advertising
background image

112

EUI-64 IPv6 address—The IPv6 address prefix of the interface is manually configured, and the

interface identifier is generated automatically by the interface.

Manual configuration—The IPv6 global unicast address is manually configured.

Stateless address autoconfiguration—The IPv6 global unicast address is generated automatically

based on the address prefix information contained in the RA message. The device does not support
this configuration method.

You can configure multiple IPv6 global unicast addresses with different prefixes on an interface.
A manually configured global unicast address (including an EUI-64 IPv6 address) takes precedence over

an automatically generated one. If a global unicast address has been automatically generated on an
interface when you manually configure another one with the same address prefix, the latter overwrites

the previous. The overwritten automatic global unicast address will not be restored even if the manual

one is removed. Alternatively, a new global unicast address will be automatically generated based on

the address prefix information in the RA message that the interface receives at the next time.

388B

EUI-64 IPv6 address

To configure an interface to generate an EUI-64 IPv6 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 the interface to
generate an EUI-64 IPv6

address.

ipv6 address { ipv6-address
prefix-length
|

ipv6-address/prefix-length }

eui-64

By default, no IPv6 global unicast
address is configured on an interface.

389B

Manual configuration

To configure an IPv6 global unicast 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 an IPv6 global
unicast address for the

interface.

ipv6 address { ipv6-address
prefix-length
|
ipv6-address/prefix-length }

By default, no IPv6 global unicast
address is configured on an interface.

260B

Configuring an IPv6 link-local address

Configure IPv6 link-local addresses using one of the following methods:

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—Manually configure an IPv6 link-local address for an interface.

An interface can have only one link-local address. To avoid link-local address conflicts, use the automatic

generation method.

Advertising