Example: Configuring MPLS on the VPLS PE Router
This example shows how to configure MPLS on the VPLS PE router.
Before you begin:
Before you begin, see Understanding Selective Stateless Packet-Based Services .
Configure the interfaces that will carry the VPLS traffic between the PE router and the CE devices. SeeExample: Configuring Routing Interfaces on the VPLS PE Router and Example: Configuring the Interface to the VPLS CE Device.
Create a VPLS routing instance on each PE router that is participating in the VPLS. See Example: Configuring the VPLS Routing Instance.
Configure an IGP on the PE routers to exchange routing information. See Example: Configuring OSPF on the VPLS PE Router.
Configure RSVP-TE on the PE routers. See Example: Configuring RSVP on the VPLS PE Router.
This example shows you how to configure MPLS on the PE1 router to advertise the Layer 2 VPN interface that communicates with the PE2 router.
MPLS is disabled by default on SRX Series devices. 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.
To configure MPLS on the VPLS PE router:
- Configure the interface to the PE2 router for MPLS.[edit ]user@host# set protocols mpls interface t1-1/0/1.0
- Configure the loopback for MPLS.[edit ]user@host# set protocols mpls interface lo0.0
- Configure the path to destination 10.255.7.164.[edit ]user@host# set protocols mpls label-switched-path chelsea-sagar to 10.255.7.164
- If you are done configuring the device, commit the configuration.[edit ]user@host# commit
To verify the configuration is working properly, enter the show mpls command.