12-21-2012 11:10 PM - edited 03-07-2019 10:44 AM
Hi
I just want to know about some facts of PBR.
When i configure PBR, will it take place before the normal route process works?
In case if the link failed what will happend to the packet?
Thanks & Regards
Sunny
Solved! Go to Solution.
12-22-2012 12:23 AM
Ok, then
ip sla 1
icmp-echo 192.168.1.2
timeout 500
frequency 1
ip sla schedule 1 life forever start-time now
track 10 rtr 1 reachability
delay down 1 up 1
ip route 0.0.0.0 0.0.0.0 172.16.1.2
route-map PBR permit 10
match ip address 10
set ip next-hop verify-availability 192.168.1.2 1 track 10
int f0/0
ip add 192.168.1.1 255.255.255.0
ip policy route-map PBR
here is useful link
http://www.cisco.com/en/US/docs/ios/12_3t/12_3t4/feature/guide/gtpbrtrk.html
And example with good explanation
https://supportforums.cisco.com/docs/DOC-8313
hope it will help.
Sent from Cisco Technical Support iPhone App
12-21-2012 11:46 PM
Hi,
1. Yes, when PBR applied on interface all incoming packets goes through match criteria on route-maps. If match found with permit statement packets will be forwarded next-hop defined in PBR. If there is match with deny clause or match does not found then packets goes through normal destination based forwarding table.
2. Packets will be dropped. That's why there is a option like set ip next-hop verify reachability to track interface.
Hope it will help.
12-21-2012 11:50 PM
Thanks a lot, how to configure this, can i get any sample config for this.
Tahnks & regards
Sunny
12-22-2012 12:00 AM
Here is a simple config:
access-list 10 permit 192.168.1.0 0.0.0.255
Route-map pbr permit 10
match ip address 10
set ip next-hop 10.0.0.1
int f0/0
ip add 192.168.1.1 255.255.255.0
ip policy route-map pbr
Sent from Cisco Technical Support iPhone App
12-22-2012 12:03 AM
thanks, but where to add the command set ip next-hop verify reachability
regards
Jacob
12-22-2012 12:23 AM
Ok, then
ip sla 1
icmp-echo 192.168.1.2
timeout 500
frequency 1
ip sla schedule 1 life forever start-time now
track 10 rtr 1 reachability
delay down 1 up 1
ip route 0.0.0.0 0.0.0.0 172.16.1.2
route-map PBR permit 10
match ip address 10
set ip next-hop verify-availability 192.168.1.2 1 track 10
int f0/0
ip add 192.168.1.1 255.255.255.0
ip policy route-map PBR
here is useful link
http://www.cisco.com/en/US/docs/ios/12_3t/12_3t4/feature/guide/gtpbrtrk.html
And example with good explanation
https://supportforums.cisco.com/docs/DOC-8313
hope it will help.
Sent from Cisco Technical Support iPhone App
12-22-2012 12:27 AM
Thanks
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide