161
Description
Use the ipv6 address link-local command to configure a link-local address for the interface.
Use the undo ipv6 address link-local command to remove the configured link-local address for the
interface.
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 automatic generation of an IPv6 link-local address, see the ipv6 address
auto link-local command.
Examples
# Configure a link-local address for VLAN-interface 100.
<Sysname> system-view
[Sysname] interface vlan-interface 100
[Sysname-Vlan-interface100] ipv6 address fe80::1 link-local
ipv6 hoplimit-expires enable
Syntax
ipv6 hoplimit-expires enable
undo ipv6 hoplimit-expires
View
System view
Default level
2: System level
Parameters
None
Description
Use the ipv6 hoplimit-expires enable command to enable the sending of ICMPv6 Time Exceeded
packets.
Use the undo ipv6 hoplimit-expires command to disable the sending of ICMPv6 Time Exceeded packets.
By default, the sending of ICMPv6 Time Exceeded packets is enabled.
After you disable the sending of ICMPv6 Time Exceeded packets, the switch will still send Fragment
Reassembly Time Exceeded packets.
Examples
# Disable the sending of ICMPv6 Time Exceeded packets.
<Sysname> system-view
[Sysname] undo ipv6 hoplimit-expires