From: Sami (sy1977@gmail.com)
Date: Sun Jul 02 2006 - 19:17:58 ART
It has been discussed several times, allow AS 4 and it's directly connected
customer. I always use this regexp
*ip as-path access-list 1 permit ^4(_[0-9]+)?$
*but Cisco DOC CD says
Only Allow Networks Originated from AS 4, and ASs Directly Attached to AS 4,
to Enter Router 1
If you want AS 1 to get networks originated from AS 4 and all directly
attached ASs of AS 4, apply the following inbound filter on Router 1.
*ip as-path access-list 1 permit ^4_[0-9]*$*
router bgp 1
neighbor 4.4.4.4 remote-as 4
neighbor 4.4.4.4 route-map foo in
route-map foo permit 10 match as-path 1
Is there any diffrence between these two ? if both are same , then I should
save some brain cells and use the simple one *^4_[0-9]*$*
**
*Comments ?*
Thanks
This archive was generated by hypermail 2.1.4 : Tue Aug 01 2006 - 07:13:46 ART