ASR9000 with IOS XE - No inter vrf routing ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-24-2018 06:43 AM - edited 03-08-2019 02:46 PM
Hi,
I am trying to find a way to perform inter-vrf routing for a given prefix....on an ASR9000 with IOS XE.
Any solution ?
- Labels:
-
Other Switching
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-24-2018 08:54 AM
You want to leak route from 1 vrf to another vrf or from 1 vrf to global?
Are you already using a dynamic routing protocol?
Can you share your config (routing and vrf) + tell what prefix you want to leak?
I'll do the config for you to show you how to do so.
Thanks
Francesco
PS: Please don't forget to rate and select as validated answer if this answered your question
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-24-2018 09:13 AM
Hello Joy!
Did you review this post? Jain do that in a ASK1000 https://supportforums.cisco.com/t5/service-providers-blogs/inter-vrf-routing/ba-p/3102707
---Do not forget to rate useful post.---
Regards,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-25-2018 12:40 AM
Hi Diana
I was talking about inter-vrf routing on the 1 router : you come in the router through a VRF and go out another one if you target that prefix.
thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-24-2018 09:22 AM
Could you please specify if you are looking for a solution for the ASR9000, which runs IOS XR, or for another platform running IOS XE. The title is conflicting.
Regards,
Harold Ritter, CCIE #4168 (EI, SP)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-25-2018 12:36 AM
Hi Harold!
Cisco ASR9K Series is the platform. And Cisco IOS XR Software is the firmware (sorry).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-25-2018 04:36 AM
...and I cannot find a route-map command available! :)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-25-2018 05:59 AM
Cisco ASR9K Series is the platform. And Cisco IOS XR Software is the firmware (sorry).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-26-2018 06:53 PM
Sorry for my late answer.
I would recommend to do it using BGP locally on the switch to leak routes from each vrf.
here a config sample:
Let's assume you have vrf A and B with subnet 192.168.10.0/24 in vrf A and 192.168.20.0/24 in vrf B.
BGP config:
router bgp AS_number
bgp router-id x.x.x.x
address-family ipv4 unicast
!
address-family vpnv4 unicast
!
vrf A
rd 1:1
address-family ipv4 unicast
redistribute connected
vrf B
rd 2:2
address-family ipv4 unicast
redistribute connected
VRF config:
vrf A
address-family ipv4 unicast
import route-policy VRFB_2_VRFA
import route-target
1:1
2:2
!
export route-target
1:1
!
vrf B
address-family ipv4 unicast
import route-policy VRFA_2_VRFB
import route-target
1:1
2:2
!
export route-target
2:2
Route-Policy config:
route-policy VRFA_2_VRFB
if destination in (192.168.10.0/24) then
done
endif
end-policy
route-policy VRFB_2_VRFA
if destination in (192.168.20.0/24) then
done
endif
end-policy
Hope that helps
Thanks
Francesco
PS: Please don't forget to rate and select as validated answer if this answered your question
