Information
The Cisco device should be configured to have Internet Control Message Protocol (ICMP) redirect messages disabled on all external interfaces.
The ICMP supports IP traffic by relaying information about paths, routes, and network conditions. Switches automatically send ICMP messages under a wide variety of conditions. Redirect ICMP messages are commonly used by attackers for network mapping and diagnosis.
Solution
Disable ICMP redirects on all external interfaces as shown in the example below:
SW1(config)#int g0/1
SW1(config-if)#no ip redirects