The peer sa-request-policy command configures the filtering policy to respond to the SA Request messages sent by a specified MSDP peer. Once the SA Request message passes the filtering, the switch responds to the SA message immediately.
The undo peer sa-request-policy command restores the default configuration.
By default, the switch responds to all SA request messages sent by all MSDP peers.
peer peer-address sa-request-policy [ acl basic-acl-number ]
undo peer peer-address sa-request-policy
Parameter | Description | Value |
---|---|---|
peer-address | Specifies the address of MSDP peer that sends the SA Request message. | The address is in dotted decimal notation. |
acl | Indicates an ACL. If the ACL is not specified, all SA Requests messages of the MSDP peer are ignored. If the ACL is specified, only the SA Request messages of the group that meets the requirements of the ACL are processed. |
- |
basic-acl-number | Indicates the number of the basic ACL. | The number is an integer that ranges from 2000 to 2999. |
Usage Scenario
When a local MSDP peer receives SA Request messages, the MSDP peer responds to all SA Request messages by default. To configure the switch to respond only to certain SA Request messages, configure the peer sa-request-policy command.
Prerequisites
MSDP peers have been configured using the peer connect-interface (MSDP) command.
Precautions
In the basic ACL view, you can set the multicast group address range of SA messages that are forwarded by the MSDP peer by specifying the source parameter in the rule command.
# Configure the ACL for filtering SA request messages sent by the MSDP peer 10.58.6.5: only SA request messages bound for the group whose address is 225.1.1.0/24 are received.
<HUAWEI> system-view [HUAWEI] acl number 2001 [HUAWEI-acl-basic-2001] rule permit source 225.1.1.0 0.0.0.255 [HUAWEI-acl-basic-2001] quit [HUAWEI] multicast routing-enable [HUAWEI] msdp [HUAWEI-msdp] peer 10.58.6.5 connect-interface vlanif 100 [HUAWEI-msdp] peer 10.58.6.5 sa-request-policy acl 2001