From: Edi Guntoro (eguntoro@sisindosat.co.id)
Date: Thu Sep 09 2004 - 01:29:56 GMT-3
Hi CCCIE and CCIE
If I asked to filter any route from going to upstream router, and there
is no other restriction, which one is better ? distribute-list with acl
or with prefix-list? Both of these below config produce the same result.
Any comment will be highly appreciated.
Thanks
edi
option 1
router rip
version 2
network 10.0.0.0
network 11.0.0.0
network 12.0.0.0
network 192.10.1.0
distribute-list 6 out FastEthernet0/1
no auto-summary
!
access-list 6 deny any
!
option 2
router rip
version 2
network 10.0.0.0
network 11.0.0.0
network 12.0.0.0
network 192.10.1.0
distribute-list prefix all out FastEthernet0/1
no auto-summary
!
ip prefix-list all seq 5 permit 0.0.0.0/32
!
distribute-list prefix all out FastEthernet0/1
This archive was generated by hypermail 2.1.4 : Fri Oct 01 2004 - 15:00:40 GMT-3