cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Announcements
138
Views
0
Helpful
1
Replies
Sami Abunasser
Beginner

MPLS VRF Route leaking on 7K

Hi,

 

We have a multi tenant DC environment, with MPLS running on our 7010's. I want to leak a specific network between two VRFs, but I don't want to share the complete vrf routing table. I can't seem to do any of the standard IOS tricks on Nexus. Does anyone know how to leak one subnet between two VRFs on NX-OS 6.1(5)?

 

Here's a sample configuration:

vrf context RED
  rd 1.1.1.1:100
  address-family ipv4 unicast
    route-target export 1.1.1.1:100
!
vrf context BLUE
  rd 1.1.1.2:100
  address-family ipv4 unicast
    route-target export 1.1.1.2:100
!

Desired network is (10.10.10.0/29) in VRF BLUE, we need to import into VRF RED.

 

Thank you,

Sami

1 REPLY 1
mlund
Rising star

Hi Sami

 

Maybe something like this will work

 

feature bgp

vrf context RED

  address-family ipv4 unicast

   route-target import 1.1.1.2:100

   import map test

ip prefxi-list testing 10 permit 10.10.10.9/29

route-map test permit 10

match ip address prefix-list testing

router bgp xyz

 address-family ipv4

  vrf RED

  address-family ipv4 unicast

  network ....

  vrf BLUE

  address-family ipv4 unicast

  network .....

 

/Mikael