The export msdp command enables the function of transmitting (S, G) entry information in BGP Source Active A-D routes to the rendezvous point (RP) through Multicast Source Discovery Protocol (MSDP) Source Active (SA) messages.
The undo export msdp command restores the default configuration.
By default, (S, G) entry information in BGP Source Active A-D routes are not transmitted to the RP through MSDP SA messages.
Usage Scenario
If PIM-SM MDT setup is not across the public network, you can configure a PE or CE as a VPN instance's RP. If a CE is configured as an RP, the CE needs to establish an MDSP peer relationship with its connected PE. To enable this PE to transmit (S, G) entry information in BGP Source Active A-D routes to the CE configured as the RP, run the export msdp command.
Precautions
If a PE is configured as a VPN instance's RP, you do not need to run the export msdp command.
<HUAWEI> system-view [~HUAWEI] multicast mvpn 2.2.2.2 [*HUAWEI] ip vpn-instance mcast1 [*HUAWEI-vpn-instance-mcast1] ipv4-family [*HUAWEI-vpn-instance-mcast1-af-ipv4] route-distinguisher 1:1 [*HUAWEI-vpn-instance-mcast1-af-ipv4] multicast routing-enable [*HUAWEI-vpn-instance-mcast1-af-ipv4] mvpn [*HUAWEI-vpn-instance-mcast1-af-ipv4-mvpn] export msdp