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

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

For an introduction to the new site, click here. If you'd prefer to explore, try our test area to get started. And see here for current known issues.

New Member

OSPF routing and connected route question


I have a problem to expose you.

I have a core switch that is a member of an OSPF area.

The neighbors of this switch are two provider routers in the same area OSPF.

Today after a migration, the provider has set up a route to the core switch in

The problem I have is that the core switch redistributes these routes own corresponding connected to each VLAN.

Example: - - etc ...

Do you know if there is a way to not to redistribute the connected routes into OSPF? Because it is useless in the OSPF because the route is sufficient for all VLANs


Benoit PETRY

Everyone's tags (3)
VIP Purple

OSPF routing and connected route question

Hi Petry,

You can use the passive interface concept to stop redistribution on specific interfaces.

To stop routers from becoming OSPF neighbors on a particular interface, issue the

passive-interface command at the interface.

In large enterprise networks, many of the distribution routers have more than 200 interfaces. Configuring passive-interface on each of the 200 interfaces can be difficult. The solution in such situations is to configure all the interfaces as passive by default using a single passive-interface default command. Then, configure individual interfaces where adjacencies are desired using the no passive-interface command.

Hope it helps.


Please rate if it helps.


OSPF routing and connected route question


the passive interface in OSPF will prevent the adjacency but it won't prevent the interface where OSPF is enabled or which

fit a network command to be advertised to other neighbours as far as I know.



Don't forget to rate helpful posts.

Don't forget to rate helpful posts.