cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
548
Views
2
Helpful
7
Replies

OSPF CONFIG FROM NEXUS 9K TO ASR 9K

mspdog22
Level 1
Level 1

Hello 

 

I am trying to set up ospf from a nexus 9k switch running 9.3 code to an asr 9001 router running code 6.2.3. 

Below is my base config but i am not able to get the ospf to form. 

 

Am i missing something as this looks to be the correct config. 

 

Nexus Side 

router ospf 10
router-id 1.1.1.1
redistribute direct route-map REDIST-ALL
redistribute static route-map REDIST-ALL
area 0.0.0.0 filter-list route-map REDIST-ALL out
area 0.0.0.0 filter-list route-map REDIST-ALL in
log-adjacency-changes detail
passive-interface default

 

 

ip prefix-list ANY seq 5 permit 0.0.0.0/0 le 32

route-map REDIST-ALL permit 10
match ip address prefix-list ANY

interface Ethernet1/1
description UP LINK TO CISCO ASR 9001
ip address 1.1.1.1/30
ip ospf network point-to-point

 

 

ASR Side 

 

interface TenGigE0/0/1/0
description UPLINK TO NEXUS CORE SW POR 1/1
ipv4 address 1.1.1.2 255.255.255.252

router ospf 10
router-id 1.1.1.2
default-information originate
redistribute connected
area 0
interface TenGigE0/0/1/0
network point-to-point

 

7 Replies 7

Hi @Flavio Miranda ,

The OP would not be able to configure ospf at all if the ospf package was not installed.

Regards,

Regards,
Harold Ritter, CCIE #4168 (EI, SP)

Harold Ritter
Spotlight
Spotlight

Hi @mspdog22 ,

You need to activate ospf under the interface e1/1 on the nexus side as follow.

interface Ethernet1/1

ip router ospf 10 area 0

no ip ospf passive-interface.    <++++++ This is also required as you configured "passive-interface default" under the ospf process

The adjacency should then come up.

Regards,

Regards,
Harold Ritter, CCIE #4168 (EI, SP)

mspdog22
Level 1
Level 1

Here is what i have installed. 

 

disk0:asr9k-doc-px-6.2.3
disk0:asr9K-doc-supp-6.2.3

disk0:asr9k-fpd-px-6.2.3
disk0:asr9k-fpd-6.2.3

disk0:asr9k-mgbl-px-6.2.3
disk0:asr9k-mgbl-supp-6.2.3
disk0:iosxr-mgbl-6.2.3

disk0:asr9k-mini-px-6.2.3
disk0:asr9k-scfclient-6.2.3
disk0:asr9k-os-mbi-6.2.3
disk0:iosxr-common-pd-fib-6.2.3
disk0:iosxr-gcp-fwding-6.2.3
disk0:asr9k-cpp-6.2.3
disk0:asr9k-ce-6.2.3
disk0:iosxr-ce-6.2.3
disk0:asr9k-diags-supp-6.2.3
disk0:iosxr-diags-6.2.3
disk0:asr9k-fwding-6.2.3
disk0:iosxr-fwding-6.2.3
disk0:iosxr-routing-6.2.3
disk0:iosxr-infra-6.2.3
disk0:asr9k-base-6.2.3

disk0:asr9k-mpls-px-6.2.3
disk0:iosxr-mpls-6.2.3

disk0:asr9k-k9sec-px-6.2.3
disk0:iosxr-security-6.2.3
disk0:asr9k-k9sec-supp-6.2.3

disk0:asr9k-mcast-px-6.2.3
disk0:asr9k-mcast-supp-6.2.3
disk0:iosxr-mcast-6.2.3

disk0:asr9k-optic-px-6.2.3
disk0:asr9k-optics-supp-6.2.3

disk0:asr9k-px-6.2.3.CSCvh89747-1.0.0
disk0:iosxr-routing-6.2.3.CSCvh89747-1.0.0

disk0:asr9k-px-6.2.3.CSCvi72747-1.0.0
disk0:iosxr-infra-6.2.3.CSCvi72747-1.0.0

 

mspdog22
Level 1
Level 1

I am still not able to get OSPF to come online. 

Does anyone have a base config they can share for cisco asr and nexus 9K switch for ospf. 

This is a breeze in regular IOS. 

 

Hi @mspdog22 ,

Did you try the commands I suggested?

Can you please provide the output for the following commands from the nexus side:

sh runn ospf

sh ip ospf int

sh ip ospf nei

Regards,

 

Regards,
Harold Ritter, CCIE #4168 (EI, SP)

are the issue solved or not ?

thanks 

MHM