Configure IBGP on the PE Routers
On the PE routers, configure an internal Border Gateway Protocol (IBGP) session with the following parameters:
- Layer 2 VPN—To indicate that the IBGP session is for a Layer 2 VPN, include the
family l2vpnstatement.- Local address—The IP address in the
local-addressstatement is the same as the address configured in thetostatement at the[edit protocols mpls label-switched-pathlsp-path-name]hierarchy level on the remote PE router. The IBGP session for Layer 2 VPNs runs through this address.- Neighbor address—Include the
neighborstatement, specifying the IP address of the neighboring PE router.On Router A, configure IBGP as follows:
[edit]protocols{bgp {import match-all;export match-all;group pe-pe {type internal;neighbor 192.168.37.5 {local-address 192.168.37.1;family l2vpn {unicast;}}neighbor 192.168.37.10 {local-address 192.168.37.1;family l2vpn {unicast;}}}}On Router B, configure IBGP as follows:
[edit]protocols{bgp {local-address 192.168.37.5;import match-all;export match-all;group pe-pe {type internal;neighbor 192.168.37.1 {local-address 192.168.37.5;family l2vpn {unicast;}}neighbor 192.168.37.10 {local-address 192.168.37.5;family l2vpn {unicast;}}}}}On Router C, configure IBGP as follows:
[edit]protocols{bgp {local-address 192.168.37.10;import match-all;export match-all;group pe-pe {type internal;neighbor 192.168.37.1 {local-address 192.168.37.10;family l2vpn {unicast;}}neighbor 192.168.37.5 {local-address 192.168.37.10;family l2vpn {unicast;}}}}}