ip icmp redirect

Syntax

ip icmp redirect
no ip icmp redirect

Description

Enables the sending of ICMPv4 and ICMPv6 redirect messages to the source host. Default setting. ICMP redirect and active forwarding are mutually exclusive.

The no form of this command disables ICMPv4 and ICMPv6 redirect messages to the source host.

Command context

config

Authority

Administrators

Examples

Enabling ICMP redirect messages:

switch(config)# ip icmp redirect

Disabling ICMP redirect messages:

switch(config)# no ip icmp redirect