BGP path filtering

From: jnkmail4eva@yahoo.com
Date: Mon Mar 06 2006 - 19:41:05 GMT-3


I have two routers A and B running EBGP,
A in domain 100 and B in domain 200.
What is the correct expression on router A to only allow routes origianting in 200.

There are two possible answers and I wasn't sure as they both look right ..

ip as-path access-list 1 permit ^200$
      or
ip as-path access-list 1 permit _200$

please correct me if I am wrong.



This archive was generated by hypermail 2.1.4 : Sat Apr 01 2006 - 10:07:38 GMT-3