09-23-2021 06:22 AM - edited 09-23-2021 08:01 AM
Hi,
Please how to filter OSPF external route (E2) from area 0 to area 2?
I tried with distributed-list but it filters all networks comes from area 0 even I specifity the @ip of the exernal route !
09-23-2021 06:36 AM
Can you post the config you using and where you applied that list ?
09-23-2021 06:46 AM - edited 09-23-2021 06:48 AM
this is my distributed-list: R2 this router in area 2 and I want to filter 10.10.3.0 (E2) from area 0 to area 2 !
R2(config)#access-list 10 deny 10.10.3.0 0.0.0.255
R2(config)#router ospf 20
R2(config-router)#distribute-list 10 in serial 1/0
this config can filter in R2 but not in R7 (R2 and R7 are in the area 2)
you can see the attached capture ;
09-23-2021 06:59 AM
Hello,
The filtering between areas is not done on the interface level, it is done using filter-list for area. Here is a great document explaining the inter-area filtering.
Susan_Mansfield_FILTERING_WITH_OSPF_-_Technical_Overview (cisco.com)
09-23-2021 07:11 AM - edited 09-23-2021 07:11 AM
I tried with this config in the ABR (R5) betwen area 0 and area 2:
R5(config)#ip prefix-list net3 deny 10.10.3.0/24
R5(config)#router ospf 1
R5(config-router)#area 2 filter-list prefix net3 in
but it's not working for the E2 route !
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide