11-26-2014 03:45 AM - edited 03-07-2019 09:40 PM
Hi All,
Hi All,
Taking the cisco example below, which demos how to PBR.
access-list 1 permit 209.165.200.225
access-list 2 permit 209.165.200.226
!
interface ethernet 1
ip policy route-map Texas
!
route-map Texas permit 10
match ip address 1
set ip precedence priority
set ip next-hop 209.165.200.227
!
route-map Texas permit 20
match ip address 2
set ip precedence critical
set ip next-hop 209.165.200.228
Examples I've seen generally start sequence numbers from '10'. Any reason why I couldnt use 1-9 to insert a new condition before route-map Texas permit 10 e.g route-map Texas permit 5 ?
Thanks
Andy
11-26-2014 04:30 AM
Hey Andy,
Its just easy to interpret, you may use any any number:
R1(config)#route-map test ?
<0-65535> Sequence to insert to/delete from existing route-map entry
deny Route map denies set operations
permit Route map permits set operations
<cr>
HTH.
Regards,
RS.
11-26-2014 08:49 AM
Andy
Any reason why I couldnt use 1-9 to insert a new condition before route-map Texas permit 10 e.g route-map Texas permit 5 ?
No reason at all. In fact that is usually why you see this numbering ie. it allows you to modify your route map without having to delete and recreate it.
Jon
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