Enables IPv4 Internet Control Message Protocol (ICMP) Redirect messages, which request that packets be sent on an alternative route.
ICMP redirect messages are enabled by default.
Interface configuration mode
Port-channel configuration mode
The no form of the command disables IPv4 ICMP Redirect messages.
You can disable ICMP redirect messages when traffic needs to be routed into and out of the same Layer 3 interface. Disabling redirects helps prevent the handling of production traffic in the CPU of Layer 3 switches and routers.
The following example enables IPv4 ICMP Redirect messages on an Ethernet interface.
device(config)# interface ethernet 2/5 device(conf-int-eth-2/5)# ip icmp redirect