From: Radoslav Vasilev (deckland@gmail.com)
Date: Wed Aug 09 2006 - 10:24:37 ART
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
>
> _______________________________________________________________________
> Subscription information may be found at:
>
> http://www.groupstudy.com/list/CCIELab.html--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
> 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.
>
> --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
> _______________________________________________________________________
> Subscription information may be found at:
> http://www.groupstudy.com/list/CCIELab.html
This archive was generated by hypermail 2.1.4 : Fri Sep 01 2006 - 15:41:56 ART