5.
Assign interfaces for PE-to-CE links to the VRF from outside or inside the VRF
context:
host1:vr1(config)#
interface gigabitEthernet 1/0
host1:vr1(config-if)#
ip vrf forwarding vrfA
host1:vr1:vrfA(config-if)#
ip address 10.16.2.77 255.255.255.0
host1:vr1:vrfA(config-if)#
exit
or
host1:vr1(config)#
virtual-router :vrfA
host1:vr1:vrfA(config)#
interface gigabitEthernet 1/0
NOTE:
You can also use the
ip vrf forwarding
command to specify secondary route
lookup at the parent (global) level, in the event the original lookup does not yield any
results.
6.
Use either of the following methods to establish how the VRF learns routes to
customer sites:
■
Create static routes to the customer site in the VRF by one of the following
methods:
host1(config)#
virtual-router vr1
host1:vr1(config)#
ip vrf vpnA
host1:vr1(config-vrf)#
ip route vrf vrfA 10.3.0.0 255.255.0.0 10.1.1.1
host1:vr1(config-vrf)#
ip route vrf vrfA 10.12.0.0 255.255.0.0 10.1.1.1
or
host1(config)#
virtual-router vr1:vrfA
host1:vr1:vrfA(config)#
ip route 10.3.0.0 255.255.0.0 10.1.1.1
host1:vr1:vrfA(config)#
ip route 10.12.0.0 255.255.0.0 10.1.1.1
■
Configure an IGP on the VRF to learn routes from the CE router.
See “Configuring IGPs on the VRF” on page 430 for examples.
■
Configure a PE-to-CE EBGP session.
See “Configuring PE-to-CE BGP Sessions” on page 438 for information about
configuring EBGP.
7.
(Optional) Configure the router to generate a label for each different FEC pointed
to by a BGP route in the VPN.
host1:vr1(config-vrf)#
ip mpls forwarding-mode label-switched
8.
(Optional) For carrier-of-carriers VPNs, configure carrier-of-carriers mode in the
provider carrier’s PE router that connects to the customer carrier’s network.
host1:vr1:VrfA(config)#
mpls topology-driven-lsp
See “Carrier-of-Carriers IPv4 VPNs” on page 463 for information about configuring
carrier-of-carriers VPNs.
Configuring BGP VPN Services
■
413
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...