From: Chee Chew Leong (cleong3@csc.com)
Date: Thu Aug 10 2006 - 00:35:11 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
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
This is a PRIVATE message. If you are not the intended recipient, please
delete without copying and kindly advise us by e-mail of the mistake in
delivery. NOTE: Regardless of content, this e-mail shall not operate to
bind CSC to any order or other contract unless pursuant to explicit
written agreement or government initiative expressly permitting the use of
e-mail for such purpose.
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
"Radoslav Vasilev" <deckland@gmail.com>
08/09/2006 09:24 PM
To
Chee Chew Leong/ASIA/CSC@CSC
cc
ccielab@groupstudy.com
Subject
Re: BGP regexp - AS count
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