Enabling sending ICMPv6 redirect messages
About sending ICMPv6 redirect messages
Upon receiving a packet from a host, the device sends an ICMPv6 redirect message to inform the host of a better next hop when the following conditions are met:
The interface receiving the packet is the interface forwarding the packet.
The selected route is not created or modified by any ICMPv6 redirect messages.
The selected route is not a default route.
The forwarded packet does not contain the routing extension header.
The ICMPv6 redirect feature simplifies host management by enabling hosts that hold few routes to optimize their routing table gradually. However, to avoid adding too many routes on hosts, this feature is disabled by default.
Procedure
Enter system view.
system-view
Enable sending ICMPv6 redirect messages.
ipv6 redirects enable
By default, sending ICMPv6 redirect messages is disabled.