Re: bgp expression - Question 2

From: Sasa Milic (smilic@xxxxxxxx)
Date: Fri Sep 14 2001 - 13:09:14 GMT-3


   
Actually, correct should be:

  ip as-path access-list 10 permit ^100(_[0-9]*)?$

Don't forget Ctrl+V before question mark !

Sasa

Devender Singh wrote:
>
> Sasa,
>
> This expression was not accepted by ios.
> **************************
> r4(config)#ip as-path access-list 10 permit ^100(_[0-9]*)*$
> % *+ operand could be empty
> **************************
>
> Devender Singh
> BE(Hons), CCNP
> IP Solution Specialist
>
> -----Original Message-----
> From: Sasa Milic [mailto:smilic@EUnet.yu]
> Sent: Friday, 14 September 2001 2:04
> To: ccielab@groupstudy.com
> Subject: Re: bgp expression - Question 2
>
> Try ^100(_[0-9]*)*$
>
> Sasa
>
> Devender Singh wrote:
> >
> > Kym I tried it and it permits.
> >
> > 1.It will not allow 100
> > 2.It permits route with one or more AS's beyond 100
> > 3. I could not get the desired results so far.
> >
> > Devender Singh
> > BE(Hons), CCNP
> > IP Solution Specialist
> >
> > -----Original Message-----
> > From: kym blair [mailto:kymblair@hotmail.com]
> > Sent: Friday, 14 September 2001 9:36
> > To: tolzak@comwavz.com; ccielab@groupstudy.com
> > Subject: RE: bgp expression - Question 2
> >
> > Would the following give you traffic from AS100 and any attached AS behind
> > AS100 but nothing beyond?
> >
> > ^100 .*$
> >
> > Thanks, Kym
> >
> > >From: "Tony Olzak" <tolzak@comwavz.com>
> > >Reply-To: "Tony Olzak" <tolzak@comwavz.com>
> > >To: "kenairs" <kenairs@hotmail.com>, <ccielab@groupstudy.com>
> > >Subject: RE: bgp expression
> > >Date: Thu, 13 Sep 2001 13:10:45 -0400
> > >
> > >^100$ means that it's from AS100 and there aren't any transit AS's in
> > >between. The ^ signifies the beginning and $ signifies the end. If your
> > >AS path began at 100 but also included another AS, it would not match
> > >this string.
> > >
> > >You would usually use this if you have a directly attached AS and you
> > >only want updates from it, and not the other AS's attached to it.
> > >
> > >Tony Olzak, CCIE #6689
> > >ComWavz
> > >tolzak@comwavz.com
> > >
> > >
> > >
> > >-----Original Message-----
> > >From: kenairs [mailto:kenairs@hotmail.com]
> > >Sent: Thursday, September 13, 2001 12:31 PM
> > >To: ccielab@groupstudy.com
> > >Subject: bgp expression
> > >
> > >
> > >Hi ,
> > >
> > >^100$ (Origin AS100)
> > > ^100 .* (Coming from AS100)
> > >
> > >Anyone can tell me the difference ?
> > >Is'nt it the same .
> > >
> > >Tks
> > >**Please read:http://www.groupstudy.com/list/posting.html
> > >**Please read:http://www.groupstudy.com/list/posting.html



This archive was generated by hypermail 2.1.4 : Thu Jun 13 2002 - 10:32:18 GMT-3