host1(config-router-af)#
exit-address-family
!
! Enable MPLS on the default virtual router.
host1(config)#
mpls
! Configure ATM core-facing interface 2/0.100 between PE 1 and the P router,
host1(config)#
interface atm 2/0.100
host1(config-subif)#
atm pvc 100 1 100 aal5snap 0 0 0
! and assign it an IP address.
host1(config-subif)#
ip address 192.168.5.5 255.255.255.0
!
! Enable MPLS, LDP, and topology-driven LSPs on the core-facing interface.
host1(config-subif)#
mpls
host1(config-subif)#
mpls ldp
host1(config-subif)#
exit
Configuration on PE 2 (Remote PE Router)
Use the following commands on the remote PE router (PE 2) to configure the VPWS
topology shown in Figure 134 on page 659.
! Configure VPWS instance l2vpnA. The route target (100:1)
! matches the route target configured for l2vpnA on PE 1.
host2(config)#
l2vpn l2vpnA encapsulation-type ethernet
host2(config)#
l2vpn l2vpnA site-range 10
host2(config)#
l2vpn l2vpnA site-name chicago site-id 3
host2(config)#
l2vpn l2vpnA rd 100:11
host2(config)#
l2vpn l2vpnA route-target both 100:1
host2(config)#
l2vpn l2vpnA control-word
host2(config)#
l2vpn l2vpnA sequencing
!
! Configure VPWS instance l2vpnB. The route target (100:2)
! matches the route target configured for l2vpnB on PE 1.
host2(config)#
l2vpn l2vpnB encapsulation-type ethernet
host2(config)#
l2vpn l2vpnB site-range 20
host2(config)#
l2vpn l2vpnB site-name chicago site-id 4
host2(config)#
l2vpn l2vpnB rd 100:12
host2(config)#
l2vpn l2vpnB route-target both 100:2
host2(config)#
l2vpn l2vpnB control-word
host2(config)#
l2vpn l2vpnB sequencing
!
! Configure the customer-facing interface between PE 2 and CE 3
! in L2VPN instance l2vpnA.
host2(config)#
interface fastEthernet 3/5
host2(config-if)#
l2vpn l2vpnA local-site-id 3 remote-site-id 1
host2(config-if)#
exit
!
! Configure the customer-facing interface between PE 2 and CE 4
! in L2VPN instance l2vpnB.
host2(config)#
interface gigabitEthernet 0/1
host2(config-subif)#
l2vpn l2vpnB local-site-id 4 remote-site-id 2
host2(config-if)#
exit
!
! Configure a loopback interface on PE 2 and assign it an IP address.
host2(config)#
interface loopback 0
host2(config-if)#
ip address 10.2.2.2 255.255.255.255
host2(config-if)#
exit
661
Copyright © 2010, Juniper Networks, Inc.
Chapter 15: Configuring VPWS
Summary of Contents for JUNOSE 11.2.X BGP AND MPLS
Page 6: ...Copyright 2010 Juniper Networks Inc vi...
Page 8: ...Copyright 2010 Juniper Networks Inc viii JunosE 11 2 x BGP and MPLS Configuration Guide...
Page 38: ...Copyright 2010 Juniper Networks Inc 2 JunosE 11 2 x BGP and MPLS Configuration Guide...
Page 192: ...Copyright 2010 Juniper Networks Inc 156 JunosE 11 2 x BGP and MPLS Configuration Guide...
Page 242: ...Copyright 2010 Juniper Networks Inc 206 JunosE 11 2 x BGP and MPLS Configuration Guide...
Page 244: ...Copyright 2010 Juniper Networks Inc 208 JunosE 11 2 x BGP and MPLS Configuration Guide...
Page 310: ...Copyright 2010 Juniper Networks Inc 274 JunosE 11 2 x BGP and MPLS Configuration Guide...
Page 356: ...Copyright 2010 Juniper Networks Inc 320 JunosE 11 2 x BGP and MPLS Configuration Guide...
Page 418: ...Copyright 2010 Juniper Networks Inc 382 JunosE 11 2 x BGP and MPLS Configuration Guide...
Page 524: ...Copyright 2010 Juniper Networks Inc 488 JunosE 11 2 x BGP and MPLS Configuration Guide...
Page 544: ...Copyright 2010 Juniper Networks Inc 508 JunosE 11 2 x BGP and MPLS Configuration Guide...
Page 608: ...Copyright 2010 Juniper Networks Inc 572 JunosE 11 2 x BGP and MPLS Configuration Guide...
Page 672: ...Copyright 2010 Juniper Networks Inc 636 JunosE 11 2 x BGP and MPLS Configuration Guide...
Page 674: ...Copyright 2010 Juniper Networks Inc 638 JunosE 11 2 x BGP and MPLS Configuration Guide...
Page 716: ...Copyright 2010 Juniper Networks Inc 680 JunosE 11 2 x BGP and MPLS Configuration Guide...
Page 717: ...PART 6 Index Index on page 683 681 Copyright 2010 Juniper Networks Inc...
Page 718: ...Copyright 2010 Juniper Networks Inc 682 JunosE 11 2 x BGP and MPLS Configuration Guide...