[c-nsp] ASR9K VRF route leaking

Anton Turygin pa3op at tsua.net
Fri Apr 8 10:56:03 EDT 2011


Hello,

Got some problems with configuring vrfs under IOS XR 4.0.

have the following config:

#sh run vrf
Fri Apr  8 17:39:17.029 EEST
vrf 1
  address-family ipv4 unicast
   import route-target
    1:1
    2:2
   !
   export route-target
    1:1
    2:2
   !
  !
!
vrf 2
  address-family ipv4 unicast
   import route-target
    1:1
    2:2
   !
   export route-target
    1:1
    2:2
   !
  !
!
#sh run router static vrf 1
Fri Apr  8 17:39:28.190 EEST
router static
  vrf 1
   address-family ipv4 unicast
    1.1.1.0/24 Null0
   !
  !
!
#sh run router static vrf 2
Fri Apr  8 17:39:29.663 EEST
router static
  vrf 2
   address-family ipv4 unicast
    2.2.2.0/24 Null0
   !
  !
!
#sh run router bgp
[...]
  vrf 1
   rd 1:1
   address-family ipv4 unicast
    redistribute connected
   !
  !
  vrf 2
   rd 2:2
   address-family ipv4 unicast
    redistribute connected

#


As per my understanding now the route 2.2.2.0/24 from vrf 2 should appear 
in vrf 1 routing table (at least this kind of config would be enough for 
IOS 12.2). But this does not happen.

Can please anyone point me to the right piece of documentation.
What am I missing?

Thank you.


-- 
RAZ-RIPE



More information about the cisco-nsp mailing list