From: Cisco Fanatic (ebay_products@hotmail.com)
Date: Sun Mar 22 2009 - 14:40:31 ART
Hi All,
If we have to learn only those prefixes that Originate in some AS ASXX. We can
use ^$ and _XX$. In some workbooks I have seen one or the other being used. I
have tested both and both are working (the way it should). Which one is better
over the other.
For example,
!
router bgp XX
neighbor x.x.x.x filter-list 10 in
!
ip as-path access-list 10 deny _ASXX$
ip as-path access-list 10 permit .*
!
*******************************************
Or/And,
!
router bgp XX
neighbor x.x.x.x filter-list 10 in
!
ip as-path access-list 10 deny ^ASXX$
!
*******************************************
Yuri
This archive was generated by hypermail 2.1.4 : Mon Apr 06 2009 - 06:44:06 ART