The documentation set for this product strives to use bias-free language. For the purposes of this documentation set, bias-free is defined as language that does not imply discrimination based on age, disability, gender, racial identity, ethnic identity, sexual orientation, socioeconomic status, and intersectionality. Exceptions may be present in the documentation due to language that is hardcoded in the user interfaces of the product software, language used based on RFP documentation, or language that is used by a referenced third-party product. Learn more about how Cisco is using Inclusive Language.
The Multitopology Border Gateway Protocol (BGP) with virtual routing and forwarding (VRF) enhancement enables independent configuration of multicast sub address-family and unicast address-family within a VRF definition. This document describes how to configure BGP for Multitopology Routing (MTR) with VRF enhancement.
Your software release may not support all the features documented in this module. For the latest caveats and feature information, see Bug Search Tool and the release notes for your platform and software release. To find information about the features documented in this module, and to see a list of the releases in which each feature is supported, see the feature information table.
Use Cisco Feature Navigator to find information about platform support and Cisco software image support. To access Cisco Feature Navigator, go to www.cisco.com/go/cfn. An account on Cisco.com is not required.
Information About Multitopology BGP With VRF Enhancement
The Multitopology Border Gateway Protocol (BGP) with virtual routing and forwarding (VRF) enhancement enables independent configuration of multicast subaddress-family and unicast address-family within a VRF definition.
The subsequent address-family identifiers (SAFI 129) feature supports configuration of a multicast VPN topology that differs from a unicast VPN topology. This difference in topologies is achieved by injecting a different subset of routes for multicast as compared to unicast. However, that is not the case with VRF definitions. The same configuration is used for both unicast and multicast topologies to attain their VRF-level attributes. Therefore, to achieve different topologies for multicast and unicast for VRF definitions, the multitopology BGP with VRF enhancement feature uses the multicast VRF subaddress-family attribute.
Note | The multicast VRF subaddress-family attribute can only be configured for the multitopology BGP with VRF enhancement feature, that is, you cannot configure the address-family ipv4 multicast command under a specific VRF definition until you configure the multitopology BGP with VRF enhancement feature for that VRF definition. When you configure this feature, all operations related to BGP VPN and BGP VRF routing, refer to the configuration done using the address-family ipv4 multicast command. |
How to Configure Multitopology BGP With VRF Enhancement
1.
enable
2.
configure
terminal
3.
ip
multicast-routing [vrf
name]
4.
ip
multicast rpf multitopology
5.
vrf
definition
vrf-name
6.
rd
{ASN:nn
|
IP-addr:nn}
7.
address-family {ipv4
|
ipv6} [multicast
|
unicast]
8.
route-target {both
|
import
|
export} {ASN:nn
|
IP-addr:nn}
9.
exit-address-family
10.
ipv4
multicast
topology
11.
address-family {ipv4
|
ipv6} [multicast
|
unicast]
12.
topology {base |
topology-name}
13.
route-target {both
|
import
|
export} {ASN:nn
|
IP-addr:nn}
14.
exit-address-family
15.
exit-address-family
16.
end
Configuration Examples for Multitopology BGP With VRF Enhancement
The following configuration shows how to configure the multitopology BGP with VRF enhancement feature:
Device> enable Device# configure terminal Device(config)# ip multicast-routing Device(config)# ip multicast vrf v1 rpf multitopology Device(config)# vrf definition v1 Device(config-vrf)# rd 2:2 Device(config-vrf)# address-family ipv4 Device(config-vrf-af)# route-target import 4:4 Device(config-vrf-af)# exit-address-family Device(config-vrf)# ipv4 multicast multitopology Device(config-vrf)# address-family ipv4 multicast Device(config-vrf-af)# topology base Device(config-vrf-af-topology)# route-target import 8:8 Device(config-vrf-af-topology)# exit-topology Device(config-vrf-af)# exit-address-family Device(config-vrf)# end
Note | The configuration of two address-families for the VRF definition “v1” is different in such a way that multitopology enables the address-family ipv4 multicast command to configure multicast VRF routing, which, in turn, imports routes with route-target 8:8 but does not import routes with route-target 4:4. It means that if the multitopology feature is configured, the configuration defined in address-family ipv4 multicast command under a VRF definition is applicable for multicast VRF routing. When the multitopology feature is not configured, the routing is based on the configuration defined in address-family ipv4 command under a VRF definition. |
Related Topic |
Document Title |
---|---|
Cisco IOS commands |
|
Multitopology Routing (MTR) commands |
|
Border Gateway Protocol (BGP) commands |
|
BGP concepts and tasks |
IP Routing: BGP Configuration Guide |
BGP Support for MTR |
Multitopology Routing Configuration Guide |
Description |
Link |
---|---|
The Cisco Support and Documentation website provides online resources to download documentation, software, and tools. Use these resources to install and configure the software and to troubleshoot and resolve technical issues with Cisco products and technologies. Access to most tools on the Cisco Support and Documentation website requires a Cisco.com user ID and password. |
The following table provides release information about the feature or features described in this module. This table lists only the software release that introduced support for a given feature in a given software release train. Unless noted otherwise, subsequent releases of that software release train also support that feature.
Use Cisco Feature Navigator to find information about platform support and Cisco software image support. To access Cisco Feature Navigator, go to . An account on Cisco.com is not required.
Feature Name |
Releases |
Feature Information |
---|---|---|
Multitopology BGP With VRF Enhancement |
The Multitopology BGP with VRF enhancement enables independent configuration of multicast address-family and unicast address-family within a VRF definition. The following command was modified to be configured only when multitopology is configured under VRF: address-family ipv4 multicast |