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

224
Default
Sending ICMP redirect messages is disabled.
Views
System view
Predefined user roles
network-admin
Usage guidelines
ICMP redirect messages simplify host management and enable hosts to gradually optimize its routing
table.
A host that has only one route destined to the default gateway sends all packets to the default gateway.
The default gateway sends an ICMP redirect message to inform the host of a correct next hop by
following these rules:
The receiving and sending interfaces are the same.
The selected route is not created or modified by any ICMP redirect messages.
The selected route is not destined for 0.0.0.0.
There is no source route option in the received packet.
Examples
# Enable sending ICMP redirect messages.
<Sysname> system-view
[Sysname] ip redirects enable
ip ttl-expires enable
Use ip ttl-expires enable to enable sending ICMP time exceeded messages.
Use undo ip ttl-expires enable to disable sending ICMP time exceeded messages.
Syntax
ip ttl-expires enable
undo ip ttl-expires enable
Default
Sending ICMP time exceeded messages is disabled.
Views
System view
Predefined user roles
network-admin
Usage guidelines
A device sends ICMP time exceeded messages by following these rules:
If a received packet is not destined for the device and the TTL field of the packet is 1, the device
sends an ICMP TTL exceeded in transit message to the source.