Figure 90: Hub-and-Spoke VPN
Route-target configuration on PE 2:
host2(config)#
virtual-router boston
host2:boston(config)#
ip vrf vrfC
host2:boston(config-vrf)#
route-target export 777:50
host2:boston(config-vrf)#
route-target import 777:25
Route-target configuration on PE 3:
host3(config)#
ip vrf vrfE
host3(config-vrf)#
route-target export 777:50
host3(config-vrf)#
route-target import 777:25
This configuration ensures that when VRF E on PE 3 receives an update message
from PE 1, BGP installs the advertised route only if it has a route target of 25. Routes
from PE 2 have a route target of 50, and cannot be installed. Similarly, when VRF C
on PE 2 receives an update message from PE 1, BGP installs the advertised route
only if it has a route target of 25. Routes from PE 3 have a route target of 50, and
cannot be installed. When PE 1 receives updates from either PE 2 or PE 3, the routes
have a route target of 50, match VRF A’s import list, and are installed in VRF A’s
forwarding table.
Setting Import and Export Maps for a VRF
The combination of the route-target export list of VRF A and the route-target import
list of VRF B determines whether routes from VRF A are distributed to VRF B. You
420
■
Configuring BGP VPN Services
JUNOSe 11.0.x BGP and MPLS Configuration Guide
Summary of Contents for JUNOSE
Page 6: ...vi...
Page 8: ...viii JUNOSe 11 0 x BGP and MPLS Configuration Guide...
Page 24: ...xxiv Table of Contents JUNOSe 11 0 x BGP and MPLS Configuration Guide...
Page 37: ...Part 1 Border Gateway Protocol Configuring BGP Routing on page 3 Border Gateway Protocol 1...
Page 38: ...2 Border Gateway Protocol JUNOSe 11 0 x BGP and MPLS Configuration Guide...
Page 234: ...198 Monitoring BGP JUNOSe 11 0 x BGP and MPLS Configuration Guide...
Page 236: ...200 Multiprotocol Layer Switching JUNOSe 11 0 x BGP and MPLS Configuration Guide...
Page 298: ...262 Point to Multipoint LSPs Configuration JUNOSe 11 0 x BGP and MPLS Configuration Guide...
Page 536: ...500 Monitoring BGP MPLS VPNs JUNOSe 11 0 x BGP and MPLS Configuration Guide...
Page 538: ...502 Layer 2 Services Over MPLS JUNOSe 11 0 x BGP and MPLS Configuration Guide...
Page 604: ...568 Virtual Private LAN Service JUNOSe 11 0 x BGP and MPLS Configuration Guide...
Page 618: ...582 VPLS References JUNOSe 11 0 x BGP and MPLS Configuration Guide...
Page 674: ...638 Virtual Private Wire Service JUNOSe 11 0 x BGP and MPLS Configuration Guide...
Page 718: ...682 Monitoring MPLS Forwarding Table for VPWS JUNOSe 11 0 x BGP and MPLS Configuration Guide...
Page 719: ...Part 6 Index Index on page 685 Index 683...
Page 720: ...684 Index JUNOSe 11 0 x BGP and MPLS Configuration Guide...