IP Routing Protocol-Independent Commands
Cisco Sx350 Ph. 2.2.5 Devices - Command Line Interface Reference Guide 522
25
25.2 ip redirects
Use the ip redirects command in IP Interface Configuration mode to enable the
sending of ICMP redirect messages to re-send a packet through the same
interface on which the packet was received. To disable the sending of redirect
messages, use the no form of this command.
Syntax
ip redirects
no ip redirects
Parameters
N/A.
Default Configuration
The sending of ICMP redirect messages is enabled.
Command Mode
IP Configuration mode
Example
The following example disables the sending of ICMP redirect messages on IP
interface 1.1.1.1 and re-enables the messages on IP interface 2.2.2.2:
switchxxxxxx(config)#
interface
ip 1.1.1.1
switchxxxxxx(config-ip)#
no ip redirects
switchxxxxxx(config-ip)#
exit
switchxxxxxx(config)#
interface ip
2.2.2.2
switchxxxxxx(config-ip)#
ip redirects
switchxxxxxx(config-ip)#
exit