37
ipv6 address auto link-local
Use
ipv6 address auto link-local
to automatically generate a link-local address for an
interface.
Use
undo ipv6 address auto link-local
to restore the default.
Syntax
ipv6 address auto link-local
undo ipv6 address auto link-local
Default
No link-local address is configured on an interface. A link-local address is automatically generated
after an IPv6 global unicast address is configured for the interface.
Views
Interface view
Predefined user roles
network-admin
Usage guidelines
Link-local addresses are used for neighbor discovery and stateless autoconfiguration on the local
link. Packets using link-local addresses as the source or destination addresses cannot be
forwarded to other links.
After an IPv6 global unicast address is configured for an interface, a link-local address is
automatically generated. This 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 deletes only the link-local addresses
generated through the
ipv6 address auto link-local
command. If the
undo
command is
executed on an interface with an IPv6 global unicast address configured, the interface still has a
link-local address.
You can also manually assign an IPv6 link-local address for an interface by using the
ipv6
address link-local
command. Manual assignment takes precedence over automatic
generation for IPv6 link-local addresses.
•
If you first use automatic generation and then manual assignment, the manually assigned
link-local address overwrites the automatically generated address.
•
If you first use manual assignment and then automatic generation, both of the following occur:
The automatically generated link-local address does not take effect.
The link-local address of an interface is still the manually assigned address.
If you delete the manually assigned address, the automatically generated link-local address
takes effect.
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
Related commands
ipv6 address link-local
Summary of Contents for SOHO IE4300
Page 285: ...i Contents Tcl commands 1 cli 1 tclquit 1 tclsh 2...
Page 288: ...i Contents Python commands 1 exit 1 python 1 python filename 2...
Page 291: ...i Contents Automatic configuration commands 1 autodeploy udisk enable 1...
Page 323: ...25 Sysname Ten GigabitEthernet1 0 51 undo shutdown Related commands irf port...
Page 465: ...ii stp vlan enable 55 vlan mapping modulo 55...
Page 602: ...12 Related commands display mvrp statistics...
Page 609: ...i Contents VLAN mapping commands 1 display vlan mapping 1 vlan mapping 2...
Page 678: ...9 Related commands reset pppoe relay statistics...
Page 846: ...i Contents Basic IP forwarding commands 1 display fib 1 ip forwarding table save 2...
Page 1770: ...i Contents Time range commands 1 display time range 1 time range 1...
Page 2026: ...34 Related commands display mac authentication...
Page 2028: ...ii...
Page 2143: ...i Contents User profile commands 1 display user profile 1 user profile 2...
Page 2308: ...61 ipsec transform set...
Page 2531: ...i Contents SAVI commands 1 ipv6 savi down delay 1 ipv6 savi log enable 1 ipv6 savi strict 2...
Page 2534: ...3 Sysname ipv6 savi strict Related commands ipv6 verify source...
Page 2791: ...14 Sysname track 1 Related commands delay display track...
Page 2939: ...9 sntp authentication keyid sntp reliable authentication keyid...
Page 2967: ...27 Related commands apply poe profile poe enable poe max power interface view poe priority...