159
sa-limit
: Specifies the maximum number of (S, G) entries that the device can cache, in the range of 1 to
8192.
Description
Use
peer sa-cache-maximum
to configure the maximum number of (S, G) entries learned from the
specified MSDP peer that the device can cache.
Use
undo
peer sa-cache-maximum
to restore the default.
By default, the device can cache up to 8192 (S, G) entries learned from MSDP peers.
Related commands:
display msdp brief
,
display msdp peer-status
, and
display msdp sa-count
.
Examples
# Enable the device to cache a maximum of 100 (S, G) entries learned from its MSDP peer 125.10.7.6.
<Sysname> system-view
[Sysname] msdp
[Sysname-msdp] peer 125.10.7.6 sa-cache-maximum 100
peer sa-policy
Syntax
peer
peer-address
sa-policy
{
import
|
export
} [
acl
acl-number
]
undo peer
peer-address
sa-policy
{
import
|
export
}
View
MSDP view
Default level
2: System level
Parameters
import
: Filters SA messages from the specified MSDP peer.
export
: Filters SA messages that are forwarded to the specified MSDP peer.
peer-address
: Specifies an MSDP peer address.
acl-number
: Specifies an advanced ACL number, in the range of 3000 to 3999. If you do not provide an
ACL number, all SA messages that carry (S, G) entries are filtered out.
Description
Use
peer sa-policy
to configure a filtering rule for received or forwarded SA messages.
Use
undo
peer sa-policy
to restore the default.
By default, the switch does not filter SA messages that are received or that will be forwarded. Namely,
all SA messages are accepted and forwarded.
In addition to controlling SA message by using this command, you can also use the
import-source
command to configure a filtering rule for creating SA messages.
Related commands:
display msdp peer-status
and
import-source
.
Examples
# Configure a filtering rule so that SA messages are forwarded to the MSDP peer 125.10.7.6 only if they
match ACL 3100.