[c-nsp] BGP inbound route maps

Jason Lixfeld jason at lixfeld.ca
Sat Sep 16 01:28:19 EDT 2006


Try:

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 ^(_7018)+(_[0-9]+)(_[0-9]+)$

On 16-Sep-06, at 1:08 AM, Kanagaraj Krishna wrote:

> Hi,
>    We are trying to set local preference 90 for specific inbound  
> routes only.
> The specific routes are:
>
> a) Directly from upstream provider AS no.
> b) 1 hop away from provider AS no.
> c) 2 hops away from provider AS no.
>
> We tried the below config but it only satisfies requirement A and B.
> Requirement C doesn't take into effect. Need help in making this  
> work. These
> are configurations used:
>
>
> 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]+$
>
> route-map test-inbound permit 5
>  match as-path 77
>  set local-preference 90
>
> Thanks.
>
> Regards,
> Kana
> _______________________________________________
> cisco-nsp mailing list  cisco-nsp at puck.nether.net
> https://puck.nether.net/mailman/listinfo/cisco-nsp
> archive at http://puck.nether.net/pipermail/cisco-nsp/
>



More information about the cisco-nsp mailing list