AS-path question

From: firstname jim (firstnamejim@gmail.com)
Date: Sat May 13 2006 - 20:38:00 ART


Hi guys,

A Lab prompted this question: suppose I have a confederation and 2 sub-as,

{other as's} --- [ (as100) - (as101 R1)]AS1 ---- [as2(R2)]

In short, subnet
1.0.0.0/24 from as100
1.0.1.0/24 from asl101
some other subnets too,

How do I make sure that R2 in as2 only get routes originated from AS1?
The requirement is to only do filter on R1.
I am looking for some as-path regular expression help, so far I have tried
(on R1):

ip as-path 11 permit ^$
ip as-path 11 permit (100) ! this works, but I think it includes more
un-wanted routes

These are the different ways I tried, they don't work. A better idea
anyone?
ip as-path 11 permit ^100$
ip as-path 11 permit ^(100)$
ip as-path 11 permit _(100)$

TIA

--
Jim Li
614-376-2865


This archive was generated by hypermail 2.1.4 : Thu Jun 01 2006 - 06:33:21 ART