Pe Router Configuration Tasks - Juniper BGP - CONFIGURATION GUIDE V 11.1.X Configuration Manual

Junose software for e series routing platforms
Table of Contents

Advertisement

JUNOSe 11.1.x BGP and MPLS Configuration Guide

PE Router Configuration Tasks

To configure a PE router to provide BGP VPN services:
1.
2.
3.
4.
5.
420
Configuring BGP VPN Services
Configure PE-to-PE LSPs.
See "Configuring MPLS" on page 267, for information about configuring LSPs.
Enable BGP routing.
host1:vr1(config)#router bgp 100
(Optional) Disable automatic route-target filtering.
host1:vr1(config-router)#no bgp default route-target filter
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
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

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Junose 11.1.x bgp and mplsBgpMpls

Table of Contents