cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
194
Views
5
Helpful
3
Replies
Highlighted

BGP VRF in IOS-XRv 9000 (IOS XR Software, Version 7.0.1)

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

Everyone's tags (6)
1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Hall of Fame Cisco Employee

Re: BGP VRF in IOS-XRv 9000 (IOS XR Software, Version 7.0.1)

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

View solution in original post

3 REPLIES 3
Highlighted
Hall of Fame Cisco Employee

Re: BGP VRF in IOS-XRv 9000 (IOS XR Software, Version 7.0.1)

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

View solution in original post

Highlighted

Re: BGP VRF in IOS-XRv 9000 (IOS XR Software, Version 7.0.1)

Hi Peter,

Thanks for helping me out.

I will share my findings shortly.

Saludos
Highlighted

Re: BGP VRF in IOS-XRv 9000 (IOS XR Software, Version 7.0.1)

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

 

Screenshot from 2020-05-23 10-37-04.png