free hit counter

Ip Routing Protocol-Independent Commands; Ip Redirects - Cisco 300 Series Cli Manual

Stackable managed switches
Hide thumbs Also See for 300 Series:
Table of Contents

Advertisement

IP Routing Protocol-Independent Commands

OL-32830-01 Command Line Interface Reference Guide
23.0
23.1

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)#
switchxxxxxx(config-ip)#
switchxxxxxx(config-ip)#
switchxxxxxx(config)#
switchxxxxxx(config-ip)#
interface ip 1.1.1.1
no ip redirects
exit
interface ip 2.2.2.2
ip redirects
23
467

Advertisement

Table of Contents
loading