Re: BGP regexp

From: Daniel Fredrick (dfredrick@gmail.com)
Date: Fri Sep 01 2006 - 12:04:19 ART


Looks like one of those questions you bring up to the lab proctor...
Actually I would bring all questions to the procotor.

But I think that the _1_ will satisfy if it orginates in as1 or if it
traverses as1.

Lets say you have a aspath of "20 10 30"... the answer they gave _1$
wouldn't accept this route... even though it traverses 10. I think they
worded the question wrong.

HTH,

Dan

On 9/1/06, Maneesh Chawla <coolmaneesh@gmail.com> wrote:
>
> Hi Angelo,
> I cant answer the first Q as to which is correct but _1$ means
> originated from AS1.
> .* is ANY statement in BGP regexp
>
> Hope it helps.
> Thanks
> Maneesh
>
> On 1 Sep 2006 17:10:00 +0800, Angelo De Guzman <
> a.deguzman@wesolv.ph.fujitsu.com> wrote:
> >
> > Hi,
> > R9 should accept any route that has traversed or originated from AS1.
> >
> > Question 1.
> >
> > My answer is:
> >
> > neighbor 172.31.90.3 remote-as 300
> > neighbor 172.31.90.3 filter-list 1 in
> > !
> > ip as-path access-list 1 permit _1_
> >
> > Their answer was
> > ip as-path access-list 1 permit _1$
> >
> > $ - Matches the character or null string at the end of an input string.
> >
> > Which one is correct?
> >
> > Question 2.
> > .* - is this like an ANY statement in bgp regexp?
> >
> > Thanks,
> > Angelo
> >
> >
> >
> >
> >
> > ***********************
> > No virus was detected in the attachment no filename
> >
> > Your mail has been scanned by InterScan MSS.
> > ***********-***********
> >
> > _______________________________________________________________________
> > Subscription information may be found at:
> > http://www.groupstudy.com/list/CCIELab.html
>
> _______________________________________________________________________
> Subscription information may be found at:
> http://www.groupstudy.com/list/CCIELab.html



This archive was generated by hypermail 2.1.4 : Sun Oct 01 2006 - 16:55:39 ART