< Home

peer sa-cache-maximum

Function

The peer sa-cache-maximum command limits the maximum number of (S, G) entries that are learnt from MSDP peers and cached by the SA cache.

The undo peer sa-cache-maximum command restores the maximum number of (S, G) entries that are learnt from MSDP peers and cached by the SA cache to the default configuration.

By default, the maximum number of (S, G) entries in the SA cache is 8192.

Format

peer peer-address sa-cache-maximum sa-limit

undo peer peer-address sa-cache-maximum

Parameters

Parameter Description Value

peer-address

Specifies the address of an MSDP peer.

The address is in dotted decimal notation.

sa-limit

Specifies the maximum number of (S, G) entries that are allowed to cache.

The number is an integer that ranges from 1 to 4294967295.

Views

MSDP view of the public network instance or MSDP view of the VPN instance

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

You are recommended to perform this configuration on all MSDP peers on the network vulnerable to DoS attacks.

Prerequisites

MSDP peers have been configured using the peer connect-interface (MSDP) command.

Configuration Impact

The total number of (S, G) entries that can be stored in SA-Cache is limited by the specification of the SA-Cache. At present, for an entire switch, the maximum number of (S, G) entries in SA-Cache is 8192.

For the (S, G) entries of a single peer:

  • If the number of (S, G) entries is not set or exceeds 8192, the maximum number of (S, G) entries in the SA cache can be set to 8192.

  • If the number of (S, G) entries is smaller than 8192, the maximum number of (S, G) entries in the SA cache is the configured value. The redundant (S, G) entries are not cached or advertised to PIM-SM but can be forwarded through SA messages.

Example

# Set the maximum number of (S, G) entries that are learnt from MSDP peers and cached by the SA cache to 100 when the switch receives an SA message from MSDP peer 10.10.7.6.

<HUAWEI> system-view
[HUAWEI] multicast routing-enable
[HUAWEI] msdp
[HUAWEI-msdp] peer 10.10.7.6 connect-interface vlanif 100 
[HUAWEI-msdp] cache-sa-enable 
[HUAWEI-msdp] peer 10.10.7.6 sa-cache-maximum 100
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >