cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
377
Views
0
Helpful
1
Replies

Issue in Redistribution in Nexus 9K in Cisco CML Lab

BILAL JAVED
Level 1
Level 1

BILALJAVED_0-1697023587189.png

 

Hello Guys, I am using this topology in Cisco CML Lab. In which I am running EBGP between the 2 Nexus Switches and OSPF between Nexus and Cisco Router. EBGP and OSPF neighborships are up. But the problem is that from Nexus 9k on Site-1 I can not ping the OSPF routes learnt from Cisco Router2 in Site 2. Similarly, from Nexus 9k on Site-2 I can not ping the OSPF routes learnt from Cisco Router1 in Site 1. Below is the configuration I am running on the Nexus Switches. I was thinking there is some problem in the redistribution from OSPF to BGP or from BGP to OSPF. Can you please help me on this ???

 

ip prefix-list OSPF-ROUTE seq 5 permit 11.16.0.1/32 
ip prefix-list OSPF-ROUTE seq 10 permit 11.16.1.1/32 
route-map ANYONE permit 10 
route-map OSPF-BGP permit 10
  match ip address prefix-list OSPF-ROUTE

 

router ospf 1
  redistribute bgp 85001 route-map ANYONE
router bgp 85001
  log-neighbor-changes
  address-family ipv4 unicast
    network 10.0.1.200/30
    network 10.0.250.0/30
    network 10.1.1.4/30
    network 10.1.2.4/30
    network 10.1.2.28/30
    redistribute ospf 1 route-map OSPF-BGP

  neighbor 10.1.2.6
    remote-as 85003
    description eBGP Peering - LD5 PE1
    address-family ipv4 unicast
      next-hop-self

 

 

1 Reply 1

Add to redistrubte match internal external 

And check again