01-16-2009 01:23 AM - last edited on 03-25-2019 03:21 PM by ciscomoderator
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.
Solved! Go to Solution.
01-16-2009 02:20 AM
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.
01-16-2009 01:33 AM
Hi Kennie,
The ip policy route-map command specifies the route-map used for policy based routing and not redistribution.
HTH
Lejoe
01-16-2009 02:20 AM
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.
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: