CLI Guide

Layer 3 Routing Commands 1509
Example
Considering equal-access as a route-map configured earlier, the following
sequence is an example of how a route map is applied to a VLAN.
console(config)#interface vlan 10
console(config-if-vlan10)#ip policy route-map equal-access
ip redirects
Use the ip redirects command to enable the generation of ICMP Redirect
messages. Use the no form of this command to prevent the sending of ICMP
Redirect Messages. In global configuration mode, this command affects all
interfaces. In interface configuration mode, it only affects that interface.
Syntax
ip redirects
no ip redirects
Default Configuration
ICMP Redirect messages are enabled by default.
Command Mode
Global Configuration mode, Virtual Router Configuration mode, Interface
Configuration (VLAN) mode
User Guidelines
When in virtual router configuration mode, this command operates within
the context of the virtual router instance. When in global config mode, the
command operates on the global router instance.
Virtual Router Configuration mode is only available on the N3000-ON/N3100
switches.
Example
console(config-if-vlan10)#ip redirects