Figure 122: Mpls L2Vpn Tunnel Over Vlan Over Lag Configuration; Example - Juniper BGP - CONFIGURATION GUIDE V 11.1.X Configuration Manual

Junose software for e series routing platforms
Table of Contents

Advertisement

JUNOSe 11.1.x BGP and MPLS Configuration Guide
Figure 122: MPLS L2VPN Tunnel over VLAN over LAG Configuration Example
CE-Side MPLS L2VPN over LAG
7.7.7.7/24
11.11.11.11/32
2/1/0
2/1/1
CE1
2/1/3
2/1/2
lag 1
lag 2
svlan 1 1
svlan 1 1
Configuration on CE1 (Local CE Router)
Use the following commands on the local CE router (CE1) to configure the MPLS
L2VPN tunnel shown in Figure 122 on page 548.
Configuration on PE1 (Local PE Router)
Use the following commands on the local PE router (PE1) to configure the MPLS
L2VPN tunnel shown inFigure 122 on page 548.
548
MPLS L2VPN Tunnel over VLAN over LAG Configuration Example
22.22.22.22/32
2/1/4
2/1/5
PE1
2.0.0.1/24
2.0.0.2/24
vlan id 20
MPLS LDP signaling
Martini tunnel
mpls-relay with vcid = 1
! 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.
host1:ce1(config-if)#member-interface gigabitEthernet 2/1/0
host1:ce1(config-if)#member-interface gigabitEthernet 2/1/3
!
! Specify VLAN as the encapsulation method for the Ethernet interface.
host1:ce1(config-if)#encapsulation vlan
!
! Specify another subinterface in the LAG bundle lag 1.1.
host1:ce1(config-if)#interface lag 1.1
!
! Assign an S-VLAN ID and a VLAN ID for the subinterface, and assign an IP
! address and mask to the interface.
host1:ce1(config-subif)#svlan id 1 1
host1:ce1(config-subif)#ip address 7.7.7.7 255.255.255.0
! 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
2/1/6
2/1/7
PE2
7.7.7.8/24
CE2

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Junose 11.1.x bgp and mplsBgpMpls

Table of Contents