
13-11
z
Manual assignment: IPv6 link-local addresses can be assigned manually.
Follow these steps to configure an IPv6 unicast address:
To do...
Use the command...
Remarks
Enter system view
system-view
—
Enter interface view
interface interface-type
interface-number
—
Manually assign an
IPv6 address
ipv6 address
{
ipv6-address
prefix-length
|
ipv6-address/prefix-length
}
Configure
an IPv6
aggregatabl
e global
unicast
address or
site-local
address
Adopt the EUI-64
format to form an
IPv6 address
ipv6 address
ipv6-address/prefix-length
eui-64
One of the two commands is
required.
By default, no site-local
address or aggregatable
global unicast address is
configured for an interface.
Automatically
generate a link-local
address for the
interface
ipv6 address auto
link-local
Configure
an IPv6
link-local
address
Manually assign a
link-local address for
the interface
ipv6 address
ipv6-address link-local
Optional
By default, after an IPv6
site-local address or
aggregatable global unicast
address is configured for an
interface, a link-local address
will be generated
automatically.
z
After an IPv6 site-local address or aggregatable 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.
z
Manual assignment takes precedence over automatic generation. That is, if you first adopt
automatic generation and then manual assignment, the manually assigned link-local address will
overwrite the automatically generated one. If you first adopt manual assignment and then
automatic generation, the automatically generated link-local address will not take effect and the
link-local address of an interface is still the manually assigned one. If you delete the manually
assigned address, the automatically generated link-local address is validated.
z
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 site-local
address or aggregatable 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 site-local address or aggregatable global unicast address is configured, the
interface has no link-local address.
Содержание 4210G Series
Страница 459: ...4 8...
Страница 493: ...12 1...
Страница 968: ...19 6 000f e235 dc71 1 Config static GigabitEthernet 1 0 1 NOAGED 1 mac address es found...