The cache-sa-enable command enables the SA cache function on a switch. After receiving an SA message, the switch caches (S, G) information carried in the SA message.
The cache-sa-disable command disables the SA cache function.
The undo cache-sa-enable command disables the SA cache function.
By default, the SA cache function is enabled on a switch.
Usage Scenario
A switch enabled with the SA cache function locally saves (S, G) information carried in the received SA messages. When the switch receives requests for receiving multicast data, it directly obtains (S, G) information from the SA cache.
A switch no longer saves (S, G) information carried in the received SA messages locally after the undo cache-sa-enable or the cache-sa-disable command is run to disable the SA cache function. When the switch receives requests for receiving multicast data, it must wait for the SA messages sent by the MSDP peer in the next sending period. This may result in a delay in receiving multicast data.
Prerequisites
MSDP has been enabled using the msdp command.
Configuration Impact
When an RP receives a new (*, G) Join message,
Precautions
The cache-sa-disable and undo cache-sa-enable commands' configurations are both undo cache-sa-enable in the configuration file.