Figure 123: MPLS L2VPN Tunnel over LAG Configuration Example
PE1
CE1
CE2
PE2
g016506
7.7.7.7/24
11.11.11.11/32
22.22.22.22/32
7.7.7.8/24
2/1/0
2/1/3
2/1/1
2/1/2
2/1/4
2.0.0.1/24
vlan id 20
2/1/5
2.0.0.2/24
2/1/6
2/1/7
MPLS LDP signaling
Martini tunnel
mpls-relay with vcid = 1
lag 1
lag 2
CE-Side MPLS L2VPN over LAG
•
Configuration on CE1 (Local CE Router) on page 551
•
Configuration on PE1 (Local PE Router) on page 551
•
Configuration on PE2 (Remote PE Router) on page 552
•
Configuration on CE2 (Remote CE Router) on page 553
Configuration on CE1 (Local CE Router)
Use the following commands on the local CE router (CE1) to configure the MPLS L2VPN
tunnel over LAG shown in Figure 123 on page 551.
! Configure a virtual router CE1.
host1(config)#
virtual-router ce1
!
! Specify the interface for the LAG bundle lag 1 that groups all Ethernet physical
! interfaces between CE1 and PE1.
host1:ce1(config)#
interface lag 1
!
! Add the Gigabit Ethernet physical interfaces to the LAG bundle named lag 1.
! Assign an IP address and mask to it.
host1:ce1(config-if)#
member-interface gigabitEthernet 2/1/0
host1:ce1(config-if)#
member-interface gigabitEthernet 2/1/3
host1:ce1(config-if)#
ip address 7.7.7.7 255.255.255.0
!
Configuration on PE1 (Local PE Router)
Use the following commands on the local PE router (PE1) to configure the MPLS L2VPN
tunnel over LAG shown in Figure 123 on page 551.
! Configure a virtual router PE1.
host1(config)#
virtual-router pe1
!
! Enable MPLS on a virtual router in Global Configuration mode.
host1:pe1(config)#
mpls
.
!
! Configure the LSR to create topology-driven LSPs. Enabling LDP automatically
! creates topology-driven LSPs.
host1:pe1(config)#
mpls topology-driven-lsp
!
! On PE1, configure a loopback interface, and assign an IP address and mask to
! the interface.
host1:pe1(config)#
interface loopback 0
551
Copyright © 2010, Juniper Networks, Inc.
Chapter 9: Configuring Layer 2 Services over MPLS
Summary of Contents for JUNOSE 11.2.X BGP AND MPLS
Page 6: ...Copyright 2010 Juniper Networks Inc vi...
Page 8: ...Copyright 2010 Juniper Networks Inc viii JunosE 11 2 x BGP and MPLS Configuration Guide...
Page 38: ...Copyright 2010 Juniper Networks Inc 2 JunosE 11 2 x BGP and MPLS Configuration Guide...
Page 192: ...Copyright 2010 Juniper Networks Inc 156 JunosE 11 2 x BGP and MPLS Configuration Guide...
Page 242: ...Copyright 2010 Juniper Networks Inc 206 JunosE 11 2 x BGP and MPLS Configuration Guide...
Page 244: ...Copyright 2010 Juniper Networks Inc 208 JunosE 11 2 x BGP and MPLS Configuration Guide...
Page 310: ...Copyright 2010 Juniper Networks Inc 274 JunosE 11 2 x BGP and MPLS Configuration Guide...
Page 356: ...Copyright 2010 Juniper Networks Inc 320 JunosE 11 2 x BGP and MPLS Configuration Guide...
Page 418: ...Copyright 2010 Juniper Networks Inc 382 JunosE 11 2 x BGP and MPLS Configuration Guide...
Page 524: ...Copyright 2010 Juniper Networks Inc 488 JunosE 11 2 x BGP and MPLS Configuration Guide...
Page 544: ...Copyright 2010 Juniper Networks Inc 508 JunosE 11 2 x BGP and MPLS Configuration Guide...
Page 608: ...Copyright 2010 Juniper Networks Inc 572 JunosE 11 2 x BGP and MPLS Configuration Guide...
Page 672: ...Copyright 2010 Juniper Networks Inc 636 JunosE 11 2 x BGP and MPLS Configuration Guide...
Page 674: ...Copyright 2010 Juniper Networks Inc 638 JunosE 11 2 x BGP and MPLS Configuration Guide...
Page 716: ...Copyright 2010 Juniper Networks Inc 680 JunosE 11 2 x BGP and MPLS Configuration Guide...
Page 717: ...PART 6 Index Index on page 683 681 Copyright 2010 Juniper Networks Inc...
Page 718: ...Copyright 2010 Juniper Networks Inc 682 JunosE 11 2 x BGP and MPLS Configuration Guide...