Configuring MPLS on the VPLS PE Router

Configure MPLS on the PE1 router to advertise the Layer 2 VPN interface that communicates with the PE2 router.

Before You Begin

For background information, read VPLS on a PE Router Configuration Overview.

Caution: MPLS is disabled by default on J Series and SRX Series devices and you must explicitly configure your router to allow MPLS traffic. However, when MPLS is enabled, all flow-based security features are deactivated and the router performs packet-based processing. Flow-based services such as security policies, zones, NAT, ALGs, chassis clustering, screens, firewall authentication, and IPSec VPNs are unavailable on the router. For more information on flow-based and packet-based processing, see the JUNOS Software Security Configuration Guide.

You can use either J-Web or the CLI configuration editor to configure MPLS on the VPLS PE router.

This topic covers:

J-Web Configuration

To configure the interface to the PE2 router for MPLS:

  1. Select Configure>CLI Tools>Point and Click CLI.
  2. Next to Protocols, click Configure or Edit.
  3. Next to Mpls, click Configure or Edit.
  4. Next to Interface, click Add new entry.
  5. In the Interface name box, type so-2/0/1.0.
  6. Click OK.

To configure the loopback for MPLS:

  1. In the Mpls page, click Add new entry next to Interface.
  2. In the Interface name box, type lo0.0.
  3. Click OK.

To configure the path to destination 10.255.7.164:

  1. In the Mpls page, click Add new entry next to Label switched path.
  2. In the Path name box, type chelsea-sagar.
  3. In the To box, type 10.255.7.164.
  4. Click OK.

CLI Configuration

To configure the interface to the PE2 router for MPLS:

user@host# set protocols mpls interface so-2/0/1.0

To configure the loopback for MPLS:

user@host# set protocols mpls interface lo0.0

To configure the path to destination 10.255.7.164:

user@host# set protocols mpls label-switched-path chelsea-sagar to 10.255.7.164

Related Topics