12-28-2024 04:35 PM
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
12-28-2024 04:51 PM
Make sure you have the packet for OSPF installed in the ASR
12-28-2024 07:39 PM - edited 12-28-2024 07:48 PM
Hi @Flavio Miranda ,
The OP would not be able to configure ospf at all if the ospf package was not installed.
Regards,
12-28-2024 06:03 PM - edited 12-28-2024 06:52 PM
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,
12-30-2024 10:17 PM
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
12-30-2024 10:19 PM
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.
12-31-2024 06:09 AM
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,
01-11-2025 03:17 PM
are the issue solved or not ?
thanks
MHM
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide