Specifications

Implementing BGP on Cisco IOS XR Software
How to Implement BGP on Cisco IOS XR Software
RC-102
Cisco IOS XR Routing Configuration Guide
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
Step 1
configure
Example:
RP/0/RP0/CPU0:router# configure
Enters global configuration mode.
Step 2
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.
Step 3
address-family {vpnv4 unicast | vpnv6 unicast}
Example:
RP/0/RP0/CPU0:router(config-bgp)#
address-family vpvn4 unicast
Enters VPN address family configuration mode.
Step 4
retain route-target {all | route-policy
route-policy-name
}
Example:
RP/0/RP0/CPU0:router(config-bgp-af)# retain
route-target route-policy rr_ext-comm
Configures a reflector to retain routes tagged with particular
RTs. Use the route-policy-name argument for the policy
name that lists the extended communities that a path should
have in order for the RR to retain that path.
Note The all keyword is not required, because this is the
default behavior of a route reflector.