Usage Scenario
Currently, the mechanism of implementing the multicast VPN is that all Provider Edges (PEs) on the network know information about the Rendezvous Point (RP); in this manner, the PIM-SM MDT is established on the public network to transmit multicast VPN services. This mechanism, however, does not support the Share-Group address within the SSM address range. This is because PEs in the same VPN do not know the peer information of each other, therefore knowing nothing about the multicast source information. As a result, these PEs cannot directly send Join messages to the multicast source and establish the PIM-SSM MDT.
To solve this problem, in an autonomous system (AS), you can configure the BGP A-D mode to enable the automatic discovery of the PE information about PEs in the same VPN. In this manner, multicast VPN services can be transmitted on the public network tunnel which is based on the PIM-SSM MDT.
Multicast VPN currently supports only the MDT-SAFI A-D mode, in which a new address family in the MDT-SAFI message advertised through BGP is defined. After the multicast VPN is configured on a PE, the multicast VPN configurations, including the Route Distinguisher (RD) and the Share-Group address, can be advertised to all BGP peers. After a remote PE (a BGP peer) receives the MDT-SAFI message advertised through BGP, the remote PE compares the RD carried in the message with its RD. If the RDs are the same, it indicates the remote PE is in the same VPN with the local PE. The remote PE then uses the MDT-SAFI message to establish the PIM-SSM MDT for transmitting multicast VPN services.
Prerequisites
The multicast-domain share-group command has been run in the VPN.
Precautions
When configuring the A-D mode for the multicast VPN, you need to configure an A-D address family in the BGP view so that the corresponding BGP A-D mode can be used to implement the multicast VPN function. If the configured A-D mode is inconsistent with the A-D address family enabled in the BGP view, you cannot implement the A-D mode.
NOTE:
This command is applied to the single-AS scenario, with no RP configured on the public network.
The PEs enabled with the BGP A-D function must support the same PIM protocol and use the Share-Group address within the SSM address range.
Running this command does not affect the original multicast VPN service flow. When the Share-Group address is in the Any-Source Multicast (ASM) address range, multicast VPN traffic can still be transmitted along the multicast tunnel in PIM-SM mode on the public network.