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. And see here for current known issues.

New Member

ospf route distribution

we have the below network

isprouter1------switch 1------cus-router1


switch 1 and switch 2 are interconnected

cus-router1 one ethernet interface is connected to LAN siwtch 1 and cus-router2 one ethernet interface is connected to LAN switch 2

both these lan switches are interconnected and redistribute some static routes. those routes are learnt by both ISP routers. now when we removed the fast ehthernet interfce of cus-router 1 facing LAN switch, and tested the connection from a remote site to reach a network residributed via static from lan switches. a loop has occured. the packet is reaching isp router 2 and then goes to isp router 1 and forms a loop.

how do avoid this?

what can be done within ospf to avoid this and have a failover working. if any interfaces of any router fails, the redistributed routes should cause any loops


Hall of Fame Super Silver

Re: ospf route distribution


I wonder if the switches continue to redistribute some static routes even when the interface on cus-router1 is removed? It might help us figure out the problem if you could provide some configuration details from the switches and the customer routers.



New Member

Re: ospf route distribution

thnx for the reply

just to simply more, below is the diag

Isprter1 ---swtch a--cust-rter1--lanswitcha

| |

isprter2--swtch b--cust-rter2-lanswitchb

isprter1 and 2 are connected and so is lanswitcha and b

currently connection from cust-rter1 to lanswitcha is down

lanswitch b is the DR

sh ip ospf neighbor

Neighbor ID Pri State Dead Time Address Interface 1 FULL/DROTHER 00:00:38 Vlan2 1 FULL/BDR 00:00:39 Vlan2 1 FULL/BDR 00:00:38 Vlan999

Isprter2 neigbor

sh ip ospf neighbor

Neighbor ID Pri State Dead Time Address Interface 1 FULL/BDR 00:00:33 FastEthernet1/0 1 FULL/DROTHER 00:00:39 FastEthernet1/0 1 FULL/DROTHER 00:00:38 FastEthernet1/0 1 FULL/DROTHER 00:00:36 FastEthernet0/0 1 FULL/DR 00:00:33 FastEthernet0/0

We want to reach a network 10.1.90 and we reach isprter then a loop. The loop is within isprter1 and 2, cust-rter1 and 2

Below is the ip ospf database for on isprter 1

7200#sh ip route | include 10.1.90

O E2 [110/10] via, 01:43:42, FastEthernet1/0

7200#sh ip ospf da

7200#sh ip ospf database | in

mfl-lnd-bt-7200#sh ip ospf database | include 547 0x800000B5 0x000B4D 0 597 0x800000B4 0x00FA5B 0 203 0x8000002F 0x003546 106795

We are missing something very basic and important

Hall of Fame Super Silver

Re: ospf route distribution


To give us better information to work from can you post the output of show ip interface brief and the output of show ip route from each of the routers and switches?



CreatePlease login to create content