JR engineer trying to solidify understanding of MPLS at the CORE. We are acting as a service provider to suites inside our building who rent space from us. Was looking over our PE configs and want to make sure I undertand the meanings of the address-family. It's used 3 times to establish a connection for a VRF. Please let me know if my assumptions are correct.
1. address-family ipv4
This is needed so that the the PE can communicate with the P. If I remove this, the PE can no longer communicate with the P?
2. address-family ipv4 vrf RED
This is needed so that MP-BGP knows which VRF routes to carry between PE routers. Is it just routes that get carried through this command or other information?
3. address-family vpnv4
This allows #2 to work. Without this, the VRF routes will be identified to MP-BGP, but won't have a way to pass it along to other PEs.
So are all 3 address-family commands necessary? #2 and #3 seem like they are the same. I think #2 is identifying the VRF and #3 is allowing it to work. Maybe they should put those two into 1 command.