From: Scott Morris (smorris@ipexpert.com)
Date: Wed Dec 12 2007 - 17:25:20 ART
I think we had discussed something similar not that long ago! (Check the
archives!)
Both will match things originated in AS 100. your second one though
requires that it be learned from a directly connected peer in AS 100 whereas
the first COULD be direct or through another AS as well.
HTH,
Scott Morris, CCIE4 (R&S/ISP-Dial/Security/Service Provider) #4713, JNCIE-M
#153, JNCIS-ER, CISSP, et al.
CCSI/JNCI-M/JNCI-ER
VP - Technical Training - IPexpert, Inc.
IPexpert Sr. Technical Instructor
A Cisco Learning Partner - We Accept Learning Credits!
Telephone: +1.810.326.1444
Fax: +1.810.454.0130
http://www.ipexpert.com
-----Original Message-----
From: nobody@groupstudy.com [mailto:nobody@groupstudy.com] On Behalf Of
Mohammad Saeed
Sent: Wednesday, December 12, 2007 3:04 PM
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