[ 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 the J-series Services Router Basic LAN and WAN Access Configuration Guide 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 12 on each PE router.
  3. If you are finished configuring the router, commit the configuration.
  4. To verify the configuration, Verifying a VPN Configuration.
  5. Go on to Configuring Routing Options for VPNs.

Table 12: 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 J-Web interface, select Configuration>View and Edit>Edit Configuration.
  2. Next to Bgp, click Configure or Edit.
  3. Next to Group, click Add New Entry.
  4. Type a name in the Group name box.
  5. From the Type list, select Internal.
  6. In the Local address box, type the local loopback IP address.
  7. In the Family group, select L2vpn for a Layer 2 VPN or Inet vpn for a Layer 3 VPN.
  8. Select Unicast.
  9. Click OK.
  10. In the Neighbor group, click Add new entry.
  11. In the Address box, type the loopback IP address of the neighboring PE router.
  12. Click OK until you return to the BGP page.

  1. From the [edit] hierarchy level, 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]