Hello Bilel
What you suggest makes perfect sense. If you’re issuing a show bgp command with the VPNv4 address family in the PE, you would assume that nothing would show up for the peering with the CE router since the CE router is oblivious to VPNv4 information correct? But we do see the CE peer.
Let’s take a look at why we see the CE neighbor in this output:
Remember, on a PE router, there are two “planes” of BGP in this topology: the VPNv4 AF (Address Family), used between PEs in the MPLS core, and IPv4 unicast AF inside a VRF, used between PE and CE.
In Cisco IOS, when you run show bgp vpnv4 unicast vrf CUSTOMER summary, what you’re doing is asking for the VPNv4 address family, but within the specific CUSTOMER VRF. The CE–PE neighbors appear in the output of the command because their routes are what populate the VRF, and those VRF routes are exported into the VPNv4 AF. So no matter what AFI/SAFI that VRF is carrying, the output will show the neighbors within that VRF.
Since the only BGP session in the CUSTOMER VRF is PE1 ↔ CE1 (AS 1), IOS reports that neighbor under the vpnv4 display context. In other words, the CLI output is slightly misleading. It uses the vpnv4 keyword as an entry point to VRF-aware BGP, but the neighbor it’s showing is really in the IPv4 unicast AF for that VRF.
If you run show bgp ipv4 unicast vrf CUSTOMER summary, you should see the same CE1 neighbor with the same counters. If you issue the show bgp vpnv4 unicast all summary command, it would show your PE–PE MP-BGP sessions (if configured).
So the reason you see CE1 is the vpnv4 ... vrf command, IOS displays per-VRF BGP neighbors, which in this case include CE1. It doesn’t mean CE1 is participating in VPNv4 MP-BGP, it just happens that CE1 is the VRF’s only neighbor, so it shows up there. Make sense?
I hope this has been helpful!
Laz

