cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
350
Views
0
Helpful
3
Replies

PBR excute sequence

lcd_shouldit
Level 1
Level 1

route-map TEST permit 10

match ip address 1

set ip next-hop verify-availability 23.23.23.2 1 track 1

set ip next-hop 36.36.36.6

set ip next-hop recursive 4.4.4.4

set ip default next-hop 38.38.38.8

ip route 0.0.0.0 0.0.0.0 37.37.37.7

Hi ,

I tested PBR set ip next-hop today , and found the command excute sequence is this , just to confirm whether am I right ..... Thank you!

1) if track 1 is up , then set ip next hop to 23.23.23.3

2) if track 1 is down , then set ip next hop to directly connected 36.36.36.6

3) if the interface to 36.36.36.6 is down , then recurs in the route table to find whether there is a exact route to 4.4.4.4 ,  if it has , then set ip next hop to the 4.4.4.4 , if the exact route is absent , then set ip next hop to the default route.

4) if in the route table , there is not exact route and default route to 4.4.4.4 , at last set ip next hop to 38.38.38.8

2 Accepted Solutions

Accepted Solutions

Reza Sharifi
Hall of Fame
Hall of Fame

That is correct. Lines are executed sequentially from top to bottom

HTH

View solution in original post

It shouldn't matter what IOS you are using. The sequence should be the same

View solution in original post

3 Replies 3

Reza Sharifi
Hall of Fame
Hall of Fame

That is correct. Lines are executed sequentially from top to bottom

HTH

Hi Reza Sharifi

Are you sure that whicherver version IOS can always get the same excute sequence like this ......

It shouldn't matter what IOS you are using. The sequence should be the same

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