cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1656
Views
2
Helpful
17
Replies

NX-OS OSPF Routing - Directly on Ethernet Interface vs. VLAN Interface

mbrown-revitycu
Level 1
Level 1

We are encountering an issue with setting up OSPF routing on two Nexus9000 switches we recently put into service.

We have several branch locations in our network. Each has its own branch router or L3 device. These devices use OSPF to form neighbor relationships.

When we first setup the two Nexus9000 devices, we attempted to set up the OSPF routing on a VLAN interface. This interface was set up on both devices with HSRP applied.

The config was very much like this:

Nexus A

interface Vlan990
description CharterMPLS
no shutdown
no ip redirects
ip address 172.16.99.237/24
no ipv6 redirects
ip ospf authentication message-digest
ip ospf message-digest-key 1 md5 3 keygoeshere
no ip ospf passive-interface
ip router ospf 10 area 0.0.0.0
hsrp 90
priority 150
timers 1 3
ip 172.16.99.236

Nexus B

interface Vlan990
description CharterMPLS
no shutdown
no ip redirects
ip address 172.16.99.238/24
no ipv6 redirects
ip ospf authentication message-digest
ip ospf message-digest-key 1 md5 3 keygoeshere
no ip ospf passive-interface
ip router ospf 10 area 0.0.0.0
hsrp 90
priority 150
timers 1 3
ip 172.16.99.236

Ethernet interface for connection:

interface Ethernet1/6
switchport
switchport mode trunk
switchport trunk allowed vlan 990

 

Under this configuration the Nexus devices would not form neighbor relationships with the other devices in the network.

However, if we configured an ethernet interface directly with the OSPF info, neighboring came right up and works perfectly.

Config on the interface:

interface Ethernet1/45
description CHARTER_MPLS
no ip redirects
ip address 172.16.99.236/24
ip ospf authentication message-digest
ip ospf message-digest-key 1 md5 3 keygoeshere
no ip ospf passive-interface
ip router ospf 10 area 0.0.0.0
no shutdown

 

Do we have errors in our config somewhere such that setting OSPF on the VLAN interface causes the neighbor relationships to not be built?

Thanks!