cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
535
Views
0
Helpful
2
Replies

OSPF Between Nexus 7K and 3560-X

AMD_GAMER
Level 1
Level 1

Hi,

  I have two Nexus 7K, one at each datacenter. They are connected via 10G Ethernet. Both Nexus cores are running OSPF between them. Below are their configs:

Nexus 1:

interface Vlan10
  no ip redirects
  ip address 10.0.0.2/22
  ip router ospf 3900 area 0.0.0.0
  ip pim sparse-mode
  no shutdown
!
router ospf 3900
  router-id 10.0.0.2
  redistribute static route-map static-to-ospf
!
route-map static-to-ospf permit 10
  set metric 20
  set metric-type type-2

 

Nexus 2:

interface Vlan10
  no ip redirects
  ip address 10.0.0.3/22
  ip router ospf 2775 area 0.0.0.0
  ip pim sparse-mode
  no shutdown
!
router ospf 2775
  router-id 10.0.0.3
  redistribute static route-map static-to-ospf
!
route-map static-to-ospf permit 10
  set metric 20
  set metric-type type-2

 

I have a few connections that are currently connected to a 3560-X. This switch is directly connected to Nexus 2 on VLAN10. I would like to inject the static routes that are listed in the 3560-X into OSPF. These routes needs to be listed in both Nexus cores. Would the following config on the 3560-X look correct:

router ospf 2775
  router-id 10.0.0.13
  redistribute static subnets
!
int vlan 10
 ip router ospf 2775 area 0.0.0.0
!
ip route 10.1.0.0 255.255.254.0 10.0.246.2
ip route 10.1.2.0 255.255.255.0 10.0.246.2

 

Is there anything I am overlooking? These connections are terminated to the 3560-X because the one Nexus core will be moving into our DR facility. Therefore, I need to migrate many of the connections off the Nexus and onto the 3560-X. Eventually, the 10G pipe will be migrated from the Nexus onto the 3560-X.

 

 

 

 

 

2 Replies 2

Reza Sharifi
Hall of Fame
Hall of Fame

Hi,

Your config for the 3560-X looks correct.

I am not sure if you can add the process and area to an interface on these switches, if not you can simply add a network statement to your OSPF process.

Although OSPF process ids are locally significant, is there a reason for assigning 2 different process ides for 2 different devices?  It makes troubleshooting and overall management easier if you use the same id on both devices.

HTH

Ok. The ID's were set based on location. At this point, we only have 1 process running per switch, but if we had multiple processes running I could see that matching the ID's would be easier to manage. Thanks for your help.

Review Cisco Networking for a $25 gift card