MP-BGP・RD/RT・VPNv4とPE–CE route2 / 4
XRのVRF例
vrf BLUE
address-family ipv4 unicast
import route-target
65000:100
export route-target
65000:100
interface GigabitEthernet0/0/0/1
vrf BLUE
ipv4 address 192.0.2.1 255.255.255.252
router bgp 65000
address-family vpnv4 unicast
neighbor 10.255.0.2
remote-as 65000
update-source Loopback0
address-family vpnv4 unicast
vrf BLUE
rd 65000:101
address-family ipv4 unicast
neighbor 192.0.2.2
remote-as 65100
address-family ipv4 unicast
route-policy BLUE-IN in
route-policy BLUE-OUT out
commit
BLUE-IN/OUTは許可したcustomer prefixだけへ限定して別に作る。UnderlayのPE loopback/label path、PE–PEまたはRRのVPN AF、必要なextended community、PE–CEのrouting/取込みを準備する。