Implementing BGP on Cisco IOS XR Software
How to Implement BGP on CiscoIOS XR Software
RC-104
Cisco IOS XR Routing Configuration Guide
OL-14356-01
Note Note that this process can be more efficient if the PE-RR session supports extended community outbound
route filter (ORF).
Perform this task to configure a reflector to retain routes tagged with specific RTs.
SUMMARY STEPS
1. configure
2. router bgp as-number
3. address-family {vpnv4 unicast | vpnv6 unicast}
4. retain route-target {all | route-policy route-policy-name}
5. end
or
commit
DETAILED STEPS
Command or Action Purpose
Step1 configure
Example:
RP/0/RP0/CPU0:router# configure
Enters global configuration mode.
Step2 router bgp as-number
Example:
RP/0/RP0/CPU0:router(config)# router bgp 120
Enters BGP configuration mode, allowing you to configure
the BGP routing process.
Step3 address-family {vpnv4 unicast | vpnv6 unicast}
Example:
RP/0/RP0/CPU0:router(config-bgp)#
address-family vpvn4 unicast
Enters VPN address family configuration mode.