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
Содержание JUNOSE 11.2.X BGP AND MPLS
Страница 6: ...Copyright 2010 Juniper Networks Inc vi...
Страница 8: ...Copyright 2010 Juniper Networks Inc viii JunosE 11 2 x BGP and MPLS Configuration Guide...
Страница 38: ...Copyright 2010 Juniper Networks Inc 2 JunosE 11 2 x BGP and MPLS Configuration Guide...
Страница 192: ...Copyright 2010 Juniper Networks Inc 156 JunosE 11 2 x BGP and MPLS Configuration Guide...
Страница 242: ...Copyright 2010 Juniper Networks Inc 206 JunosE 11 2 x BGP and MPLS Configuration Guide...
Страница 244: ...Copyright 2010 Juniper Networks Inc 208 JunosE 11 2 x BGP and MPLS Configuration Guide...
Страница 310: ...Copyright 2010 Juniper Networks Inc 274 JunosE 11 2 x BGP and MPLS Configuration Guide...
Страница 356: ...Copyright 2010 Juniper Networks Inc 320 JunosE 11 2 x BGP and MPLS Configuration Guide...
Страница 418: ...Copyright 2010 Juniper Networks Inc 382 JunosE 11 2 x BGP and MPLS Configuration Guide...
Страница 524: ...Copyright 2010 Juniper Networks Inc 488 JunosE 11 2 x BGP and MPLS Configuration Guide...
Страница 544: ...Copyright 2010 Juniper Networks Inc 508 JunosE 11 2 x BGP and MPLS Configuration Guide...
Страница 608: ...Copyright 2010 Juniper Networks Inc 572 JunosE 11 2 x BGP and MPLS Configuration Guide...
Страница 672: ...Copyright 2010 Juniper Networks Inc 636 JunosE 11 2 x BGP and MPLS Configuration Guide...
Страница 674: ...Copyright 2010 Juniper Networks Inc 638 JunosE 11 2 x BGP and MPLS Configuration Guide...
Страница 716: ...Copyright 2010 Juniper Networks Inc 680 JunosE 11 2 x BGP and MPLS Configuration Guide...
Страница 717: ...PART 6 Index Index on page 683 681 Copyright 2010 Juniper Networks Inc...
Страница 718: ...Copyright 2010 Juniper Networks Inc 682 JunosE 11 2 x BGP and MPLS Configuration Guide...