[c-nsp] [Summary] BGP path preference

Justin Shore justin at justinshore.com
Thu Aug 30 15:47:04 EDT 2007


The general consensus is to prepend routes with AS3356 in the path that 
don't originate from L3.  So to make sure I've got the right logic and 
regex in mind to work into my existing config:

ip as-path access-list 100 permit _3356_
!
route-map IN-COX-1 deny 5
  match ip address prefix-list sanity skt96 skt120
!
route-map IN-COX-1 permit 10
  match ip address 68
  set metric 1
  set local-preference 200
  set weight 8000
!
route-map IN-COX-1 permit 20
  match as-path 100
  set as-path prepend 22773
!
route-map IN-COX-1 permit 30
  set metric 1
  set weight 6000

And something similar for our other non-L3 provider.  I'll give that a 
whirl.  It makes sense in my mind's eye at least.

Thanks for the pointers,
   Justin



More information about the cisco-nsp mailing list