! 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
!
! Create another Gigabit Ethernet subinterface on the main interface. For this
! interface, 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:pe2(config-if)#
interface gigabitEthernet 2/1/5.1
host1:pe2(config-subif)#
vlan id 20
host1:pe2(config-subif)#
ip address 2.0.0.2 255.255.255.0
host1:pe2(config-subif)#
mpls
host1:pe2(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:pe2(config)#
ip route 22.22.22.22 255.255.255.255 2.0.0.1
!
! Configure LDP to advertise a non-null label for the egress routes.
host1:pe2(config)#
mpls ldp egress-label non-null
Configuration on CE2 (Remote CE Router)
Use the following commands on the remote CE router (CE2) to configure the MPLS
L2VPN tunnel over LAG shown in Figure 123 on page 551.
! Configure a virtual router CE2
host1(config)#
virtual-router ce2
!
! Specify a Gigabit Ethernet interface and assign an IP address and mask to it
host1:ce2(config)#
interface gigabitEthernet 2/1/7
host1:ce2(config-subif)#
ip address 7.7.7.8 255.255.255.0
Related Topics
Example: Configuring MPLS L2VPN Tunnel over VLAN over LAG on page 546
•
•
CE-Side MPLS L2VPNs over LAG Overview on page 521
Examples: Ethernet Raw Mode Encapsulation for Martini Layer 2 Transport
When a Martini circuit operates in Ethernet raw mode, you can configure the provider
edge (PE) devices that receive packets from the customer edge (CE)-facing devices to
553
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...