cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1696
Views
10
Helpful
8
Replies

Routing OSPF - NX-OS

kitkat0981
Level 1
Level 1

Hi all,

 

figured I would ask here since im no Cisco routing engineer especially with Nexus and NX-OS.

 

so seeing some weird things in OSPF more so for what seems to be discrepancies between 2 HSRP 5548's running OSPF.

OSPF summary is not identical.

 

SW1: 

SW1# show ip ospf route summary 
 OSPF Process ID 100 VRF default, Routing Table
  (D) denotes route is directly attached      (R) denotes route is in RIB
  (NHR) denotes next-hop is in RIB

Total number of routes: 244
Total number of paths: 234

Total number of (routes, paths) per path type:
nopath          : (      10,        0)
intra           : (     114,      114)
discard-internal: (       0,        0)
inter           : (       0,        0)
discard-external: (       0,        0)
type-1          : (       0,        0)
nssa type-1     : (       0,        0)
type-2          : (     120,      120)
nssa type-2     : (       0,        0)

Number of (routes,paths) per mask-length:
  /0 : (       1,        0)  /16: (      12,        6)
  /17: (       1,        0)  /20: (       1,        1)
  /21: (      19,       19)  /23: (       1,        1)
  /24: (      59,       57)  /28: (       1,        1)
  /29: (       9,        9)  /30: (      10,       10)
  /32: (     130,      130)

SW2:

SW2# show ip ospf route summary
 OSPF Process ID 100 VRF default, Routing Table
  (D) denotes route is directly attached      (R) denotes route is in RIB
  (NHR) denotes next-hop is in RIB

Total number of routes: 244
Total number of paths: 244

Total number of (routes, paths) per path type:
nopath          : (       0,        0)
intra           : (     114,      114)
discard-internal: (       0,        0)
inter           : (       0,        0)
discard-external: (       0,        0)
type-1          : (       0,        0)
nssa type-1     : (       0,        0)
type-2          : (     130,      130)
nssa type-2     : (       0,        0)

Number of (routes,paths) per mask-length:
  /0 : (       1,        1)  /16: (      12,       12)
  /17: (       1,        1)  /20: (       1,        1)
  /21: (      19,       19)  /23: (       1,        1)
  /24: (      59,       59)  /28: (       1,        1)
  /29: (       9,        9)  /30: (      10,       10)
  /32: (     130,      130)

 

also, i read in other sections of this forum that some stated you should not use HSRP virtual IP's as next hop addresses in OSPF and when adding Static route for OSPF advertisement. Is this correct?  if so, what would be the potential issues, weirdness seen?

 

thanks

 

np

 

8 Replies 8

/16 and /24 

what this subnet ?

kitkat0981
Level 1
Level 1

ya so /16's   there is 12 routes and 12 paths on SW2 but only 12 routes and 6 paths in SW1 .... i dont understand why.

kubn2
Level 1
Level 1

Check ospf DB and try to spot which routes have problems

can I see topology ?

Hello,

 

on a side note, it used to be that an HSRP virtual address used as a static neighbor IP address would not form an OSPF adjacency. Not sure if that still is the case (in NX-OS)...

kitkat0981
Level 1
Level 1

i cannot put any configs since work wont allow it.

Ill see if i can do up a diagram.

kitkat0981
Level 1
Level 1

ok so I have created a lab and i cant seem to get OSPF to start. See diagram and attached commands.

The backbone area says inactive and not sure why.

 

This is nx-os latest virl.

Capture22.png is the diagram, others are command outputs.

 

kitkat0981
Level 1
Level 1

anyone know why my OSPF is not initializing?  Am I missing a configuration? Im doing this in EVE-NG and putting a standard router at the place of the NX-OS 7000 seems to work...  any help would be appreciated.

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Review Cisco Networking products for a $25 gift card