RE: _100$ OR ^100$

From: Scott Morris (smorris@ipexpert.com)
Date: Wed Dec 12 2007 - 18:54:30 ART


you could do ^(100_)+$ to accomodate that.

-----Original Message-----
From: nobody@groupstudy.com [mailto:nobody@groupstudy.com] On Behalf Of
MrPaul
Sent: Wednesday, December 12, 2007 3:54 PM
To: Mohammad Saeed
Cc: Cisco certification
Subject: Re: _100$ OR ^100$

I prefer _100$. Reason being if they are doing any prepending ^100$ will
not match.
Paul

On Dec 12, 2007 2:04 PM, Mohammad Saeed <mzsaeed@gmail.com> wrote:

> Hi,
>
> If I have R1 in AS 50 peering with R2 in AS 100. if I want R1 to learn
> routes only originated in AS100 only from R2, which as-path acl will
> be correct?
>
> ip as-path access-list 1 match _100$
>
> OR
>
> ip as-path access-list 1 match ^100$
>
>
>
> route-map FIL permit 10
> match as-path 1
>
> on R1 I apply this route-map incoming to R2
>
> Regards,
>
> Mohammad Zahed Saeed
>
> ______________________________________________________________________
> _ Subscription information may be found at:
> http://www.groupstudy.com/list/CCIELab.html



This archive was generated by hypermail 2.1.4 : Tue Jan 01 2008 - 12:04:30 ARST