[Contents] [Prev] [Next] [Index] [Report an Error]

Configuring a BGP Session

You must configure an internal BGP (IBGP) session between PE Services Routers so the Services Routers can exchange information about routes originating and terminating in the VPN. The PE routers use this information to determine which labels to use for traffic destined for remote sites. The IBGP session for the VPN runs through the loopback address. This section is valid for Layer 2 VPNs and Layer 3 VPNs, but not Layer 2 circuits.

For the Layer 3 example, you also configure an EBGP session.

For more information about configuring IBGP sessions, see Configuring BGP Sessions and the JUNOS Routing Protocols Configuration Guide.

To configure an IBGP session:

  1. Navigate to the top of the configuration hierarchy in either the J-Web or CLI configuration editor.
  2. Perform the configuration tasks described in Table 66 on each PE router.
  3. When you have finished configuring the network, commit the configuration.
  4. To verify the configuration, Verifying a VPN Configuration.
  5. Go on to Configuring an IGP and a Signaling Protocol.

Table 66: Configuring an IBGP Session

Task

J-Web Configuration Editor

CLI Configuration Editor

Navigate to the top of the configuration hierarchy and configure the IGBP session.

(PE Services Router)

  1. In the configuration editor hierarchy, select Protocols>Bgp.
  2. Next to Group, click Add New Entry.
  3. Type a name in the Group name box.
  4. From the Type drop-down list, select Internal.
  5. In the Local address box, type the local loopback IP address.
  6. In the Family group, select L2vpn for a Layer 2 VPN or Inet vpn for a Layer 3 VPN.
  7. Select Unicast.
  8. Click OK.
  9. In the Neighbor group, click Add new entry.
  10. In the Address box, type the loopback IP address of the neighboring PE router.
  11. Click OK until you return to the BGP page.

  1. From the top of the configuration hierarchy, enter

    edit protocols bgp group group-name

  2. Enter

    set type internal

  3. Enter

    set local-address loopback-interface-ip-address

  4. Enter

    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 up.
  6. Enter the loopback address of the neighboring PE router:

    set neighbor ip-address


[Contents] [Prev] [Next] [Index] [Report an Error]