cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
22654
Views
5
Helpful
17
Replies

Nexus VRF-Lite static route leak

pfillips11
Level 1
Level 1

Hello all, I am wondering if there is "ip route VRF..." command available in NX-OS to support VRF route leaking? Thank you.

17 Replies 17

Many thanks for finding that

 

I tried to do it with Import Maps but no joy - any idea as to where I am going wrong here

 

ip prefix-list IMPORT-10-53 seq 10 permit 10.53.0.0/16
ip prefix-list EXPORT-10-50 seq 10 permit 10.50.7.0/24
!
route-map IMPORT-MAP-10-53 permit 10
match ip address prefix-list IMPORT-10-53
!
route-map IMPORT-MAP-10-50 permit 10
match ip address prefix-list IMPORT-10-50
!
vrf context ABC
address-family ipv4 unicast
route-target both 1:1
import map IMPORT-MAP-10-53
export map EXPORT-MAP-10-50
!

 

I'm just trying to share routes between the Global Routing Table and a single VRF

I got this working on a Nexus 7700 running 7.3x and I didn't need to put in the both route-target import and export commands in the same vrf.  It works fine.  Did something change in recent code?

 

vrf context host1
address-family ipv4 unicast
route-target import 1:1
route-target export 1:2

(do not need route-target import 1:2)

 

vrf context host2
address-family ipv4 unicast
route-target import 1:1
route-target export 1:3

 

vrf context storage
address-family ipv4 unicast
route-target import 1:2
route-target import 1:3
route-target export 1:1

 

Review Cisco Networking for a $25 gift card