Description
Related command:
Example
peer sa-policy
Syntax
View
Parameter
Description
Related command:
Example
Use the
peer sa-cache-maximum
number of SA messages that the device can cache.
Use the
undo peer sa-cache-maximum
setting.
By default, the device can cache a maximum of 8,192 SA messages.
display msdp sa-count, display msdp peer-status, and display msdp brief.
# In the public instance allow the device to cache a maximum of 100 SA messages
from the MSDP peer 125.10.7.6.
<Sysname> system-view
[Sysname] msdp
[Sysname-msdp] peer 125.10.7.6 sa-cache-maximum 100
peer peer-address sa-policy { import | export } [ acl acl-number ]
undo peer peer-address sa-policy { import | export }
Public instance MSDP view, VPN instance MSDP view
import: Specifies to filter SA messages from the specified MSDP peer.
export: Specifies to filter SA messages forwarded to the specified MSDP peer.
peer-address: MSDP peer address.
acl-number: Advanced ACL number, in the range of 3000 to 3999. If you do not
provide an ACL number, all SA messages carrying (S, G) entries will be filtered off.
Use the
peer sa-policy
forwarding SA messages.
Use the
undo peer sa-policy
By default, SA messages received or to be forwarded are not filtered, namely, all
SA messages are accepted or forwarded.
In addition to controlling SA message receiving and forwarding by using this
command, you can also configure a filtering rule for creating SA messages using
the import-source command.
display msdp peer-status and import-source.
# Configure a filtering rule in the public instance so that SA messages will be
forwarded to MSDP peer 125.10.7.6 only if they match ACL 3100.
command to configure the maximum
command to restore the default
command to configure a filtering rule for receiving or
command to restore the default setting.
1377