01-12-2013 07:09 PM - edited 03-07-2019 11:03 AM
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
Solved! Go to Solution.
01-12-2013 08:25 PM
That is correct. Lines are executed sequentially from top to bottom
HTH
01-12-2013 08:53 PM
It shouldn't matter what IOS you are using. The sequence should be the same
01-12-2013 08:25 PM
That is correct. Lines are executed sequentially from top to bottom
HTH
01-12-2013 08:51 PM
Hi Reza Sharifi
Are you sure that whicherver version IOS can always get the same excute sequence like this ......
01-12-2013 08:53 PM
It shouldn't matter what IOS you are using. The sequence should be the same
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