Configure Routing Protocol Between the PE and CE Routers
Related Topics
•
Configure Routing Protocol Between the PE and CE Routers
Configure BGP as the Routing Protocol Between the PE and CE Routers
BGP distributes reachability information for VPN-IPv4 prefixes for each VPN. PE to PE or PE to route
reflector (RR) sessions are iBGP sessions, and PE to CE sessions are eBGP sessions. PE to CE eBGP sessions
can be directly or indirectly connected (eBGP multihop).
Figure 7: BGP as the Routing Protocol between PE and CE Routers
Configuration Example
This example lists the steps to configure BGP as the routing protocol between the PE and CE routers. The
route policy, pass-all in this example, must be configured before it can be attached.
PE1:
Router-PE1#configure
Router-PE1(config)#router bgp 2001
Router-PE1(config-bgp)#bgp router-id 13.13.13.1
Router-PE1(config-bgp)#address-family ipv4 unicast
Router-PE1(config-bgp-af)#exit
Router-PE1(config-bgp)#address-family vpnv4 unicast
Router-PE1(config-bgp-af)#exit
/* VRF configuration */
Router-PE1(config-bgp)#vrf vrf1601
Router-PE1(config-bgp-vrf)#rd 2001:1601
Router-PE1(config-bgp-vrf)#address-family ipv4 unicast
Router-PE1(config-bgp-vrf-af)#label mode per-vrf
Router-PE1(config-bgp-vrf-af)#redistribute connected
Router-PE1(config-bgp-vrf-af)#exit
Router-PE1(config-bgp-vrf)#neighbor 192.13.26.5
Router-PE1(config-bgp-vrf-nbr)#remote-as 7501
Router-PE1(config-bgp-vrf-nbr)#address-family ipv4 unicast
Router-PE1(config-bgp-vrf-nbr-af)#route-policy pass-all in
Router-PE1(config-bgp-vrf-nbr-af)#route-policy pass-all out
Router-PE1(config-bgp-vrf-nbr-af)#commit
L3VPN Configuration Guide for Cisco NCS 540 Series Routers, IOS XR Release 6.3.x
18
Multicast reserved groups joined: 224.0.0.2 224.0.0.1
Directed broadcast forwarding is disabled
Outgoing access list is not set
Inbound
common access list is not set, access list is not set
Proxy ARP is disabled
ICMP redirects are never sent
ICMP unreachables are always sent
ICMP mask replies are never sent
Table Id is 0xe0000001
Define VRFs on PE Routers to Enable Customer Connectivity, on page 16
MPLS L3VPN Overview