Cisco Support Community
Showing results for 
Search instead for 
Did you mean: 

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

Inter VRF communication

read following in a cisco doc:

You can not configure two static routes to  advertise each prefix       between the VRFs, because this method is not supported—packets will  not be       routed by the router. To achieve route leaking between VRFs, you must  use the       import functionality of route-target and enable Border Gateway  Protocol (BGP)       on the router. No BGP neighbor is required.


can't we use static routes between VRFs for inter VRF communication or route leaking......????

Hall of Fame Super Silver

Re: Inter VRF communication

Hello Mukarram,

using route-target import and export or using export maps or import maps is the way to do this

routes of VRFB are imported in VRFA if VRFA imports their route-target

address-family ipv4 vrf VRFA


address-family ipv4 vrf VRFB

have to be configured

the use of static routes is allowed only for leakage between a VRF and the global routing table

Hope to help


Re: Inter VRF communication

Hi guislar,

Just tested this in GNS , and Inter VRF communication is indeed possible with static routes....

but for that following must be enabled in global config mode (which is although by default enabled):

     # ip route static inter-vrf


CE1 - PE - CE2

CE1 has loopback

CE2 has loopback

PE has two VRFS:

     CE1 is connected in VRF A through serial 0/0

     CE2 is connected in VRF B through serial 0/1

Inter VRF static routes on PE:

ip route vrf A ser 0/1

ip route vrf B ser 0/0

while default static routes on CE1 and CE2

Hall of Fame Super Silver

Re: Inter VRF communication

Hello Mukarram,

thanks I didn't know of this option

ip route static ?
  adjust-time  Time period for adjusting static routes
  inter-vrf    Across VRF interfaces

I've checked on a C6500 with 12.2(33)SXH2a

Hope to help