ip icmp redirect

Enables IPv4 Internet Control Message Protocol (ICMP) Redirect messages, which request that packets be sent on an alternative route.

Syntax

ip icmp redirect
no ip icmp redirect

Command Default

ICMP redirect messages are disabled by default.

Modes

Interface configuration mode

Usage Guidelines

Note

Note

This command is only available on SLX 9640 and SLX 9540.
Note

Note

This command is not supported on port-channel (PO)/virtual ethernet (VE) interfaces.

The no form of the command disables IPv4 ICMP Redirect messages.

User can disable ICMP redirect messages when traffic needs to be routed into and out of the same Layer 3 interface.

Examples

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