R0106-HP MSR Router Series Layer 3 - IP Services Command Reference(V7)

290
Views
System view
Predefined user roles
network-admin
Usage guidelines
The default gateway sends an ICMPv6 redirect message to the source of an IPv6 packet to inform the
source of a better first hop.
Sending ICMPv6 redirect messages enables hosts that hold few routes to establish routing tables and find
the best route. Because this function adds host route into the routing tables, host performance degrades
when there are too many host routes. As a result, sending ICMPv6 redirect messages is disabled by
default.
Examples
# Enable sending ICMPv6 redirect messages.
<Sysname> system-view
[Sysname] ipv6 redirects enable
ipv6 temporary-address
Use ipv6 temporary-address to enable the system to generate a temporary IPv6 address.
Use undo ipv6 temporary-address to disable temporary IPv6 address generation and remove the
existing temporary addresses.
Syntax
ipv6 temporary-address [ valid-lifetime preferred-lifetime ]
undo ipv6 temporary-address
Default
The system does not generate any temporary IPv6 address.
Views
System view
Predefined user roles
network-admin
Parameters
valid-lifetime: Specifies the valid lifetime for temporary IPv6 addresses, in the range of 600 to
4294967295 seconds. The default valid lifetime is 604800 seconds (7 days). The valid lifetime must be
greater than or equal to the preferred lifetime.
preferred-lifetime: Specifies the preferred lifetime for temporary IPv6 addresses, in the range of 600 to
4294967295 seconds. The default preferred lifetime is 86400 seconds (1 day).
Usage guidelines
You must enable stateless autoconfiguration before configuring the temporary address function.
The stateless address autoconfiguration enables an interface to automatically generate an IPv6 global
unicast address by using the address prefix in the received RA message and the interface ID. On an IEEE
802 interface (such as an Ethernet interface or a VLAN interface), the interface ID is generated based on