ip redirects

Use this global command to trap ICMP redirect packets to the CPU and on interface to enable ICMP redirects in kernel.

Use the no form of this command to disable the ICMP redirect message on an interface.

This command is applicable for both IPv4 and IPv6 interfaces.

Command Syntax

Copy
ip redirects
no ip redirects

Parameters

None

Default

None

Command Mode

Interface mode

Applicability

Introduced in OcNOS version 3.0.

Example

Copy
#configure terminal 
(config)#interface xe1/1
(config-if)#ip redirects

#configure terminal 
(config)#interface xe1/1
(config-if)#no ip redirects