cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1328
Views
0
Helpful
3
Replies

OSPF Flapping

tinhnho123
Level 2
Level 2

Hi Guys,


I configured as below and hooked up the cables as the diagram. The moment i plugged these cables in the ospf protocol started doing its job.
From the router, I was able to verify the ospf neighbors on both interfaces g0/0/0 and g0/0/1. But for 1-4 minutes after they were up, the OSPF neighbor on g0/0/0 started flapping.
I turned on 'debug ip ospf hello' and see the ospf neighbor from interface g0/0/0 goes down  when the logs say 'Too many retransmissions' and 'Nbr 10.1.1.1 192.168.15.42 is currently ignored'

What would causing these? and why's it flapping?

I also replaced new cables but that didn't help. All cables are good.

The attachments are for the map and the router's log.

Thanks.
 

Nexus A:
interface Ethernet1/1
   ip address 172.20.1.1/30
   no shut

interface Ethernet1/2
   ip address 192.168.15.42/30
   no shut

interface loopback 0
    ip address 10.1.1.1/32

router ospf 1
    router-id 10.1.1.1
    network 10.1.1.1/32 area 0
    network 172.20.1.1/30 area 0
    network 192.168.15.42/30 area 0

----------------------------
Nexus B:
interface Ethernet1/1
   ip address 172.20.1.2/30
   no shut

interface Ethernet1/2
   ip address 192.168.15.46/30
   no shut

interface loopback 0
    ip address 10.2.2.1/32

router ospf 1
    router-id 10.2.2.1
    network 10.2.2.1/32 area 0
    network 172.20.1.2/30 area 0
    network 192.168.15.46/30 area 0
-----------------------------

Router:
Interface g0/0/0
    ip address 192.168.15.41 255.255.255.252
    no shut

interface g0/0/1
    ip address 192.168.15.45 255.255.255.252
    no shut

interface loopback0
    ip address 10.3.3.1/32

router ospf 1
     router-id 10.3.3.1 
    network 10.3.3.1 0.0.0.0 area 0
    network 192.168.15.41 0.0.0.0 area 0
    network 192.168.15.45 0.0.0.0 area 0

ip route 0.0.0.0 0.0.0.0 192.168.15.42
ip route 0.0.0.0 0.0.0.0 192.168.15.46

-----------------------------------

3 Replies 3

Robert Falconer
Level 1
Level 1

Have you tried adding OSPF interface configs, specifically on the Nexus gear. I would also run them p2p.

 

Example:

int e1/2

ip router ospf 1 area 0.0.0.0

ip ospf network point-to-point

 

Hi Robert,

I'll try that and let you know.

 Does NX-OS prefer to go with OSPF interface configs vs. the other(traditional way like i have above)? 

Is there any network routing impacts if used traditional way on NX-OS?

 

Thanks.

 

 

 

I think NX-OS needs the interface configs. I haven't made any changes in quite a while but I seem to remember needing the interface level configs for the neighbors to come up with OSPF.