171
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
Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Enter MSDP view.
msdp
[
vpn-instance
vpn-instance-name
]
N/A
3.
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.
4.
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.
Enabling MSDP NSR
This command enables MSDP to back up protocol state information and data, such as MSDP peer
and remote multicast source information, from the active process to standby processes. A standby
process seamlessly takes over when the active process fails. Use this feature to avoid forwarding
interruption for MSDP when an active/standby switchover occurs.
To enable MSDP NSR:
Step
Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Enable MSDP NSR.
msdp non-stop-routing
By default, MSDP NSR is
disabled.
Displaying and maintaining MSDP
Execute
display
commands in any view and
reset
commands in user view.
Task
Command
Display brief information about MSDP peers.
display msdp
[
vpn-instance vpn-instance-name
]
brief
[
state
{
connect
|
disabled
|
established
|