le 02-12-2023 12:10 PM
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 diagram
Résolu ! Accéder à la solution.
le 02-12-2023 03:09 PM
Show ip route
Show ip ospf database all
Show ip interface breif
Share this again after interface be UP.
le 02-12-2023 03:18 PM
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
le 02-12-2023 12:28 PM
Share config if you have
MHM
le 02-12-2023 01:00 PM
Hi MHM
Sorry, don't have config with me,
le 02-12-2023 01:02 PM
Then when you in site try
Under ospf
Redistrubte direct
And make sure static route in RIB of NSK.
MHM
le 02-12-2023 01:05 PM
Hi MHM,
I tried using route-map, but don't working, maybe somes mistakes
le 02-12-2023 01:13 PM
Route-map with redistrubte static under ospf ?
If yes
Use
Ip prefix-list dont use acl for route-map' NSK dont work with standard acl to filter prefix redistrubte between IGP/static.
MHM
le 02-12-2023 01:24 PM
Hi MHM
below is the config of the Nexus switch
ip route 192.168.10.0 255.255.255.0 11.0.0.2
ip route 192.168.11.0 255.255.255.0 11.0.0.2
ip route 192.168.12.0 255.255.255.0 11.0.0.2
vlan 406
name ZONE-BACKUP
vlan 407
name ZONE-BDD
vlan 408
name TEST
ip prefix-list STATIC seq 5 permit 192.168.10.0/24
ip prefix-list STATIC seq 10 permit 192.168.11.0/24
ip prefix-list STATIC seq 15 permit 192.168.12.0/24
route-map direct-to-ospf permit 10
route-map direct-to-ospf permit 10
match interface Vlan501 Vlan502 Vlan503 loopback0
route-map static-to-ospf permit 10
match ip address prefix-list STATIC
interface mgmt0
vrf member management
line console
line vty
boot nxos bootflash:/nxos.9.3.3.bin
no feature signature-verification
router ospf 1
router-id 10.4.80.206
area 0.0.0.10 stub no-summary
redistribute direct route-map direct-to-ospf
redistribute static route-map static-to-ospf
le 02-12-2023 01:33 PM
https://packetlife.net/blog/2008/jun/24/ospf-area-types/
Stub no summary area not accept lsa5/4.
Area direct advertise?
Change area to standard and check.
All other your config is correct.
MHM
le 02-12-2023 01:47 PM
hi MHM,
here the new config with the interface, just delete the stub area
interface Ethernet1/47
ip address 10.0.0.2/30
ip ospf network point-to-point
ip router ospf 1 area 0.0.0.0
no shutdown
interface mgmt0
vrf member management
line console
line vty
boot nxos bootflash:/nxos.9.3.3.bin
no feature signature-verification
router ospf 1
router-id 10.4.80.206
redistribute direct route-map direct-to-ospf
redistribute static route-map static-to-ospf
but still not advertise static routes, connected routes are well working
02-12-2023 01:49 PM - modifié 02-12-2023 01:57 PM
Area now is same in both peer?
Show ip route
Show ip ospf database all
Share output of above
MHM
le 02-12-2023 01:55 PM
Yes, are is the same in both peer,
ospf peering is working well, only Nexus doesn't redistribute static routes
le 02-12-2023 02:03 PM
route-map static-to-ospf permit 10
match ip address prefix-list STATIC
Set metric 110
Set metric-type type 1
Add this under route-map of redistrubte and check.
Nexus not add it by defualt.
MHM
le 02-12-2023 02:15 PM
This before or after add set metric?
Show is for nexus that redistrubte static? If yes why route not appear in rib?
le 02-12-2023 02:28 PM
Before added metric Nexus redistributes connected network fine.
the issue is that from Calalyst, cannot see static routes configured on the nexus, so Nexus didn't redistribute it
le 02-12-2023 02:21 PM
route-map direct-to-ospf permit 10
match interface Vlan501 Vlan502 Vlan503 loopback0 Vlan500
route-map static-to-ospf permit 10
match ip address prefix-list STATIC
set metric 110
set metric-type type-1
udld aggressive
ip dhcp snooping
service dhcp
ip dhcp relay
ipv6 dhcp relay
vrf context management
still not working, only connected network are redistributed
Below the sh ip route from Calalyst
Découvrez et enregistrez vos notes préférées. Revenez pour trouver les réponses d'experts, des guides étape par étape, des sujets récents et bien plus encore.
Êtes-vous nouveau ici? Commencez par ces conseils. Comment utiliser la communauté Guide pour les nouveaux membres
Parcourez les liens directs de la Communauté et profitez de contenus personnalisés en français