Configuration on PE 1 (Local PE Router)
Use the following commands on the local PE router (PE 1) to configure the VPLS topology
shown in Figure 129 on page 599.
! Configure VPLS instance vplsA.
host1(config)#
bridge vplsA vpls transport-virtual-router default
host1(config)#
bridge vplsA vpls site-range 10
host1(config)#
bridge vplsA vpls site-name boston site-id 1
host1(config)#
bridge vplsA vpls rd 100:11
host1(config)#
bridge vplsA vpls route-target both 100:1
!
! Configure VPLS instance vplsB.
host1(config)#
bridge vplsB vpls transport-virtual-router default
host1(config)#
bridge vplsB vpls site-range 20
host1(config)#
bridge vplsB vpls site-name boston site-id 1
host1(config)#
bridge vplsB vpls rd 100:12
host1(config)#
bridge vplsB vpls route-target both 100:2
!
! Configure Fast Ethernet interface 3/0 between PE 1 and CE 1,
! and assign it to vplsA as a trunk interface.
host1(config)#
interface fastEthernet 3/1
host1(config-if)#
bridge-group vplsA subscriber-trunk
host1(config-if)#
exit
!
! Configure bridged Ethernet interface 2/0.12 between PE 1 and CE 2,
! and assign it to vplsB as a trunk interface.
host1(config)#
interface atm 2/0.12 point-to-point
host1(config-subif)#
atm pvc 12 0 12 aal5snap 0 0 0
host1(config-subif)#
encapsulation bridge1483 mac-address 0090.1a40.9991
host1(config-subif)#
bridge-group vplsB subscriber-trunk
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.1.1.1
!
! 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,
! and assign it an IP address.
host1(config)#
interface atm 2/0.100 point-to-point
host1(config-subif)#
atm pvc 100 1 100 aal5snap 0 0 0
host1(config-subif)#
ip address 192.168.1.1 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
!
Copyright © 2010, Juniper Networks, Inc.
600
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...