! Source: https://github.com/batfish/lab-validation
! License: Apache-2.0
! Snapshot: cisco_xr_ios_vpnv4/configs/PE3
Building configuration...
!! IOS XR Configuration 6.6.2
!! Last configuration change at Tue Mar  8 23:57:52 2022 by cisco
!
hostname PE3
domain name test.lab
username admin
 group root-lr
 group cisco-support
 secret 5 $1$agS0$XZBWI9uxBFUCxMHc/blS4/
!
username cisco
 group root-lr
 group cisco-support
 password 7 05080F1C2243
!
vrf red
 address-family ipv4 unicast
  import route-target
   65102:2
   65102:4
  !
  export route-target
   65102:2
   65102:4
  !
 !
!
vrf blue
 address-family ipv4 unicast
  import route-target
   65101:1
   65101:3
  !
  export route-target
   65101:1
   65101:3
  !
 !
!
vrf management
 address-family ipv4 unicast
 !
!
line default
 transport input ssh
!
call-home
 service active
 contact smart-licensing
 profile CiscoTAC-1
  active
  destination transport-method http
 !
!
interface Loopback0
 ipv4 address 10.254.1.4 255.255.255.255
!
interface MgmtEth0/RP0/CPU0/0
 vrf management
 ipv4 address 10.150.0.197 255.255.0.0
!
interface GigabitEthernet0/0/0/0
 ipv4 address 10.1.1.18 255.255.255.252
!
interface GigabitEthernet0/0/0/1
 ipv4 address 10.1.1.14 255.255.255.252
!
interface GigabitEthernet0/0/0/2
 vrf blue
 ipv4 address 12.1.1.1 255.255.255.0
!
interface GigabitEthernet0/0/0/3
 shutdown
!
route-policy PASS_ALL
  pass
end-policy
!
router ospf 1
 router-id 10.254.1.4
 network point-to-point
 address-family ipv4 unicast
 area 0
  interface Loopback0
  !
  interface GigabitEthernet0/0/0/0
  !
  interface GigabitEthernet0/0/0/1
  !
 !
!
router bgp 65001
 bgp router-id 10.254.1.3
 address-family vpnv4 unicast
  additional-paths receive
  additional-paths send
 !
 neighbor-group RRs
  remote-as 65001
  update-source Loopback0
  address-family vpnv4 unicast
  !
 !
 neighbor 10.254.1.2
  use neighbor-group RRs
  description RR1
 !
 neighbor 10.254.1.5
  use neighbor-group RRs
  description RR2
 !
 vrf blue
  rd 10.254.1.4:65101
  address-family ipv4 unicast
   label mode per-vrf
   redistribute connected route-policy PASS_ALL
  !
  neighbor 12.1.1.2
   remote-as 65101
   address-family ipv4 unicast
    route-policy PASS_ALL in
    route-policy PASS_ALL out
   !
  !
 !
!
mpls ldp
 igp sync delay on-session-up 5
 interface GigabitEthernet0/0/0/0
 !
!
ssh server v2
ssh server vrf management
end