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 at the end of this module.
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 IPv6 Multicast Address Family Support for Multiprotocol BGP
Multiprotocol BGP for the IPv6 Multicast Address Family
The multiprotocol BGP for the IPv6 multicast address family feature provides multicast BGP extensions for IPv6 and supports the same features and functionality as IPv4 BGP. IPv6 enhancements to multicast BGP include support for an IPv6 multicast address family and network layer reachability information (NLRI) and next hop (the next router in the path to the destination) attributes that use IPv6 addresses.
Multicast BGP is an enhanced BGP that allows the deployment of interdomain IPv6 multicast. Multiprotocol BGP carries routing information for multiple network layer protocol address families; for example, IPv6 address family and for IPv6 multicast routes. The IPv6 multicast address family contains routes used for RPF lookup by the IPv6 PIM protocol, and multicast BGP IPv6 provides for interdomain transport of the same. Users must use multiprotocol BGP for IPv6 multicast when using IPv6 multicast with BGP because the unicast BGP learned routes will not be used for IPv6 multicast.
Multicast BGP functionality is provided through a separate address family context. A subsequent address family identifier (SAFI) provides information about the type of the network layer reachability information that is carried in the attribute. Multiprotocol BGP unicast uses SAFI 1 messages, and multiprotocol BGP multicast uses SAFI 2 messages. SAFI 1 messages indicate that the routes are usable only for IP unicast, not IP multicast. Because of this functionality, BGP routes in the IPv6 unicast RIB must be ignored in the IPv6 multicast RPF lookup.
A separate BGP routing table is maintained to configure incongruent policies and topologies (for example, IPv6 unicast and multicast) by using IPv6 multicast RPF lookup. Multicast RPF lookup is very similar to the IP unicast route lookup.
No MRIB is associated with the IPv6 multicast BGP table. However, IPv6 multicast BGP operates on the unicast IPv6 RIB when needed. Multicast BGP does not insert or update routes into the IPv6 unicast RIB.
How to Implement IPv6 Multicast Address Family Support for Multiprotocol BGP
Adds the IPv6 address of the neighbor in the specified autonomous system to the IPv6 multicast BGP neighbor table of the local router.
The
ipv6-address argument in the
neighborremote-as command must be in the form documented in RFC 2373 where the address is specified in hexadecimal using 16-bit values between colons.
Specifies the IPv6 address family, and enters address family configuration mode.
The
unicast keyword specifies the IPv6 unicast address family. By default, the router is placed in configuration mode for the IPv6 unicast address family if a keyword is not specified in the
address-familyipv6 command.
The
multicast keyword specifies IPv6 multicast address prefixes.
Enables the neighbor to exchange prefixes for the specified family type with the neighbor and the local router.
To avoid extra configuration steps for each neighbor, use the
neighboractivate command with the
peer-group-name argument as an alternative in this step.
Assigns the IPv6 address of a BGP neighbor to a peer group.
Advertising Routes into IPv6 Multiprotocol BGP
By default, networks that are defined in router configuration mode using the
network command are injected into the IPv4 unicast database. To inject a network into another database, such as the IPv6 BGP database, you must define the network using the
network command in address family configuration mode for the other database, as shown for the IPv6 BGP database.
Specifies the IPv6 address family, and enters address family configuration mode.
The
unicast keyword specifies the IPv6 unicast address family. By default, the device is placed in configuration mode for the IPv6 unicast address family if a keyword is not specified with the
address-familyipv6 command.
The
multicast keyword specifies IPv6 multicast address prefixes.
Advertises (injects) the specified prefix into the IPv6 BGP database. (The routes must first be found in the IPv6 unicast routing table.)
Specifically, the prefix is injected into the database for the address family specified in the previous step.
Routes are tagged from the specified prefix as "local origin."
The
ipv6-prefixargument in the
network command must be in the form documented in RFC 2373 where the address is specified in hexadecimal using 16-bit values between colons.
The
prefix-length argument is a decimal value that indicates how many of the high-order contiguous bits of the address comprise the prefix (the network portion of the address). A slash mark must precede the decimal value.
Step 6
exit
Example:
Device(config-router-af)# exit
Exits address family configuration mode, and returns the device to router configuration mode.
Repeat this step to exit router configuration mode and return the device to global configuration mode.
Redistributing Prefixes into IPv6 Multiprotocol BGP
Redistribution is the process of redistributing, or injecting, prefixes from one routing protocol into another routing protocol. This task explains how to inject prefixes from a routing protocol into IPv6 multiprotocol BGP. Specifically, prefixes that are redistributed into IPv6 multiprotocol BGP using the
redistribute router configuration command are injected into the IPv6 unicast database.
Specifies the IPv6 address family, and enters address family configuration mode.
The
unicast keyword specifies the IPv6 unicast address family. By default, the device is placed in configuration mode for the IPv6 unicast address family if a keyword is not specified with the
address-familyipv6 command.
The
multicast keyword specifies IPv6 multicast address prefixes.
Redistributes IPv6 routes from one routing domain into another routing domain.
Step 6
exit
Example:
Device(config-router-af)# exit
Exits address family configuration mode, and returns the device to router configuration mode.
Repeat this step to exit router configuration mode and return the device to global configuration mode.
Assigning a BGP Administrative Distance
Caution
Changing the administrative distance of BGP internal routes is not recommended. One problem that can occur is the accumulation of routing table inconsistencies, which can break routing.
Generating Translate Updates for IPv6 Multicast BGP
The multicast BGP translate-update feature generally is used in a multicast BGP-capable router that peers with a customer site that has only a BGP-capable router; the customer site has not or cannot upgrade its router to a multicast BGP-capable image. Because the customer site cannot originate multicast BGP advertisements, the router with which it peers will translate the BGP prefixes into multicast BGP prefixes, which are used for multicast-source RPF lookup.
Example: Advertising Routes into IPv6 Multiprotocol BGP
The following example injects the IPv6 network 2001:DB8::/24 into the IPv6 unicast database of the local device. (BGP checks that a route for the network exists in the IPv6 unicast database of the local device before advertising the network.)
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.
Feature Information for IPv6 Multicast Address Family Support for Multiprotocol BGP
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
www.cisco.com/go/cfn. An account on Cisco.com is not required.
Table 1
Feature Information for IPv6 Multicast Address Family Support for Multiprotocol BGP
Feature Name
Releases
Feature Information
IPv6 Multicast Address Family Support for Multiprotocol BGP
12.0(26)S
12.2(25)S
12.2(25)SG
12.2(33)SRA
12.2(33)SXH
12.3(4)T
12.4
12.4(2)T
15.0(1)S
This feature provides multicast BGP extensions for IPv6 and supports the same features and functionality as IPv4 BGP.
Cisco and the Cisco logo are trademarks or registered trademarks of Cisco and/or its affiliates in the U.S. and other countries. To view a list of Cisco trademarks, go to this URL:
www.cisco.com/go/trademarks. Third-party trademarks mentioned are the property of their respective owners. The use of the word partner does not imply a partnership relationship between Cisco and any other company. (1110R)
Any Internet Protocol (IP) addresses and phone numbers used in this document are not intended to be actual addresses and phone numbers. Any examples, command display output, network topology diagrams, and other figures included in the document are shown for illustrative purposes only. Any use of actual IP addresses or phone numbers in illustrative content is unintentional and coincidental.