CE1:
Router-CE1#configure
Router-CE1(config)#router bgp 2001
Router-CE1(config-bgp)#bgp router-id 8.8.8.1
Router-CE1(config-bgp)#address-family ipv4 unicast
Router-CE1(config-bgp-af)#exit
Router-CE1(config-bgp)#address-family vpnv4 unicast
Router-CE1(config-bgp-af)#exit
Router-CE1(config-bgp)#neighbor 192.13.26.6
Router-CE1(config-bgp-nbr)#remote-as 2001
Router-CE1(config-bgp-nbr)#address-family ipv4 unicast
Router-CE1(config-bgp-nbr-af)#route-policy pass-all in
Router-CE1(config-bgp-nbr-af)#route-policy pass-all out
Router-CE1(config-bgp-nbr-af)#commit
Running Configuration
PE1:
router bgp 2001
bgp router-id 13.13.13.1
address-family ipv4 unicast
!
address-family vpnv4 unicast
!
vrf vrf1601
rd 2001:1601
address-family ipv4 unicast
label mode per-vrf
redistribute connected
!
neighbor 192.13.26.5
remote-as 7501
address-family ipv4 unicast
route-policy pass-all in
route-policy pass-all out
!
!
!
CE1:
router bgp 7501
bgp router-id 8.8.8.1
address-family ipv4 unicast
!
address-family vpnv4 unicast
!
neighbor 192.13.26.6
remote-as 2001
address-family ipv4 unicast
route-policy pass-all in
route-policy pass-all out
!
!
L3VPN Configuration Guide for Cisco NCS 540 Series Routers, IOS XR Release 6.3.x
19
MPLS L3VPN Overview
Configure BGP as the Routing Protocol Between the PE and CE Routers