!
! Enable MPLS on the default virtual router.
host2(config)#mpls
!
! Configure ATM core-facing interface 3/1.100 between PE 2 and the P router,
! and assign it an IP address.
host2(config)#interface atm 3/1.100 point-to-point
host2(config-subif)#atm pvc 100 1 100 aal5snap 0 0 0
host2(config-subif)#ip address 192.168.2.2 255.255.255.0
!
! Enable MPLS, LDP, and topology-driven LSPs on the on the core-facing interface.
host2(config-subif)#mpls
host2(config-subif)#mpls ldp
host2(config-subif)#exit
!
! Configure BGP signaling.
host2(config)#router bgp 100
host2(config-router)#neighbor 10.1.1.1 remote-as 100
host2(config-router)#neighbor 10.1.1.1 update-source loopback 0
host2(config-router)#neighbor 10.1.1.1 next-hop-self
host2(config-router)#address-family l2vpn signaling
host2(config-router-af)#neighbor 10.1.1.1 activate
host2(config-router-af)#neighbor 10.1.1.1 next-hop-self
host2(config-router-af)#exit-address-family
host2(config-router)#address-family vpls vplsA
host2(config-router-af)#exit-address-family
host2(config-router)#address-family vpls vplsB
host2(config-router-af)#exit-address-family
host2(config-router)#exit
Related Topics Configuring VPLS with BGP Signaling on a PE Router on page 590•
Configuring VPLS with LDP Signaling on a PE Router
To configure VPLS with LDP signaling on the PE router:
1. Configure a single instance of VPLS, known as a VPLS instance, on the PE router for
each VPLS domain in which the router participates.
2. (Optional) Configure optional attributes for the VPLS instance.
For instructions, see “Configuring Optional Attributes for VPLS Instances” on page 593.
3. Configure network interfaces to connect the PE router to each CE device.
For instructions, see “Configuring VPLS Network Interfaces” on page 594.
4. (Optional) Configure nondefault subscriber policies for the VPLS network interface.
For instructions, see “Subscriber Policies for VPLS Network Interfaces Overview” on
page 577.
5. Configure a loopback interface to be associated with the targeted LDP neighbor,
and assign a router ID that uses the IP address of the loopback interface.
Copyright © 2010, Juniper Networks, Inc.602
JunosE 11.2.x BGP and MPLS Configuration Guide