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 267, 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
420
■
Configuring BGP VPN Services
JUNOSe 11.1.x BGP and MPLS Configuration Guide
Summary of Contents for BGP
Page 6: ...vi ...
Page 8: ...viii JUNOSe 11 1 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 1 x BGP and MPLS Configuration Guide ...
Page 234: ...198 Monitoring BGP JUNOSe 11 1 x BGP and MPLS Configuration Guide ...
Page 236: ...200 Multiprotocol Layer Switching JUNOSe 11 1 x BGP and MPLS Configuration Guide ...
Page 542: ...506 Monitoring BGP MPLS VPNs JUNOSe 11 1 x BGP and MPLS Configuration Guide ...
Page 544: ...508 Layer 2 Services Over MPLS JUNOSe 11 1 x BGP and MPLS Configuration Guide ...
Page 610: ...574 Virtual Private LAN Service JUNOSe 11 1 x BGP and MPLS Configuration Guide ...
Page 624: ...588 VPLS References JUNOSe 11 1 x BGP and MPLS Configuration Guide ...
Page 680: ...644 Virtual Private Wire Service JUNOSe 11 1 x BGP and MPLS Configuration Guide ...
Page 724: ...688 Monitoring MPLS Forwarding Table for VPWS JUNOSe 11 1 x BGP and MPLS Configuration Guide ...
Page 725: ...Part 6 Index Index on page 691 Index 689 ...
Page 726: ...690 Index JUNOSe 11 1 x BGP and MPLS Configuration Guide ...