annuler
Affichage des résultats de 
Rechercher plutôt 
Vouliez-vous dire : 
cancel
1220
Visites
5
Compliment
28
Réponses

Static routes redistribution in Nexus with OSPF

Rowlands Price
Level 1
Level 1

Hi support

I enable OSPF between Nexus switch and Catalyst, the ospf is up, but the issue is that Nexus doesn't redistribute it's static routes configure to ospf instance.

the static routes in nexus are bellow.

192.168.10.0 255.255.255.0 11.0.0.2

192.168.11.0 255.255.255.0 11.0.0.2

192.168.12.0 255.255.255.0 11.0.0.2

i need Nexus switch to redistribute the three statics routes to Catalyst, Can someone help me with the configuration

Attached is my diagramNexus OSPF.png

28 RÉPONSES 28

Just wait a minute'

Static route config in nexus (I will assume it in global not other vrf)

If above correct why it not appear in rib of nexus?

How nexus advertise prefix not show in rib?

yes, static route it in global (no vrf)

below is the static routes config

username cisco password 5 $5$VFZYIhpt$ku5mXKGVWg5gXTEsjo3KSnxIUhvQlZSfsRxoTGGGPJD role network-admin
no ip domain-lookup
copp profile strict
ip http source-interface Vlan72
ip telnet source-interface Vlan72
snmp-server user admin network-admin auth md5 0x1b6541afe
snmp-server community SupervCnss group network-operator

ip route 0.0.0.0/0 172.16.72.1
ip route 192.168.10.0/24 11.0.0.2
ip route 192.168.11.0/24 11.0.0.2
ip route 192.168.12.0/24 11.0.0.2
vlan 1,11-14,32-33,55,72,80,96-98,100,113-115,122,125
vlan 11
name DATA
vlan 12
name SERVER
vlan 13
name USER

11.0.0.2 is not appear in table also which is next-hope that prevent nsk from add it.
show ip intreface brief 
check if this IP interface is UP/UP
MHM

all Interfaces are UP,

need to check routng firt? i'm new on nexus maybe i forgot some steps before,

ip routing (invalid command), any idea?

 

NEXUS# sh ip int brief

IP Interface Status for VRF "default"(1)
Interface IP Address Interface Status
Vlan72 172.16.72.37 protocol-up/link-up/admin-up
Vlan80 172.16.80.2 protocol-up/link-up/admin-up
Vlan212 10.10.212.2 protocol-up/link-up/admin-up
Vlan500 1.1.1.1 protocol-up/link-up/admin-up
Eth1/47 11.0.0.2 protocol-down/link-down/admin-up
CNSS-NEXUS-SIEGE#

Eth1/47 11.0.0.2 protocol-down/link-down/admin-up
it down not UP
check link.
MHM

it's up now, still the same issue

NEXUS#

IP Interface Status for VRF "default"(1)
Interface IP Address Interface Status
Vlan72 172.16.72.37 protocol-up/link-up/admin-up
Vlan80 172.16.80.2 protocol-up/link-up/admin-up
Vlan212 10.10.212.2 protocol-up/link-up/admin-up
Vlan500 1.1.1.1 protocol-up/link-up/admin-up
Eth1/47 11.0.0.2 protocol-up/link-up/admin-up
NEXUS#

Show ip route 

Show ip ospf database all

Show ip interface breif 

Share this again after interface be UP.

Many Thanks MHM

it's working fine, the problem was the interface with the nex-hop was down,

really sorry and many thanks for your help, now it's working fine.

 

You are so welcome 

MHM

It seem every thing is OK now'

Note:-keep all step we do for troubleshooting 

1- we change area type

2-we add metric 

In case later you need to back to modify it.

Have a nice weekend 

MHM

@MHM Cisco World et @Georg Pauwen 

Thank you all for your support! Merci à tous pour votre support !

NEXUS# sh ip route
IP Route Table for VRF "default"
'*' denotes best ucast next-hop
'**' denotes best mcast next-hop
'[x/y]' denotes [preference/metric]
'%<string>' in via output denotes VRF <string>

