From: Tandou Mohamed (dtandou@yahoo.com)
Date: Wed Nov 28 2007 - 12:00:57 ART
Thanks a lot everyone to clear this out for me.
"Gupta, Gopal (NWCC)" <gopal.gupta@hp.com> wrote:
Hi Tandou,
B means Routes originated in 200,
just think it logically and go behind the syntax, go behind the original
string and then apply the syntax logically.
We have As-path like this (100 300 200) (Original string)
B (_200$) now look at the string we want to match out of the original
string what original string says is the route has traversed 100 300 and
has originated in 200 coz 200 is the first AS in the original string.
Now "_" means any AS number in the start of the string and $ means the
end of the string.
In case of B we have $ but with 200 and in the start we have mentioned
any AS number using "_"
Hope I have tried to make you understand........
HTH
Gops
-----Original Message-----
From: nobody@groupstudy.com [mailto:nobody@groupstudy.com] On Behalf Of
Tandou Mohamed
Sent: Wednesday, November 28, 2007 19:41
To: smorris@ipexpert.com; ccielab@groupstudy.com
Subject: RE: Regular Expression
Importance: Low
Now i understand D. what about B? the origin of the routes will be AS
200 only or can be any adjacent neighbor to AS 200 ?
Thanks,
Mohamed
Scott Morris wrote:
D would be routes LEARNED FROM AS 690 (your peer)
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
Tandou Mohamed
Sent: Wednesday, November 28, 2007 8:34 AM
To: ccielab@groupstudy.com
Subject: Regular Expression
Hello GS,
can someone check this out if i am correct about these definition also
any comment on B,C,D and E those really confuse me sometimes.
Thanks,
Mohamed
A) ip as-path access-list 1 permit _109_ => routes containing or
transiting AS 109
B) ip as-path access-list 2 permit _200$ => routes originated in AS 200
C) ip as-path access-list 2 permit ^100$ => routes originated by a
neighbor in AS 100
D) ip as-path access-list 3 permit ^690_ => routes originating from AS
690
E) ip as-path access-list 3 permit ^$ => routes originating from this AS
(my AS)
---------------------------------
Be a better pen pal. Text or chat with friends inside Yahoo! Mail. See
how.
This archive was generated by hypermail 2.1.4 : Sat Dec 01 2007 - 06:37:31 ART