RE: BGP AS Path Access List and Filter List Question

From: Scott Morris (swm@emanon.com)
Date: Fri Jun 16 2006 - 11:47:22 ART


You won't match things where the as path is only "254" there.

^254(_[0-9]*)?$ would assist you there. The paren will group the _ and
[0-9]* together in a "word" and the ? Will mean 0 or 1 of preceding unit.
So that extra AS may or may not be there. I think that will help where you
want to be!

Cheers,

 
Scott Morris, CCIE4 (R&S/ISP-Dial/Security/Service Provider) #4713, JNCIE
#153, CISSP, et al.
CCSI/JNCI
IPExpert CCIE Program Manager
IPExpert Sr. Technical Instructor
smorris@ipexpert.com
http://www.ipexpert.com
 
 

-----Original Message-----
From: nobody@groupstudy.com [mailto:nobody@groupstudy.com] On Behalf Of
Albert Ip
Sent: Friday, June 16, 2006 5:08 AM
To: ccielab@groupstudy.com
Subject: BGP AS Path Access List and Filter List Question

Hi All,

Two BGP routers, BB1 and R1, BB1 in AS 254 and R1 in AS 55, both connected
in same LAN subnet.

Question 1:

In future, there will be another AS directly connect with AS 254. Configure
R1 accept BGP routes from BB1 that originate from AS 254 and any other AS
directly connected to AS 254. Limit to use one filter list only.

Answer:

R1

ip as-path access-list 1 permit ^254_[0-9]*$

router bgp 55
 nei 150.100.1.254 filter-list 1 in

Is this answer correct????

_______________________________________
 YM - Bw=u0T.'
 
4N:b'A(S&3$W:t!A'A*:*B$M$4%i%H/d$U0T.'59'A!A7m'A$W:t.I4N/`%_'Y,](l!A%t&s;!8\
3#IN(+%"!C
 http://messenger.yahoo.com.hk



This archive was generated by hypermail 2.1.4 : Sat Jul 01 2006 - 07:57:33 ART