Command:

ip local policy route-map


Mode:

Router(config)#


Syntax:

ip local policy route-map map-tag
no ip local policy route-map map-tag

 

Syntax Description:

map-tag Name of the route map to use for local policy routing. The name must match a map-tag value specified by a route-map command.

 

Command Description:

To identify a route map to use for local policy routing, use the ip local policy route-map command in global configuration mode. To disable local policy routing, use the no form of this command.

Packets that are generated by the router are not normally policy routed. However, you can use this command to policy route such packets. You might enable local policy routing if you want packets originated at the router to take a route other than the obvious shortest path.

The ip local policy route-map command identifies a route map to use for local policy routing. Each route-map command has a list of match and set commands associated with it. The match commands specify the match criteria--the conditions under which packets should be policy routed. The set commands specify the set actions�the particular policy routing actions to perform if the criteria enforced by the match commands are met. The no ip local policy route-map command deletes the reference to the route map and disables local policy routing.

By default, packets that are generated by the router are not policy routed.


Example:

The following example sends packets with a destination IP address matching that allowed by extended access list 131 to the router at IP address 172.130.3.20:

Router(config)#ip local policy route-map xyz

Router(config)#route-map xyz
Router(config-route-map)#match ip address 131
Router(config-route-map)#set ip next-hop 172.130.3.20


Misconceptions:

None


Related Commands:

match ip address
match length
route-map

set default interface

set interface
set ip default next-hop verify-availability
set ip next-hop
show ip local policy

� Cisco Systems, Inc. 2001, 2002, 2003
World Wide Education

Converted from CHM to HTML with chm2web Pro 2.85 (unicode)