204
Parameters
ipv6-address: IPv6 link-local address. The first 10 bits of an address must be 1111111010 (binary).
The first group of hexadecimals in the address must be FE80 to FEBF.
Usage guidelines
Manual assignment takes precedence over automatic generation.
If you adopt automatic generation, and then use manual assignment, the manually assigned
link-local address overwrites the one that is automatically generated.
If you adopt manual assignment and then use automatic generation, both of the following occur:
The automatically generated link-local address does not take effect.
The manually assigned link-local address of an interface remains.
After you delete the manually assigned address, the automatically generated link-local address
takes effect. 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
Related commands
ipv6 address auto link-local
ipv6 hop-limit
Use ipv6 hop-limit to set the Hop Limit field in the IPv6 header.
Use undo ipv6 hop-limit to restore the default.
Syntax
ipv6 hop-limit value
undo ipv6 hop-limit
Default
The hop limit is 64.
Views
System view
Predefined user roles
network-admin
Parameters
Value: Specifies the number of hops, in the range of 1 to 255.
Usage guidelines
The hop limit determines the number of hops that an IPv6 packet generated by the device can travel.
If the device advertises the hop limit in RA messages (set by using the undo ipv6 nd ra hop-limit
unspecified command), all RA message receivers use the value set by using the ipv6 hop-limit
command to fill in the Hop Limit field.