Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

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:

  1. Configure BGP.
    [edit]user@host# edit protocols bgp group group-name
  2. Set the BGP type to internal.
    [edit protocols bgp group group-name]user@host# set type internal
  3. Specify the loopback interface.
    [edit protocols bgp group group-name]user@host# set local-address loopback-interface-ip-address
  4. 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.

  5. Enter the loopback address of the neighboring PE router.
    [edit protocols bgp]user@host# set neighbor ip-address
  6. Commit the configuration if you are finished configuring the device.
    [edit]user@host# commit

Modified: 2013-06-12