Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

Filter routes in OSPF

hi all

i have a ideal, my company has 4 main sites run ospf, and many sites (Dealer)also run ospf. there are in one OSPF domain, area 0. I want filter some routes from main site to Dealers (this mean the Dealer only know one network in the main site. I have used "Distribute-list" but is not support with ospf.

Do any one know, can help me ??

many thanks

3 REPLIES
Hall of Fame Super Silver

Re: Filter routes in OSPF

Hello Duc,

you need to move to a multi area OSPF design to be able to implement route filtering.

Given the link state nature of OSPF distribute-list doesn't change the OSPF database contents but only the capability of the local node to install the route in the routing table.

At area border an ABR can filter routes using

router ospf 10

area x filter-list out

only prefixes permitted by prefix-list are sent into area 0 if x is a non-zero area

Hope to help

Giuseppe

New Member

Re: Filter routes in OSPF

Hello Duc

You can try configuring the Dealer network as Stubby or total Stubby routers.

this will automatically enable single network to be learned.

New Member

Re: Filter routes in OSPF

Thanks for all supports !!

150
Views
0
Helpful
3
Replies
CreatePlease login to create content