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

Configuring MPLS for VPNs

For Layer 2 VPN and Layer 2 circuit interfaces that communicate with other PE Services Routers and provider Services Routers, you must advertise the interface using MPLS. Unless you are using RSVP, this section does not apply to Layer 3 VPNs because MPLS is configured on the interface.

For more information about configuring MPLS, see Multiprotocol Label Switching OverviewJUNOS MPLS Applications Configuration Guide.

To configure MPLS for VPNs:

  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 11 on each PE Services Router and provider Services Router interface that communicates with another PE Services Router.
  3. If you are finished configuring the router, commit the configuration.
  4. To verify the configuration, see Verifying a VPN Configuration
  5. Go on to Configuring a BGP Session.

Table 11: Configuring MPLS for VPNs

Task

J-Web Configuration Editor

CLI Configuration Editor

Navigate to the top of the configuration hierarchy and specify the interfaces used for communication between PE routers and between PE routers and provider routers.

(PE and provider Services Routers)

(See the interface naming conventions in the J-series Services Router Basic LAN and WAN Access Configuration Guide.)

  1. In the J-Web interface, select Configuration>View and Edit>Edit Configuration.
  2. Next to Mpls, click Configure or Edit.
  3. Next to Interface, click Configure or Edit.
  4. In the Interface name box, type interface-name.
  5. Click OK.

From the [edit] hierarchy level, enter the following command for each interface you want to enable:

edit protocols mpls interface interface-name

For RSVP only, configure an MPLS label-switched path (LSP) to the destination point on the PE router for LSP. During configuration, you specify the IP address of the LSP destination point, which is an address on the remote PE router.

The path name is defined on the source Services Router only and is unique between two routers.

(PE Services Router interface communicating with another PE Services Router)

  1. In the MPLS page, click Add New Entry in the Label switched path group.
  2. Type a path name in the Path name box and an IP address in the To box.
  3. Click OK.
  4. Next to Interface, click Add New Entry.
  5. Type interface-name in the Interface name box.
  6. Click OK.
  7. Repeat Steps 4 through 6 for each interface.
  1. From the [edit] hierarchy level, enter

    edit protocols mpls label-switched-path path-name

  2. Enter

    set to ip-address

  3. Enter up.
  4. Enter

    interface interface-name


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