RE: _100$ OR ^100$

From: subodh.rawat@wipro.com
Date: Wed Dec 12 2007 - 17:42:20 ART


Both should work fine. But as a best practice you should follow one
approach that is first one _100$, meaning to say is route originated by
AS 100 no matter it is directly connected peer or an AS which is far
away from AS 50.

HTH
Subodh

-----Original Message-----
From: nobody@groupstudy.com [mailto:nobody@groupstudy.com] On Behalf Of
Mohammad Saeed
Sent: Thursday, December 13, 2007 1:34 AM
To: Cisco certification
Subject: _100$ OR ^100$

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



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