device# configure terminal
device(config)# router bgp
device(config-bgp)# address-family ipv4 unicast vrf VPN1
device(config-bgp-ipv4u-vrf)# neighbor 10.33.33.2 remote-as 2
The following example assigns a CE device as a BGP neighbor to the VRF VPN1 on a PE device.
device# configure terminal device(config)# router bgp device(config-bgp)# address-family ipv4 unicast vrf VPN1 device(config-bgp-ipv4u-vrf)# neighbor 10.33.33.2 remote-as 2