cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1029
Views
4
Helpful
17
Replies

Redistribution Static Route on NX-OS Nexus 7000

malickmbaye
Level 1
Level 1

Hello,

I have a N7K which is configured with multiple VDC (VDC-DIST and VDC-CORE). i have EIGRP routing activated on the two VDC and the neighboring is working fine. I am also able to redistributed direct network connected from the DIST to the CORE. But the redistribution of static routes created on DIST is not working. The CORE don't see those routes via the EIGRP. Can someone help me please, i am new on NX-OS

Configuration of DIST:

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

 

route-map redist-static permit 10
match ip address prefix-list REDISTRIBUTION
redistribute direct route-map redist-static
redistribute static route-map redist-static

 

 

router eigrp VIN
autonomous-system 1
router-id 0.0.0.230
redistribute direct route-map redist-static
redistribute static route-map redist-static
address-family ipv4 unicast

 

ip route 10.254.0.152/30 10.101.222.100

------

The route 10.254.0.152 is not seen from the CORE.

 

 

1 Accepted Solution

Accepted Solutions

Hello
try applying the redistribution under the AFI for ipv4 also maybe tag the static instead,   then test again

router eigrp vin
no redistribute direct route-map redist-static
no redistribute static route-map redist-static

address-family ipv4 unicast
redistribute static route-map redist-static

also possibly ...
ip route 10.254.0.152/30 10.101.222.100 tag 10

no route-map redist-static permit 10

route-map redist-static permit 10
match tag 10



Please rate and mark as an accepted solution if you have found any of the information provided useful.
This then could assist others on these forums to find a valuable answer and broadens the community’s global network.

Kind Regards
Paul

View solution in original post

17 Replies 17

that all config, how eigrp form between two NSK SW ? 

MHM

Hello,

Yes The eigrp is formed:

malickmbaye_0-1719746072389.png

 

show ip eigrp route-map statistics redistribute <<- can I see this 
MHM

hello

malickmbaye_0-1719756460886.png

 

malickmbaye
Level 1
Level 1

Hello,

 

malickmbaye_0-1719748371320.png

 

there is nothing wrong as I see 
there is EIGRP and route-map is match 2 prefix 
so you must see static route in other Peers 
except case you have route-map to filter which prefix learn from

can you confirm that there is no route-map or distribute list filter prefix Inbound ?

also try below 
instead 

Nexus-C(config)# router eigrp VIN
Nexus-C(config-router)# address-family ipv4 unicast
Nexus-C(config-router-af)# autonomous-system 1
Nexus-C(config-router-af)# router-id 0.0.0.255
Nexus-C(config-router-af)# redistribute static route-map  redist-static

sometime the nexus not run command until we add it under address family 
MHM

I do lab yesterday ad as I mention you need to add redistribute static under address family 

Screenshot (621).pngScreenshot (625).png

Screenshot (623).png

Can you provide the routing table of DIST and CORE along with show ip eigrp topology on both devices.

Usually when you configure a static route and the next hop is unreachable it wont put it in the table, and therefore not redistribute it into EIGRP. If it is in fact redistributing it and passing it to its neighbor, you'll see it in the EIGRP topology table.

 

-David

Hello
try applying the redistribution under the AFI for ipv4 also maybe tag the static instead,   then test again

router eigrp vin
no redistribute direct route-map redist-static
no redistribute static route-map redist-static

address-family ipv4 unicast
redistribute static route-map redist-static

also possibly ...
ip route 10.254.0.152/30 10.101.222.100 tag 10

no route-map redist-static permit 10

route-map redist-static permit 10
match tag 10



Please rate and mark as an accepted solution if you have found any of the information provided useful.
This then could assist others on these forums to find a valuable answer and broadens the community’s global network.

Kind Regards
Paul

Hello,

The issue is solved with matching tag.

Thank you very much.

Did you try with tag but add under address family ipv4 unicast? i.e. NOT need TAG 
FYI :-I already check it without tag and work 

MHM

Will i lose the connection on the device when i apply it? Note that i am connected to an ip management which is known from eigrp

OK that need to check (lost of connection)

ip prefix-list REDISTRIBUTION seq 5 permit 0.0.0.0/0 le 32 <<- this need change to 

ip prefix-list REDISTRIBUTION seq 5 permit 10.254.0.152/30 

this tune the static route redistribute, but again you need to add it under address family
try it without tag and check 

MHM

 

any update ?

MHM

Review Cisco Networking for a $25 gift card