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.
host1:pe2(config)#
interface gigabitEthernet 2/1/6
host1:pe2(config-if)#
encapsulation vlan
!
! Create a VLAN subinterface by adding a subinterface number to the interface
! identification command. Assign an S-VLAN ID and a VLAN ID for the subinterface.
! Also, configure MPLS tunneling.
host1:pe2(config-if)#
interface gigabitEthernet 2/1/6.1
host1:pe2(config-subif)#
svlan id 1 1
host1:pe2(config-subif)#
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 shown inFigure 122 on page 542.
544
■
MPLS L2VPN Tunnel over VLAN over LAG Configuration Example
JUNOSe 11.0.x BGP and MPLS Configuration Guide
Содержание JUNOSE
Страница 6: ...vi...
Страница 8: ...viii JUNOSe 11 0 x BGP and MPLS Configuration Guide...
Страница 24: ...xxiv Table of Contents JUNOSe 11 0 x BGP and MPLS Configuration Guide...
Страница 37: ...Part 1 Border Gateway Protocol Configuring BGP Routing on page 3 Border Gateway Protocol 1...
Страница 38: ...2 Border Gateway Protocol JUNOSe 11 0 x BGP and MPLS Configuration Guide...
Страница 234: ...198 Monitoring BGP JUNOSe 11 0 x BGP and MPLS Configuration Guide...
Страница 236: ...200 Multiprotocol Layer Switching JUNOSe 11 0 x BGP and MPLS Configuration Guide...
Страница 298: ...262 Point to Multipoint LSPs Configuration JUNOSe 11 0 x BGP and MPLS Configuration Guide...
Страница 346: ...310 Example Traffic Class Configuration for Differentiated Services JUNOSe 11 0 x BGP and MPLS Configuration Guide...
Страница 535: ...There is no no version See undebug ip mbgp Monitoring BGP MPLS VPNs 499 Chapter 5 Configuring BGP MPLS Applications...
Страница 536: ...500 Monitoring BGP MPLS VPNs JUNOSe 11 0 x BGP and MPLS Configuration Guide...
Страница 538: ...502 Layer 2 Services Over MPLS JUNOSe 11 0 x BGP and MPLS Configuration Guide...
Страница 592: ...556 Multiple ATM Virtual Circuits over a Single Pseudowire Example JUNOSe 11 0 x BGP and MPLS Configuration Guide...
Страница 604: ...568 Virtual Private LAN Service JUNOSe 11 0 x BGP and MPLS Configuration Guide...
Страница 618: ...582 VPLS References JUNOSe 11 0 x BGP and MPLS Configuration Guide...
Страница 642: ...606 VPLS Configuration Example with LDP Signaling JUNOSe 11 0 x BGP and MPLS Configuration Guide...
Страница 674: ...638 Virtual Private Wire Service JUNOSe 11 0 x BGP and MPLS Configuration Guide...
Страница 718: ...682 Monitoring MPLS Forwarding Table for VPWS JUNOSe 11 0 x BGP and MPLS Configuration Guide...
Страница 719: ...Part 6 Index Index on page 685 Index 683...
Страница 720: ...684 Index JUNOSe 11 0 x BGP and MPLS Configuration Guide...