0.0.0.0/0, ubest/mbest: 1/0
*via 172.16.72.1, [1/0], 16:20:44, static
1.1.1.0/24, ubest/mbest: 1/0, attached
*via 1.1.1.1, Vlan500, [0/0], 00:06:04, direct
1.1.1.1/32, ubest/mbest: 1/0, attached
*via 1.1.1.1, Vlan500, [0/0], 00:06:04, local
10.0.40.0/28, ubest/mbest: 1/0
*via 10.4.80.61, Eth1/47, [110/20], 00:01:05, ospf-1, type-2
10.4.2.0/26, ubest/mbest: 1/0
*via 10.4.80.61, Eth1/47, [110/20], 00:01:05, ospf-1, type-2
10.4.3.0/26, ubest/mbest: 1/0
*via 10.4.80.61, Eth1/47, [110/20], 00:01:05, ospf-1, type-2
10.4.4.0/26, ubest/mbest: 1/0
*via 10.4.80.61, Eth1/47, [110/20], 00:01:05, ospf-1, type-2
10.4.5.0/26, ubest/mbest: 1/0
*via 10.4.80.61, Eth1/47, [110/20], 00:01:05, ospf-1, type-2
10.4.6.0/26, ubest/mbest: 1/0
*via 10.4.80.61, Eth1/47, [110/20], 00:01:05, ospf-1, type-2
10.4.7.0/26, ubest/mbest: 1/0
*via 10.4.80.61, Eth1/47, [110/20], 00:01:05, ospf-1, type-2
10.4.8.0/26, ubest/mbest: 1/0
*via 10.4.80.61, Eth1/47, [110/20], 00:01:05, ospf-1, type-2
10.4.9.0/26, ubest/mbest: 1/0
*via 10.4.80.61, Eth1/47, [110/20], 00:01:05, ospf-1, type-2
10.4.20.0/27, ubest/mbest: 1/0
*via 10.4.80.61, Eth1/47, [110/7], 00:01:05, ospf-1, inter
10.4.20.33/32, ubest/mbest: 1/0
*via 10.4.80.61, Eth1/47, [110/7], 00:01:05, ospf-1, inter
10.4.21.0/25, ubest/mbest: 1/0
*via 10.4.80.61, Eth1/47, [110/7], 00:01:05, ospf-1, inter
10.4.22.0/25, ubest/mbest: 1/0
*via 10.4.80.61, Eth1/47, [110/7], 00:01:05, ospf-1, inter
10.4.23.0/25, ubest/mbest: 1/0
*via 10.4.80.61, Eth1/47, [110/7], 00:01:05, ospf-1, inter
10.4.24.0/25, ubest/mbest: 1/0
*via 10.4.80.61, Eth1/47, [110/7], 00:01:05, ospf-1, inter
10.4.25.0/25, ubest/mbest: 1/0
*via 10.4.80.61, Eth1/47, [110/7], 00:01:05, ospf-1, inter
10.4.26.0/25, ubest/mbest: 1/0
*via 10.4.80.61, Eth1/47, [110/7], 00:01:05, ospf-1, inter
10.4.27.0/25, ubest/mbest: 1/0
*via 10.4.80.61, Eth1/47, [110/7], 00:01:05, ospf-1, inter
10.4.28.0/25, ubest/mbest: 1/0
*via 10.4.80.61, Eth1/47, [110/7], 00:01:05, ospf-1, inter
10.4.32.0/25, ubest/mbest: 1/0
*via 10.4.80.61, Eth1/47, [110/7], 00:01:05, ospf-1, inter
10.4.33.0/25, ubest/mbest: 1/0
*via 10.4.80.61, Eth1/47, [110/7], 00:01:05, ospf-1, inter
10.4.34.0/25, ubest/mbest: 1/0
*via 10.4.80.61, Eth1/47, [110/7], 00:01:05, ospf-1, inter
10.4.35.0/25, ubest/mbest: 1/0
*via 10.4.80.61, Eth1/47, [110/7], 00:01:05, ospf-1, inter

*via 10.4.80.61, Eth1/47, [110/20], 00:01:05, ospf-1, type-2
217.77.68.128/29, ubest/mbest: 1/0
*via 10.4.80.61, Eth1/47, [110/10], 00:01:05, ospf-1, type-2

NEXUS#


NEXUS# sh ip ospf database
OSPF Router with ID (10.0.01) (Process ID 1 VRF default)

Router Link States (Area 0.0.0.0)

Link ID ADV Router Age Seq# Checksum Link Count
10.4.20.33 10.4.20.33 1416 0x80000a9e 0x911b 2

Network Link States (Area 0.0.0.0)
Link ID ADV Router Age Seq# Checksum
10.4.80.57 10.4.80.204 1666 0x80000060 0x20a3

Summary Network Link States (Area 0.0.0.0)

Link ID ADV Router Age Seq# Checksum
10.4.20.0 10.4.20.33 1416 0x80000a9c 0x262a
10.4.20.33 10.4.20.33 1416 0x80000a9c 0x957a
10.4.21.0 10.4.20.33 1416 0x80000a9c 0xd8d6
10.4.22.0 10.4.20.33 1416 0x80000a9c 0xcde0


Type-5 AS External Link States

Link ID ADV Router Age Seq# Checksum Tag
0.0.0.0 10.4.80.204 1910 0x8000005e 0xe8a8 1
10.0.40.0 10.4.80.203 992 0x80000a9a 0x8c23 0
10.4.2.0 10.4.80.203 992 0x80000a9a 0xde23 0
10.4.3.0 10.4.80.203 992 0x80000a9a 0xd32d 0
10.4.4.0 10.4.80.203 992 0x80000a9a 0xc837 0


NEXUS#

Bonjour !

Je suppose que vous utilisez ces commandes :

feature ospf

router ospf 1
redistribute static subnets

?

Bonjour Georg

merci de votre reponse, dans le Nexus, il n'y a pas la commande redistribute static subnets, ça demande d'utiliser la route-map