Navigation
Configuring a BGP Session for MPLS VPNs (CLI Procedure)
![]() | Note: This section is valid for Layer 2 VPNs and Layer 3 VPNs, but not Layer 2 circuits. |
To configure an IBGP session, perform the following steps on each PE router:
- Configure BGP. [edit]user@host# edit protocols bgp group group-name
- Set the BGP type to internal. [edit protocols bgp group group-name]user@host# set type internal
- Specify the loopback interface. [edit protocols bgp group group-name]user@host# set local-address loopback-interface-ip-address
- Set the Layer 2 or Layer 3 VPN family type to unicast. [edit protocols bgp group group-name]user@host# set family family-type unicast
Replace family-type with l2vpn for a Layer 2 VPN or inet–vpn for a Layer 3 VPN.
- Enter the loopback address of the neighboring PE router. [edit protocols bgp]user@host# set neighbor ip-address
- Commit the configuration if you are finished configuring
the device. [edit]user@host# commit