O'Reilly logo

Cisco IOS in a Nutshell, 2nd Edition by James Boney

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Name

ip redirects — interface

Synopsis

ip redirects
no ip redirects

Configures

ICMP redirects for interfaces

Default

Enabled

Description

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.

Example

To avoid sending ICMP redirect packets out the ethernet0 interface:

interface ethernet 0
  no ip redirects

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required