Administrator Guide

Layer 3 Routing Commands 1555
Route-maps and Diffserv cannot operate on the same interface due to
allocation of conflicting resources. An error is thrown to user if when
configuring a route-map on an interface on which diffserv has been previously
configured.
When a route map is configured on a VLAN interface and a Diffserv policy is
applied on any individual member port of the same VLAN interface, the port
policy (Diffserv) takes priority over the VLAN (route map)policy.
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.
2CSNXXX_SWUM204.book Page 1555 Monday, January 25, 2016 1:25 PM