ip redirects — interface
ip redirects no ip redirects
ICMP redirects for interfaces
An ICMP redirect packet is generated by a router to inform a host of a better route to some specific destination. The recipient of an ICMP redirect overrides its route table with the information given in the redirect packet. This command configures the sending of ICMP redirects for an interface. The router never processes received ICMP redirects while IP routing is enabled.
Redirects are enabled by default on all interfaces unless Hot Standby Routing Protocol (HSRP) is configured.
To avoid sending ICMP redirect packets out the
interface ethernet 0 no ip redirects