regexp & confederation again (Ipexpert Lab9, item 11)

From: Nguyen Hoang Long (ng-hlong@hn.vnn.vn)
Date: Sun Feb 09 2003 - 15:30:00 GMT-3


Hi group,
I'm working on IPexpert 3.0 Lab9, item 11 - Which is how to configure R2 that
R4 will only receives updates that originate in AS200

IPexpert's solution is to use: ip as-path access-list 2 permit ^$

It does not totally work (in my lab, atleast). I check it by adding loopback0
of R5 & R7 to BGP table. My thought is both R5 & R7's loopback0 should be in
R4's BGP table. It's not actually:

R2#sh ip bgp
   Network Next Hop Metric LocPrf Weight Path
*>i200.0.0.5/32 150.50.100.5 0 100 0 i
*>i200.0.0.7/32 150.50.100.5 0 100 0 (65078) i
<------- this route should appear in R4's BGP table

R4#sh ip bgp
   Network Next Hop Metric LocPrf Weight Path
*> 200.0.0.5/32 150.50.24.2 0 200 i
<------ only R5's loopback0 appears, no R7's loopback0

I try adding this: ip as-path access-list 1 permit ^65078$ , R7's loopback
still does not appear in R4.
if I use: ip as-path access-list 1 permit .* , then it'll be OK.

I guess, there's some exception w/ AS-path type 4 here.

So, pls. help me on this issue.

Thanks & regards,
Nguyen Hoang Long
.



This archive was generated by hypermail 2.1.4 : Sat Mar 01 2003 - 11:06:17 GMT-3