[c-nsp] BGP inbound route maps

Kanagaraj Krishna kanagaraj at aims.com.my
Thu Sep 28 04:34:37 EDT 2006


Hi,
    What does the added expressions mean? 

+_[0-9]+_.*    

Are there any proper tutorial or manual for this expressions? Most of the stuff that I found have only basic examples. Thanks.

Regards,
Kana
  ----- Original Message ----- 
  From: hjan 
  To: Kanagaraj Krishna 
  Sent: Saturday, September 16, 2006 5:09 PM
  Subject: Re: [c-nsp] BGP inbound route maps


  From: "Kanagaraj Krishna" <kanagaraj at aims.com.my>
  > Hi,
  >   We are trying to set local preference 90 for specific inbound routes 
  > only.
  > The specific routes are:
  >...............
  > neighbor xxx.xxx.xxx.xxx remote-as ABCD
  > neighbor xxx.xxx.xxx.xxx route-map test-inbound in
  > neighbor xxx.xxx.xxx.xxx route-map test-outbound out
  >
  > ip as-path access-list 77 permit ^ABCD$
  > ip as-path access-list 77 permit ^(ABCD_)+[0-9]+$
  > ip as-path access-list 77 permit ^(ABCD_)+[0-9]+[0-9]+$
  >

  Try
  ip as-path access-list 77 permit ^(ABCD_)+[0-9]+_[0-9]+_.*
  as your third statement.

  Regards,
  Gianluca


More information about the cisco-nsp mailing list