Configuration on PE 1 (Local PE Router)
Use the following commands on the local PE router (PE 1) to configure the VPWS topology
shown in Figure 134 on page 659.
! Configure VPWS instance l2vpnA.
host1(config)#
l2vpn l2vpnA encapsulation-type ethernet
host1(config)#
l2vpn l2vpnA site-range 10
host1(config)#
l2vpn l2vpnA site-name boston site-id 1
host1(config)#
l2vpn l2vpnA rd 100:11
host1(config)#
l2vpn l2vpnA route-target both 100:1
host1(config)#
l2vpn l2vpnA control-word
host1(config)#
l2vpn l2vpnA sequencing
!
! Configure VPWS instance l2vpnB.
host1(config)#
l2vpn l2vpnB encapsulation-type atm
host1(config)#
l2vpn l2vpnB site-range 20
host1(config)#
l2vpn l2vpnB site-name boston site-id 2
host1(config)#
l2vpn l2vpnB rd 100:12
host1(config)#
l2vpn l2vpnB route-target both 100:2
host1(config)#
l2vpn l2vpnB control-word
host1(config)#
l2vpn l2vpnB sequencing
!
! Configure the customer-facing interface between PE 1 and CE 1
! in L2VPN instance l2vpnA.
host1(config)#
interface fastEthernet 4/0
host1(config-if)#
l2vpn l2vpnA local-site-id 1 remote-site-id 3
host1(config-if)#
exit
!
! Configure the customer-facing interface between PE 1 and CE 2
! in L2VPN instance l2vpnB.
host1(config)#
interface gigabitEthernet 1/1
host1(config-subif)#
l2vpn l2vpnB local-site-id 2 remote-site-id 4
host1(config-if)#
exit
!
! Configure a loopback interface on PE 1 and assign it an IP address.
host1(config)#
interface loopback 0
host1(config-if)#
ip address 10.1.1.1 255.255.255.255
host1(config-if)#
exit
!
! Assign the router ID for PE 1 using the IP address of the loopback interface.
host1(config)#
ip router-id 10.3.3.3
!
! Configure BGP signaling.
host1(config)#
router bgp 738
host1(config-router)#
neighbor 10.1.1.1 remote-as 738
host1(config-router)#
neighbor 10.1.1.1 update-source loopback 0
host1(config-router)#
neighbor 10.1.1.1 next-hop-self
host1(config-router)#
address-family l2vpn signaling
host1(config-router-af)#
neighbor 10.1.1.1 activate
host1(config-router-af)#
neighbor 10.1.1.1 next-hop-self
host1(config-router-af)#
exit-address-family
host1(config-router)#
address-family vpws l2vpnA
host1(config-router-af)#
exit-address-family
host1(config-router)#
address-family vpws l2vpnB
Copyright © 2010, Juniper Networks, Inc.
660
JunosE 11.2.x BGP and MPLS Configuration Guide
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...