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 545.
! 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 545.
! 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
host1:pe1(config-if)#
ip address 11.11.11.11 255.255.255.255
!
! Assign the router ID using the IP address you configured for the loopback
! interface.
host1:pe1(config)#
ip router-id 11.11.11.11
!
! Create an IEEE 802.3ad LAG bundle, lag2, and add the Gigabit Ethernet physical
! interfaces to lag2. Configure MPLS tunneling on this side of the connection by
! issuing the
mpls-relay
command. When you issue the mpls-relay command, you
! must use a reachable local IP address and the same VC ID value (1) on both
! sides of the connection.
host1:pe1(config)#
interface lag 2
host1:pe1(config-if)#
member-interface gigabitEthernet 2/1/1
host1:pe1(config-if)#
member-interface gigabitEthernet 2/1/2
host1:pe1(config-if)#
mpls-relay 22.22.22.22 1
! Create another Gigabit Ethernet interface on PE1, specify VLAN as the
546
■
MPLS L2VPN Tunnel over LAG Configuration Example
JUNOSe 11.0.x BGP and MPLS Configuration Guide
Summary of Contents for JUNOSE
Page 6: ...vi...
Page 8: ...viii JUNOSe 11 0 x BGP and MPLS Configuration Guide...
Page 24: ...xxiv Table of Contents JUNOSe 11 0 x BGP and MPLS Configuration Guide...
Page 37: ...Part 1 Border Gateway Protocol Configuring BGP Routing on page 3 Border Gateway Protocol 1...
Page 38: ...2 Border Gateway Protocol JUNOSe 11 0 x BGP and MPLS Configuration Guide...
Page 234: ...198 Monitoring BGP JUNOSe 11 0 x BGP and MPLS Configuration Guide...
Page 236: ...200 Multiprotocol Layer Switching JUNOSe 11 0 x BGP and MPLS Configuration Guide...
Page 298: ...262 Point to Multipoint LSPs Configuration JUNOSe 11 0 x BGP and MPLS Configuration Guide...
Page 536: ...500 Monitoring BGP MPLS VPNs JUNOSe 11 0 x BGP and MPLS Configuration Guide...
Page 538: ...502 Layer 2 Services Over MPLS JUNOSe 11 0 x BGP and MPLS Configuration Guide...
Page 604: ...568 Virtual Private LAN Service JUNOSe 11 0 x BGP and MPLS Configuration Guide...
Page 618: ...582 VPLS References JUNOSe 11 0 x BGP and MPLS Configuration Guide...
Page 674: ...638 Virtual Private Wire Service JUNOSe 11 0 x BGP and MPLS Configuration Guide...
Page 718: ...682 Monitoring MPLS Forwarding Table for VPWS JUNOSe 11 0 x BGP and MPLS Configuration Guide...
Page 719: ...Part 6 Index Index on page 685 Index 683...
Page 720: ...684 Index JUNOSe 11 0 x BGP and MPLS Configuration Guide...