How to ignore routes learned by OSPF

Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to ignore routes learned by OSPF

L1 Bithead

I would like to ignore some of the routes learned by OSFP so they don't install in the forwarding table. Important, I'm not talking about suppress/filter routes that my PA announce through OSPF.


For explaining me better, I'm looking for "OSPF Inbound Filtering" in the language of Cisco:


Thanks in advance!!!


Gerardo and Steve, thank you for your suggestions. The problem is that OSPF is forced by my provider and I can't change this 😞


Gerardo, you're right I shouldn't receive these routes through OSPF. The plan B is that my provider filter these routes.


Steve, I see that you found this other thread by yourself 😉

You could perhaps move your provider peering via OSPF into a separate virtual router.  Then use BGP from this VR to your main VR with the controls you need to have in place.

Steve Puluka BSEET - IP Architect - DQE Communications (Metro Ethernet/ISP)
ACE PanOS 6; ACE PanOS 7; ASE 3.0; PSE 7.0 Foundations & Associate in Platform; Cyber Security; Data Center

Steve, thank you for your last solution. Perhaps it could be worked.

Finally I solved my problem changing the type of OSPF area from standard to NSSA. This way we only receive the default route from our OSPF peer and at the same we announce our routes.

Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

Click Accept as Solution to acknowledge that the answer to your question has been provided.

The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!

These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!

The LIVEcommunity thanks you for your participation!