05-21-2020 04:29 PM
Hi,
I am learning about IOS-XR, and although BGP configuration (external / internal ) in GRT is not exactly the same as classic IOS, it is something intuitive and question mark helps. However, I am unable to configure BGP on a VRF. Would somebody share a basic BGP VRF configuration in IOS-XR?
Saludos
Solved! Go to Solution.
05-21-2020 05:27 PM - edited 05-21-2020 05:27 PM
Hello Gerardo,
Would this help?
vrf Test address-family ipv4 unicast import route-target 1:1 ! export route-target 1:1 !
interface Loopback0 ipv4 address 1.1.1.1 255.255.255.255 ! ! route-policy PermitAll
pass
end-policy
! router bgp 1 address-family vpnv4 unicast ! vrf Test rd 1:1 address-family ipv4 unicast ! neighbor 1.2.3.4 remote-as 1 update-source Loopback0 address-family ipv4 unicast route-policy PermitAll in route-policy PermitAll out
Feel welcome to ask further!
Best regards,
Peter
05-21-2020 05:27 PM - edited 05-21-2020 05:27 PM
Hello Gerardo,
Would this help?
vrf Test address-family ipv4 unicast import route-target 1:1 ! export route-target 1:1 !
interface Loopback0 ipv4 address 1.1.1.1 255.255.255.255 ! ! route-policy PermitAll
pass
end-policy
! router bgp 1 address-family vpnv4 unicast ! vrf Test rd 1:1 address-family ipv4 unicast ! neighbor 1.2.3.4 remote-as 1 update-source Loopback0 address-family ipv4 unicast route-policy PermitAll in route-policy PermitAll out
Feel welcome to ask further!
Best regards,
Peter
05-22-2020 11:42 AM
05-23-2020 09:33 AM
Hi Peter,
Thank you so much for helping me out. Your explanation is precise. Therefore, BGP VRF session on IOS-XRv is established. I am sharing the output of the command sh bgp vrf 99 neighbors issued on IOS-XRv, and the config file. However, there are many features to discover along with the how to. Let's have fun digging on it.
Saludos
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