host3(config)#
ip vrf vrfE
host3(config-vrf)#
route-target both 777:1
host3(config-vrf)#
exit
host3(config)#
ip vrf vrfF
host3(config-vrf)#
route-target both 777:2
Example: Hub-and-Spoke
VPN
In one type of a hub-and-spoke design, only the hub site can reach every site in the
VPN. All other sites—spokes—can reach only the hub site. (More complex
hub-and-spoke designs are possible, but require additional configuration and route
targets to achieve.) In Figure 90 on page 420, Customer Site 1 is the hub site for VPN
A. As such it can reach both spokes, Customer Sites 2 and 3 through VRF A. Customer
Site 2 can reach only the hub, customer 1, through VRF C. Customer Site 3 can reach
only the hub, customer 1, through VRF E.
BGP sessions exist between PE 1 and PE 2 and between PE 1 and PE 3. In most
situations, BGP itself is fully meshed, but that level of complexity is not necessary
for this example. The MPLS paths through the service provider core are omitted for
clarity.
To configure route targets for this hub and spoke, you specify different import and
export route targets on the hub VRF. On the spoke VRFs, you switch these route
targets.
Route-target configuration on PE 1:
host1(config)#
virtual-router newyork
host1:newyork(config)#
ip vrf vrfA
host1:newyork(config-vrf)#
route-target export 777:25
host1:newyork(config-vrf)#
route-target import 777:50
Configuring BGP VPN Services
■
419
Chapter 5: Configuring BGP-MPLS Applications
Содержание 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...