Re: regular expression question

From: Jason Gardiner (gardiner@xxxxxxxxxx)
Date: Sun Sep 02 2001 - 22:22:00 GMT-3


   
If you want to receive from AS 100 ONLY:

ip as-path access-list 1 permit ^(100_)+$

this would allow prepending of the AS. For routes that START with 100:

ip as-path access-list 1 permit ^_100_

Thanks,

Jason Gardiner
Supervisor, Engineering Services
Sprint E|Solutions

If all the cars in the United States were placed end to end,
it would probably be Labor Day Weekend. --Doug Lars

On Sat, 1 Sep 2001, [ks_c_5601-1987] CVA$Gv wrote:

> I want to receive my neighbor route and neighbor's direct connected AS route
 only
>
> this is correct?
>
> ip as-path access-list 10 permit ^100 .*$ (100 is my neighbro AS)
> **Please read:http://www.groupstudy.com/list/posting.html
**Please read:http://www.groupstudy.com/list/posting.html



This archive was generated by hypermail 2.1.4 : Thu Jun 13 2002 - 10:32:13 GMT-3