04-19-2013 01:19 PM
Hello Folks,
I know this, is this correct?
Can we configure rd in ios xr? I am unable to find it.
I found somewhere that IOS XR by default uses vrf.
vrf vrf_cu1
interface interface-type1
interface interface-type2
addipv4 uni
route-target import 1:1
route-target export 1:1
Regards
Thanveer
"Everybody is genius. But if you judge a fish by its ability to climb a tree, it will live its whole life believing that it is a stupid."
Solved! Go to Solution.
04-19-2013 01:24 PM
Hi
RD is configured under BGP for a particular VRF.
Example:
router bgp 1
vrf ABC
rd 1:!
!
For more information, check the below link:
Regards
04-19-2013 01:27 PM
Hi Thanveer,
in IOS-XR the RD is not configured under the VRF definition as such but rather under BGP as follow:
router bgp 100
!
vrf vpn1
rd 100:1
address-family ipv4 unicast
redistribute connected
!
Please refer to the following document for more information.
Hope this helps
04-19-2013 02:12 PM
Hi Thanveer,
This is more a VRF-lite (multiVRF) scenario. In such a scenario, you wouldn't even need an RD. RD is only required to make VPNv4 prefixes unique and there is no VPNv4 involved in this scenario.
Hope this helps
04-19-2013 01:24 PM
Hi
RD is configured under BGP for a particular VRF.
Example:
router bgp 1
vrf ABC
rd 1:!
!
For more information, check the below link:
Regards
04-19-2013 01:27 PM
Hi Thanveer,
in IOS-XR the RD is not configured under the VRF definition as such but rather under BGP as follow:
router bgp 100
!
vrf vpn1
rd 100:1
address-family ipv4 unicast
redistribute connected
!
Please refer to the following document for more information.
Hope this helps
04-19-2013 01:41 PM
Thanks Harold and Vivek,
I dont know whether or not to ask but I have a small doubt
This is the case even when my pe to ce potocol is other than bgp, am i right?
Regards
Thanveer
"Everybody is genius. But if you judge a fish by its ability to climb a tree, it will live its whole life believing that it is a stupid."
04-19-2013 01:47 PM
Correct. Even if you use another PE-CE routing protocol, you will still need to configure the VRF section under the BGP configuration.
Hope this helps
04-19-2013 02:00 PM
Thanks Harold,
I have a creepy doubt now.
Think I have a scenario
R4
|
|
R1------->R2<-------R3
|
|
R5
Here I want R1 to communicate with R3
and R4 to communicate with R5
I have put interfaces going to R1 and R3 in vrf_1
and th interfaces going to R4 and R5 in vrf_2 in R2
Now R2 has protocol for R1 and R3 as ospf
and for R4 and R5 also has the same.
R2 is bgp free and where do I have my RD configured? How the router R2 distinguishes between two vrfs
Does it do automatically?
For the Scenario in which I have bgp and If I donot configure RD, does the router take it automatically or I must and should configure RD?
I am unable to catch the point why We need to configure RD in bgp addressfamily for VRF
Regards
Thanveer
"Everybody is genius. But if you judge a fish by its ability to climb a tree, it will live its whole life believing that it is a stupid."
04-19-2013 02:12 PM
Hi Thanveer,
This is more a VRF-lite (multiVRF) scenario. In such a scenario, you wouldn't even need an RD. RD is only required to make VPNv4 prefixes unique and there is no VPNv4 involved in this scenario.
Hope this helps
04-19-2013 02:27 PM
Hurray....!!!!
I got the point .
Thank you very much..
Regards
Thanveer
"Everybody is genius. But if you judge a fish by its ability to climb a tree, it will live its whole life believing that it is a stupid."
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide