Figure 92: Configuring Static Routes
In Figure 92 on page 430, PE 2 has external BGP connections to CE 3 and CE 4. PE
1 has an EBGP connection to CE 2. However, no BGP (or IGP) connection exists
between PE 1 and CE 1. The following example shows how to configure static routes
on VRF A for both prefixes in CE 1.
host1(config)#
virtual-router pe1
host1:pe1(config)#
ip vrf vpnA
host1:pe1(config-vrf)#
ip route vrf vrfA 10.3.0.0 255.255.0.0 10.1.1.1
host1:pe1(config-vrf)#
ip route vrf vrfA 10.12.0.0 255.255.0.0 10.1.1.1
ip route vrf
■
Use to add a static route to a VRF.
■
Example
host1:pe1(config-router-af)#
ip route vrf vrfA 10.0.0.0 255.0.0.0 192.168.1.1
■
Use the
no
version to remove a static route from a VRF.
■
See ip route.
Configuring IGPs on the VRF
If you do not configure static routes on the VRF for each prefix in the associated
customer site, then you must configure an IGP on the VRF so that the VRF can learn
routes from customer sites.
Configuring the IGP in the VRF Context
After creating a VRF, you can access it as if it were a virtual router for the purpose
of configuring the IGP.
If you are in the context of the virtual router that has the VRF, you access the VRF
as follows:
host1(config)#
virtual-router :vrfa
host1:default:vrfa(config)#
430
■
Configuring BGP VPN Services
JUNOSe 11.0.x BGP and MPLS Configuration Guide
Содержание 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...