The encap-data-enable command enables the device to encapsulate a multicast data packet into an SA message.
The undo encap-data-enable command disables the device from encapsulating a multicast data packet into an SA message.
By default, no multicast data packet is encapsulated into an SA message.
Usage Scenario
The source RP encapsulates information about all active sources into multiple SA messages to advertise it. Each SA message contains multiple (S, G) entries.
After the encap-data-enable command is configured on the source's RP, the RP encapsulates the multicast data carried in the Register message into an SA message, and then sends the SA message to the MSDP peer. Only one multicast data packet can be encapsulated into an SA message.
After the encap-data-enable command is configured on the MSDP peer, the switch can transmit the SA messages carrying a multicast data packet between PIM-SM domains.
Prerequisites
MSDP has been enabled using the msdp command.