EasyManuals Logo

Juniper BGP - CONFIGURATION GUIDE V 11.1.X User Manual

Juniper BGP - CONFIGURATION GUIDE V 11.1.X
748 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #589 background imageLoading...
Page #589 background image
! encapsulation method, and configure another subinterface. For this subinterface,
! assign a VLAN ID, specify the encapsulation method as VLAN, configure MPLS,
! and assign an IP address and mask. Also, enable LDP and topology-driven LSP, as
! does any LDP-related command, using an implicit default profile, on this Gigabit
! Ethernet subinterface.
host1:pe1(config)#interface gigabitEthernet 2/1/4
host1:pe1(config-if)#encapsulation vlan
host1:pe1(config-if)#interface gigabitEthernet 2/1/4.1
host1:pe1(config-subif)#vlan id 20
host1:pe1(config-subif)#ip address 2.0.0.1 255.255.255.0
host1:pe1(config-subif)#mpls
host1:pe1(config-subif)#mpls ldp
!
! Configure a static route with the destination IP address, mask, and IP address of
! the next hop that can be used to reach the destination network.
host1:pe1(config)#ip route 22.22.22.22 255.255.255.255 2.0.0.2
!
! Configure LDP to advertise a non-null label for the egress routes.
host1:pe1(config)#mpls ldp egress-label non-null
Configuration on PE2 (Remote PE Router)
Use the following commands on the remote PE router (PE2) to configure the MPLS
L2VPN tunnel over LAG shown in Figure 123 on page 551.
! Configure a virtual router PE2.
host1(config)#virtual-router pe1
!
! Enable MPLS on a virtual router in Global Configuration mode.
host1:pe2(config)#mpls .
!
! Configure PE2 to create topology-driven LSPs. Enabling LDP automatically creates
! topology-driven LSPs.
host1:pe2(config)#mpls topology-driven-lsp
!
! On PE2, configure a loopback interface, and assign an IP address and mask to
! the interface.
host1:pe2(config)#interface loopback 0
host1:pe2(config-if)#ip address 22.22.22.22 255.255.255.255
!
! Assign the router ID using the IP address you configured for the loopback
! interface.
host1:pe1(config)#ip router-id 22.22.22.22
!
! Create a Gigabit Ethernet interface and configure MPLS tunneling with the IP
! address of the router on the remote end of the layer 2 circuit and the virtual
! circuit identifier. Configure MPLS tunneling on this side of the connection by
! issuing the mpls-relay command.
host1:pe2(config)#interface gigabitEthernet 2/1/6
host1:pe2(config-if)#mpls-relay 11.11.11.11 1
!
! Create a Gigabit Ethernet interface on PE2 and specify VLAN as the
! encapsulation method.
host1:pe2(config)#interface gigabitEthernet 2/1/5
host1:pe2(config-if)#encapsulation vlan
MPLS L2VPN Tunnel over LAG Configuration Example â–  553
Chapter 7: Configuring Layer 2 Services over MPLS

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Juniper BGP - CONFIGURATION GUIDE V 11.1.X and is the answer not in the manual?

Juniper BGP - CONFIGURATION GUIDE V 11.1.X Specifications

General IconGeneral
BrandJuniper
ModelBGP - CONFIGURATION GUIDE V 11.1.X
CategorySoftware
LanguageEnglish

Related product manuals