cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
337
Views
0
Helpful
2
Replies

route-map and 'ip policy'command

Just Kennie
Level 1
Level 1

Please can any one explain in brief when I need to apply the 'ip policy route-map' command at the interface when doing route-map.

Is it when I am using it for redistribution or packet redirection. Or both.

1 Accepted Solution

Accepted Solutions

Hi Kennie,

As pointed by Lejoe "ip policy route-map" is the command used with respect to Policy Based Routing.

PBR has two configuration parts - Creating Policy and applying the policy on the interface.

You create policy using "route-map name" command and apply it on an interface using "ip policy route-map name" command

interface fa 0/0

ip policy route-map xyz

route-map xyz

match ip address 10.10.10.12

set ip next-hop 11.11.11.12

PBR is always matched for inbound traffic on an interface.

View solution in original post

2 Replies 2

lejoe.thomas
Level 3
Level 3

Hi Kennie,

The ip policy route-map command specifies the route-map used for policy based routing and not redistribution.

http://www.cisco.com/en/US/docs/ios/iproute/configuration/guide/irp_ip_prot_indep_ps6350_TSD_Products_Configuration_Guide_Chapter.html#wp1056703

HTH

Lejoe

Hi Kennie,

As pointed by Lejoe "ip policy route-map" is the command used with respect to Policy Based Routing.

PBR has two configuration parts - Creating Policy and applying the policy on the interface.

You create policy using "route-map name" command and apply it on an interface using "ip policy route-map name" command

interface fa 0/0

ip policy route-map xyz

route-map xyz

match ip address 10.10.10.12

set ip next-hop 11.11.11.12

PBR is always matched for inbound traffic on an interface.

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Review Cisco Networking products for a $25 gift card