PE Router Configuration Tasks
To configure a PE router to provide BGP VPN services:
1.
Configure PE-to-PE LSPs.
See “Configuring MPLS” on page 275, for information about configuring LSPs.
2.
Enable BGP routing.
host1:vr1(config)#
router bgp 100
3.
(Optional) Disable automatic route-target filtering.
host1:vr1(config-router)#
no bgp default route-target filter
4.
Configure PE-to-PE BGP sessions.
a.
Create the PE-to-PE session.
host1:vr1(config)#
router bgp 100
host1:vr1(config-router)#
neighbor 192.168.1.158 remote-as 100
b.
Create the VPN-IPv4 address family.
host1:vr1(config-router)#
address-family vpnv4
c.
Activate the PE-to-PE session in the VPN-IPv4 address family.
host1:vr1(config-router-af)#
neighbor 192.168.1.158 activate
host1:vr1(config-router-af)#
exit-address-family
d.
(Optional) Enable the BGP speaker to check the reachability of indirect next
hops when selecting the best VPN-IPv4 route to a prefix.
host1:pe1(config-router-af)#
check-vpn-next-hops
5.
Configure PE-to-CE BGP sessions.
a.
Enable and configure BGP:
host1:vr1(config)#
router bgp 100
See “Configuring BGP Routing” on page 3, for more information about
configuring BGP.
b.
Specify the IPv4 unicast address family for each VRF:
host1:vr1(config-router)#
address-family ipv4 unicast vrf vrfA
c.
Configure the method of route advertisement by doing one of the following:
•
Use
neighbor
commands to specify peers to which BGP advertises the routes:
host1:vr1(config-router)#
neighbor 10.12.13.0 remote-as 200
•
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.
423
Copyright © 2010, Juniper Networks, Inc.
Chapter 6: Configuring BGP-MPLS Applications
Содержание JUNOSE 11.2.X BGP AND MPLS
Страница 6: ...Copyright 2010 Juniper Networks Inc vi...
Страница 8: ...Copyright 2010 Juniper Networks Inc viii JunosE 11 2 x BGP and MPLS Configuration Guide...
Страница 38: ...Copyright 2010 Juniper Networks Inc 2 JunosE 11 2 x BGP and MPLS Configuration Guide...
Страница 192: ...Copyright 2010 Juniper Networks Inc 156 JunosE 11 2 x BGP and MPLS Configuration Guide...
Страница 242: ...Copyright 2010 Juniper Networks Inc 206 JunosE 11 2 x BGP and MPLS Configuration Guide...
Страница 244: ...Copyright 2010 Juniper Networks Inc 208 JunosE 11 2 x BGP and MPLS Configuration Guide...
Страница 310: ...Copyright 2010 Juniper Networks Inc 274 JunosE 11 2 x BGP and MPLS Configuration Guide...
Страница 356: ...Copyright 2010 Juniper Networks Inc 320 JunosE 11 2 x BGP and MPLS Configuration Guide...
Страница 418: ...Copyright 2010 Juniper Networks Inc 382 JunosE 11 2 x BGP and MPLS Configuration Guide...
Страница 524: ...Copyright 2010 Juniper Networks Inc 488 JunosE 11 2 x BGP and MPLS Configuration Guide...
Страница 544: ...Copyright 2010 Juniper Networks Inc 508 JunosE 11 2 x BGP and MPLS Configuration Guide...
Страница 608: ...Copyright 2010 Juniper Networks Inc 572 JunosE 11 2 x BGP and MPLS Configuration Guide...
Страница 672: ...Copyright 2010 Juniper Networks Inc 636 JunosE 11 2 x BGP and MPLS Configuration Guide...
Страница 674: ...Copyright 2010 Juniper Networks Inc 638 JunosE 11 2 x BGP and MPLS Configuration Guide...
Страница 716: ...Copyright 2010 Juniper Networks Inc 680 JunosE 11 2 x BGP and MPLS Configuration Guide...
Страница 717: ...PART 6 Index Index on page 683 681 Copyright 2010 Juniper Networks Inc...
Страница 718: ...Copyright 2010 Juniper Networks Inc 682 JunosE 11 2 x BGP and MPLS Configuration Guide...