BGP regexp

From: Angelo De Guzman (a.deguzman@wesolv.ph.fujitsu.com)
Date: Fri Sep 01 2006 - 06:10:00 ART


Hi,
   R9 should accept any route that has traversed or originated from AS1.

Question 1.

My answer is:

neighbor 172.31.90.3 remote-as 300
neighbor 172.31.90.3 filter-list 1 in
!
ip as-path access-list 1 permit _1_

Their answer was
ip as-path access-list 1 permit _1$

$ - Matches the character or null string at the end of an input string.

Which one is correct?

Question 2.
   .* - is this like an ANY statement in bgp regexp?

Thanks,
Angelo

***********************
No virus was detected in the attachment no filename

Your mail has been scanned by InterScan MSS.
***********-***********



This archive was generated by hypermail 2.1.4 : Sun Oct 01 2006 - 16:55:39 ART