Enabling sending ICMP redirect messages
About ICMP redirect messages
A host that has only one default route 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.
ICMP redirect messages simplify host management and enable hosts to gradually optimize their routing table.
Procedure
Enter system view.
system-view
Enable sending ICMP redirect messages.
ip redirects enable
By default, the sending of ICMP redirect messages is disabled.