OSPF - passive inbound only

On a Cisco 2811 router I want to receive routes but not broadcast and routes on a particular interface.  What is the best way to do this?  I believe

router ospf 1
.
.
 pass-interface fastethernet 1/0

...would stop both receipt and sending.  Thanks.
LVL 2
amigan_99Network EngineerAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Don JohnstonInstructorCommented:
The challenge is that OSPF doesn't advertise "routes". It propagates the link state database (topology) of the network. The routers then create a routing table based on this topology. So you really can't decide what routes to advertise.

There are exceptions though. If one of the networks you don't wish to advertise is connected to your router, simply don't make that interface part of the OSPF topology (Don't have a network statement for that interface).

If the network you don't want to advertise is not connected to your router (you're learning it through OSPF), then the only way to avoid advertising it is to put that network and the other router in different areas. Then you have more control over what gets advertised.

I would help to have a more specific idea of what you want to accomplish.
0
that1guy15Commented:
Another option would be to use a route filter on the receiving routers and have them filter the unwanted incoming routes.

That is if you contril those routers.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
amigan_99Network EngineerAuthor Commented:
Some more details..

I have an MPLS CE from AT&T.  They use BGP to communicate routes between my various CE routers at various sites.  I am having AT&T redistribute the routes learned via BGP into OSPF and I want to hear
these routes at each site's core router.  I want to the core router to learn about the routes in the MPLS cloud via OSPF.  Then if those routes disappear (say the T1 goes our or the MPLS CE router fails) I will have floating static routes with defined higher metric to send the traffic to VPN (perhaps DMVPN, perhaps regular IPsec tunnels).  The AT&T CE router does not need to hear my link state info from my core.  Clearer?
0
amigan_99Network EngineerAuthor Commented:
ty
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Routers

From novice to tech pro — start learning today.