From: Jay Greenberg (groupstudylist@execulink.com)
Date: Fri Nov 22 2002 - 10:23:18 GMT-3
Depends what you are trying to do. If you are trying to filter routes
originating in your own AS, and only advertise ebgp learned routes, then
the following will be sufficient:
ip as-path access-list 4 deny ^$
ip as-path access-list 4 permit .*
If you *only* want to advertise your own originated routes, all you need
is:
ip as-path access-list 4 permit ^$
On Fri, 2002-11-22 at 01:21, Jeongwoo Park wrote:
> Guys!!
> Isn't there any unnecessary expression?
> This router's AS number is 1057.
>
> neighbor 1.2.3.4 filter-list 4 out
> !
> ip as-path access-list 4 deny ^$
> ip as-path access-list 4 deny ^1057$
> ip as-path access-list 4 deny ^1057_1057$
> ip as-path access-list 4 permit .*
>
> Thanks,
>
> JP
-- Jay Greenberg <groupstudylist@execulink.com>
This archive was generated by hypermail 2.1.4 : Tue Dec 03 2002 - 07:23:08 GMT-3