■
Use
network
commands or the
redistribute static
command to make
BGP advertise static routes to customers.
host1:vr1(config-router)#
network 10.3.0.0 mask 255.255.0.0
host1:vr1(config-router)#
redistribute static
■
Use
redistribute
commands to make BGP advertise IGP routes to
customers.
host1:vr1(config-router)#
redistribute ospf
6.
(Optional) Configure an AS override.
See “Using a Single AS Number for All CE Sites” on page 441 for examples.
7.
(Optional) Force the BGP speaker to accept routes that have the speaker’s AS
number in its AS path.
host1:vr1(config-router)#
bgp enforce-first-as
Creating a VRF
Access the desired virtual router context; then create the VRF(s) for that VR.
host1(config)#
virtual-router vr1
host1:vr1(config)#
ip vrf vrfA
ip vrf
■
Use to create a VRF or access VRF Configuration mode to configure a VRF.
■
You must specify a route distinguisher after you create a VRF. Otherwise, the
VRF will not operate.
■
Example
host1:vr1(config)#
ip vrf vrfA
■
Use the
no
version to remove a VRF.
■
Use the
wait-for-completion
keyword with the
no
version if you require a
synchronous, deterministic deletion of a VRF, such as when executing Telnet or
console commands by means of an external script. If you do not issue the
wait-for-completion
keyword in these circumstances, an
ip vrf
command issued
as soon as the prompt appears might fail because the router is still deleting the
VRF. You can specify a period during which the CLI waits before it returns a
prompt. If you do not specify a wait time, then the CLI does not return a prompt
until the operation completes. You can press Ctrl+c to break out of the wait
period early.
■
See ip vrf.
Configuring BGP VPN Services
■
415
Chapter 5: Configuring BGP-MPLS Applications
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...