Configuration on CE2 (Remote CE Router)
Use the following commands on the remote CE router (CE2) to configure the MPLS
L2VPN tunnel shown inFigure 122 on page 547.
! Configure a virtual router CE2
host1(config)#virtual-router ce2
!
! Specify a Gigabit Ethernet interface and assign VLAN as the encapsulation method.
host1:ce2(config)#interface gigabitEthernet 2/1/7
host1:ce2(config-if)#encapsulation vlan
!
! Create a subinterface, assign an S-VLAN ID, and configure an IP address and mask to it.
host1:ce2(config-if)#interface gigabitEthernet 2/1/7.1
host1:ce2(config-subif)#svlan id 1 1
host1:ce2(config-subif)#ip address 7.7.7.8 255.255.255.0
Related Topics Example: Configuring MPLS L2VPN Tunnel over LAG on page 550•
• CE-Side MPLS L2VPNs over LAG Overview on page 521
Example: Configuring MPLS L2VPN Tunnel over LAG
Figure 123 on page 551 shows a sample configuration scenario of an MPLS L2VPN or
Martini tunnel over LAG. The topology is the same as the one described in “Example:
Configuring MPLS L2VPN Tunnel over VLAN over LAG” on page 546, with the exception
of LAG bundles being used to transmit traffic from CE1 to PE1 instead of using a VLAN
subinterface over a LAG bundle. Because the Martini tunnel is configured directly over
LAG in this case, only the source and destination MAC addresses are used in the hashing
process to determine the physical link for forwarding the received packets.
Two LAG bundles, LAG1 and LAG2, are created to group multiple Ethernet interfaces
from PE1 to CE1. A Martini tunnel from PE1 to PE2 is configured over LAG2 with a unique
subinterface number assigned to the LAG bundle. The MPLS packets that are received
on PE2, which is the remote router located at the other side of the service provider core,
are checked to determine whether they need to be processed for MPLS labels. After PE2
processes the layer 2 Ethernet frames, they are sent to CE2, which is the customer edge
device at the remote site.
Copyright © 2010, Juniper Networks, Inc.550
JunosE 11.2.x BGP and MPLS Configuration Guide