cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
856
Views
5
Helpful
0
Replies

ASR9K VRF imported path

nokoya001
Level 1
Level 1

In ASR1000, importing path from global to VRF will import all available path into VRF itself depend on route-map too. For example if you have 3 paths for one prefix, no matter the as-path it will import all 3 paths. But in ASR9K XR OS seems very different, it import only one and if you set maximum-path that will import the number you set. And by default it will import only it is has same local-pref and same as-path length. I tried all 'bgp bestpath' options available and unable to get same result AS1000 gave which allow me to get the prefix path in the VRF whatever the local-pref and as-path length is.

 

These are my configuration

vrf Test
 rd 65432:4
 address-family ipv4 unicast
  import from default-vrf route-policy TestImport
  import route-target
   65432:4
  !
  export route-target
   65432:4
  !
  maximum prefix 5000000 80
 !
!
route-policy TestImport
  done
end-policy
!

router bgp 911
 vrf Test
  rd 65432:4
  bgp redistribute-internal
  address-family ipv4 unicast
   distance bgp 200 200 200
   maximum-paths ebgp 3 order igp-metric
   redistribute connected
  !
 !
!

Any clue which option should I add to ignore as-path length and local-pref(set for default-vrf) ?

0 Replies 0