< Home

cache-sa-enable

Function

The cache-sa-enable command enables Source Active (SA) cache.

The cache-sa-disable command disables SA cache.

The undo cache-sa-enable command disables SA cache.

Format

cache-sa-enable

cache-sa-disable

undo cache-sa-enable

Parameters

None

Views

MSDP view

Default Level

2: Configuration level

Usage Guidelines

By default, the FW is enabled with SA cache.

Usage Scenario

The FW enabled with the SA cache function locally saves (S, G) information carried in received SA messages. When the FW receives requests for receiving multicast data, it directly obtains (S, G) information from the SA cache.

Prerequisites

The multicast routing-enable command has been run in the public network instance view or the VPN instance view.

Configuration Impact

When a Rendezvous Point (RP) receives a new (*, G) Join message, the following situations occur:

  • If the RP is enabled with SA cache, the RP searches the SA cache:
    • If the related (S, G) entry exists in the SA cache, the RP directly joins the SPT with S as root.

    • If no related (S, G) entry exists in the SA cache, the RP does not process the Join message.

  • If SA cache is disabled, the following situations occur:

    • If the SA request is configured, the RP sends SA request messages to a specified Multicast Source Discovery Protocol (MSDP) peer and waits for the response.

    • If the SA request is not configured, the RP waits for the SA message to be sent by the MSDP peer in the next period.

Precautions

The cache-sa-disable and undo cache-sa-enable commands' configurations are both undo cache-sa-enable in the configuration file.

Example

# Disable SA cache.

<sysname> system-view
[sysname] multicast routing-enable
[sysname] msdp
[sysname-msdp] undo cache-sa-enable

# Disable SA cache.

<sysname> system-view
[sysname] multicast routing-enable
[sysname] msdp
[sysname-msdp] cache-sa-disable
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
Next topic >