cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
5731
Views
5
Helpful
2
Replies

Route Map - Sequence Numbers

Andy.S
Level 1
Level 1

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

 

 

2 Replies 2

Rajeev Sharma
Cisco Employee
Cisco Employee

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.

Jon Marshall
Hall of Fame
Hall of Fame

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