From: Chee Chew Leong (cleong3@csc.com)
Date: Wed Aug 09 2006 - 23:33:49 ART
Yes, this is working.
If we go a bit deeper, what happen if the first AS500 is prepending as
well.
To merge the first AS is a bit more difficult as the there isn't space in
the first 500 and space with the following prepending.
Any idea on this?
Regards
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
"Radoslav Vasilev" <deckland@gmail.com>
08/09/2006 09:24 PM
Hi,
sh ip bgp regexp ^500(_[1-9]+)(\1)*$
sh ip bgp regexp ^500(_[1-9]+)(\1)*(_[1-9]+)(\2)*$
you got the idea, again it all depends on the wording, especially whether
we should use + or * for the first AS after AS500.
Rado
On 8/9/06, Chee Chew Leong <cleong3@csc.com> wrote:
Hi Michal,
The example shown are just a few of it. In actual, there are thousands of
them and not possible to specify by the actual AS. We need to use
something
less specific.
What I want should be,
for example 2 AS, the AS path that match should be 500 "any AS#
with/without prepend"
for example 3 AS, the AS path that match should be 500 "any AS#
with/without prepend" "any AS# with/without prepend"
Is this possible?
I hope I could state the requirement clearly.
Regards
-----nobody@groupstudy.com wrote: -----
To: < ccielab@groupstudy.com>
From: <Michal.Grzybczyk@vattenfall.pl>
Sent by: nobody@groupstudy.com
Date: 08/09/2006 06:03PM
Subject: RE: BGP regexp - AS count
Hello,
>For example:-
>2 AS away
>500 10
>500 10 10 10
My version:
^(500_)+(10_)+$
>3 AS away
>500 30 40
>500 500 30 30 40
^(500_)+(30_)+(40_)+$
Best Regards,
grzybek
This archive was generated by hypermail 2.1.4 : Fri Sep 01 2006 - 15:41:56 ART