Re: Regular expression

From: MADMAN (dave@xxxxxxxxxxxxxx)
Date: Wed Jul 10 2002 - 12:31:47 GMT-3


   
  I use those exact expressions when dual homing customers, prevents
them from becoming a transit network and I found out recently that Qwest
has a prefix filter that shut down the BGP session once the prefix count
hit 200, this filter prevented that from occuring. If nothing else it's
a good neighbor policy.

ip as-path access-list 99 permit ^$
ip as-path access-list 99 deny .*

  Dave

Robert Yee wrote:
>
> Hi all,
>
> Am I correct in my interpreation of the following regular expressions?
>
> .* = everything
> ^$ = nothing
>
> If the above is true, and I have the following in place:
>
> neighbor x.x.x.x filter-list 1 out
>
> ip as-path access-list 1 permit ^$
>
> Does this mean, that I am filtering all outbound prefixes?
>
> TIA,
>
> Robert



This archive was generated by hypermail 2.1.4 : Sat Sep 07 2002 - 19:36:25 GMT-3