route-map and 'ip policy'command

Answered Question
Jan 16th, 2009
User Badges:

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.

Correct Answer by Sushil Kumar Katre about 8 years 2 months ago

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.


  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 5 (1 ratings)
Loading.
Correct Answer
Sushil Kumar Katre Fri, 01/16/2009 - 02:20
User Badges:
  • Gold, 750 points or more

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.


Actions

This Discussion