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

MPLS VRF Route leaking on 7K

Sami Abunasser
Level 1
Level 1

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
Level 7
Level 7

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

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Review Cisco Networking products for a $25 gift card