Cisco Systems OL-14356-01 Network Router User Manual


 
Implementing BGP on Cisco IOS XR Software
How to Implement BGP on Cisco IOS XR Software
RC-96
Cisco IOS XR Routing Configuration Guide
OL-14356-01
Configuring a VPN Routing and Forwarding Instance in BGP
The following tasks are used to configure a VPN routing and forwarding (VRF) instance in BGP:
Defining the Virtual Routing and Forwarding Tables in Provider Edge Routers, page RC-96
(required)
Configuring the Route Distinguisher, page RC-98 (required)
Configuring PE-PE or PE-RR Interior BGP sessions, page RC-100 (optional)
Configuring Route Reflector to Hold Routes That Have a Defined Set of RT Communities,
page RC-103 (optional)
Configuring BGP as a PE-CE Protocol, page RC-105 (optional)
BGP Load Balancing, page RC-109 (optional)
Redistribution of IGPs to BGP, page RC-111 (optional)
Defining the Virtual Routing and Forwarding Tables in Provider Edge Routers
Perform this task to define the VPN routing and forwarding (VRF) tables in the provider edge (PE)
routers.
SUMMARY STEPS
1. configure
2. vrf vrf-name
3. address-family {ipv4 | ipv6} unicast
4. maximum prefix maximum [threshold]
5. import route-policy policy-name
6. import route-target [as-number:nn | ip-address:nn]
7. export route-policy policy-name
8. export route-target [as-number:nn | ip-address:nn]
9. end
or
commit
DETAILED STEPS
Command or Action Purpose
Step 1
configure
Example:
RP/0/RP0/CPU0:router# configure
Enters global configuration mode.
Step 2
vrf vrf-name
Example:
RP/0/RP0/CPU0:router(config)# vrf vrf_pe
Configures a VRF instance.