159
[Sysname-Vlan-interface100] ipv6 address auto
ipv6 address auto link-local
Syntax
ipv6 address auto link-local
undo ipv6 address auto link-local
View
Interface view
Default level
2: System level
Parameters
None
Description
Use the
ipv6 address auto link-local
command to automatically generate a link-local address for an
interface.
Use the
undo ipv6 address auto link-local
command to remove the automatically generated link-local
address for the interface.
By default, no link-local address is configured on an interface, but it will automatically be generated after
a global IPv6 unicast address is configured for the interface.
NOTE:
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.
The
undo ipv6 address auto link-local
command can only remove the link-local addresses generated through
the
ipv6 address auto link-local
command. After the
undo ipv6 address auto link-local
command is used on
an interface that has an IPv6 global unicast address configured, the interface still has a link-local address. If the
interface has no IPv6 global unicast address configured, it will have no link-local address.
Manual assignment takes precedence over automatic generation. 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. For more
information about manual assignment of an IPv6 link-local address, see the
ipv6 address link-local
command.
Examples
# Configure VLAN-interface 100 to automatically generate a link-local address.
<Sysname> system-view
[Sysname] interface vlan-interface 100
[Sysname-Vlan-interface100] ipv6 address auto link-local
Содержание A5120 EI Series
Страница 26: ...18 Sysname Vlan interface1 ip address 202 38 160 1 255 255 255 0 sub ...
Страница 83: ...75 Sysname Vlan interface1 ip address dhcp alloc ...
Страница 189: ...181 Sysname tcp ipv6 window 4 ...