Configuring the SA cache mechanism
About the SA cache mechanism
The SA cache mechanism enables the device to locally cache (S, G) entries contained in SA messages. It reduces the time for obtaining multicast source information, but increases memory occupation.
With the SA cache mechanism enabled, when the device receives a new (*, G) join message, it searches its SA message cache first.
If no matching (S, G) entry is found, the device waits for the SA message that its MSDP peer sends in the next cycle.
If a matching (S, G) entry is found in the cache, the device joins the SPT rooted at S.
To protect the device against DoS attacks, you can set a limit on the number of (S, G) entries in the SA cache from an MSDP peer.
Procedure
Enter system view.
system-view
Enter MSDP view.
msdp [ vpn-instance vpn-instance-name ]
Enable the SA cache mechanism.
cache-sa-enable
By default, the SA message cache mechanism is enabled. The device caches the (S, G) entries contained in the received SA messages.
(Optional.) Set the maximum number of (S, G) entries in the SA cache from an MSDP peer.
peer peer-address sa-cache-maximum sa-limit
The default setting is 4294967295.