cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1312
Views
0
Helpful
6
Replies

PBR and Routing

Jacob Samuel
Level 1
Level 1

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

1 Accepted Solution

Accepted Solutions

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

Best regards,
Abzal

View solution in original post

6 Replies 6

Abzal
Level 7
Level 7

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.

Best regards,
Abzal

Thanks a lot, how to configure this, can i get any sample config  for this.

Tahnks & regards

Sunny

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

Best regards,
Abzal

thanks, but where to add the command set ip next-hop verify reachability

regards

Jacob

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

Best regards,
Abzal

Thanks

Review Cisco Networking for a $25 gift card