The peer sa-policy export command configures a policy for filtering (S, G) information in source active (SA) messages to be forwarded to a specified Multicast Source Discovery Protocol (MSDP) peer.
The undo peer sa-policy export 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 forwarded to 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 forwarded to a specified MSDP peer, run the peer sa-policy export command, implementing control over the receiving or sending 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 export command is run more than once, the latest configuration overrides the previous one.
Before forwarding an SA message to a specified peer, the peer sa-policy export acl command filters the SA message based on the export policy to determine whether to forward the SA message.<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 export acl 3100