The peer sa-policy import command configures a policy for filtering (S, G) information in source active (SA) messages to be received from a specified Multicast Source Discovery Protocol (MSDP) peer.
The undo peer sa-policy import command restores the default configuration.
By default, (S, G) information in SA messages is not filtered, so that all (S, G) entry information can be received from an MSDP peer.
Parameter | Description | Value |
---|---|---|
peer-address |
Specifies the address of an MSDP peer. |
The value is in dotted decimal notation. |
acl advanced-acl-number |
Specifies the number of an advanced ACL. |
The value is an integer that ranges from 3000 to 3999. If this parameter is not specified, all the SA messages that carry the (S, G) entry are filtered out. |
acl acl-name |
Specifies the name of a named ACL. |
The value is a string of 1 to 64 case-sensitive characters, spaces not supported. The value must start with a letter (a to z or A to Z). |
Usage Scenario
To filter (S, G) information in SA messages to be received from or forwarded to a specified MSDP peer, run the peer sa-policy import command, implementing control over the receiving of multicast source information.
In addition, you can run the import-source command on an MSDP peer to specify (S, G) information that can be advertised by SA messages.Prerequisites
The multicast routing function has been enabled using the multicast routing-enable command in the public network instance view or VPN instance view.
MSDP peers have been configured.Configuration Impact
If the peer sa-policy import command is run more than once, the latest configuration overrides the previous one.
<HUAWEI> system-view [~HUAWEI] acl number 3100 [*HUAWEI-acl4-advance-3100] rule permit ip source 10.15.0.0 0.0.255.255 destination 225.1.0.0 0.0.255.255 [*HUAWEI-acl4-advance-3100] quit [*HUAWEI] multicast routing-enable [*HUAWEI] msdp [*HUAWEI-msdp] peer 10.10.7.6 connect-interface GigabitEthernet 0/1/0 [*HUAWEI-msdp] peer 10.10.7.6 sa-policy import acl 3100