Configuring the SA cache mechanism
The SA cache mechanism enables the router 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 router receives a new (*, G) join message, it
searches its SA message cache first.
•
If no matching (S, G) entry is found, the router 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 router joins the SPT rooted at S.
To protect the router against DoS attacks, you can set a limit on the number of (S, G) entries in the
SA cache from an MSDP peer.
To configure the SA cache mechanism:
Step
Enter system view.
1.
Enter MSDP view.
2.
Enable the SA cache
3.
mechanism.
Set the maximum number of
4.
(S, G) entries in the SA cache
from an MSDP peer.
Displaying and maintaining MSDP
Execute display commands in any view and reset commands in user view.
Task
Display brief information about MSDP peers.
Display detailed status of MSDP peers.
Display (S, G) entries in the SA cache.
Display the number of (S, G) entries in the SA cache.
Reset the TCP connection with an MSDP peer and
clear statistics for the MSDP peer.
Delete (S, G) entries in the SA cache.
Clear statistics for an MSDP peer without resetting
the TCP connection with the MSDP peer.
Command
system-view
msdp [ vpn-instance
vpn-instance-name ]
cache-sa-enable
peer peer-address
sa-cache-maximum sa-limit
Command
display msdp [ vpn-instance vpn-instance-name ]
brief [ state { connect | disabled | established |
listen | shutdown } ]
display msdp [ vpn-instance vpn-instance-name ]
peer-status [ peer-address ]
display msdp [ vpn-instance vpn-instance-name ]
sa-cache [ group-address | source-address |
as-number ] *
display msdp [ vpn-instance vpn-instance-name ]
sa-count [ as-number ]
reset msdp [ vpn-instance vpn-instance-name ]
peer [ peer-address ]
reset msdp [ vpn-instance vpn-instance-name ]
sa-cache [ group-address ]
reset msdp [ vpn-instance vpn-instance-name ]
statistics [ peer-address ]
171
Remarks
N/A
N/A
By default, the SA message
cache mechanism is enabled.
The device caches the (S, G)
entries contained in the received
SA messages.
The default setting is
4294967295.