From: steven.j.nelson@xxxxxx
Date: Wed Jul 10 2002 - 12:28:33 GMT-3
^100_[0-9]*$
Means :-
AS (100)
Followed by "_"
Any number in the following range "[0-9]"
And any mulitple of these numbers "*"
End String $
-----Original Message-----
From: Anthony Pace [mailto:anthonypace@fastmail.fm]
Sent: 10 July 2002 01:59
To: David Luu; Robert Yee; ccielab@groupstudy.com
Subject: Re: Regular expression
I notice that [0-9]* will math any element with a numeric value but not
"nothing"
Why is it necessary to use ?[0-9]* or _[0-9]* to mean any numeric
element or "nothing"?
Is there any good reference for regular expressions as they are used in
BGP? The CCIE books and Cisco's web site leave alot to the imagination.
Anthony Pace
On Tue, 09 Jul 2002 17:21:23 -0700, "David Luu"
<wicked01@ix.netcom.com> said:
> ^$ = your local AS
>
> At 04:50 PM 7/9/2002 -0700, 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