The import-source command configures a policy for filtering active sources that can be advertised using source active (SA) messages.
The undo import-source command restores the default configuration.
By default, all active sources can be advertised using SA messages.
Parameter | Description | Value |
---|---|---|
acl-number |
Specifies the number of a basic ACL or an advanced ACL. |
The value is an integer ranging from 2000 to 3999.
|
acl-name |
Specifies the name of a named ACL. |
The value is a string of 1 to 64 case-sensitive characters, spaces not supported. |
Usage Scenario
After the import-source command is run, Multicast Source Discovery Protocol (MSDP) filters (S, G) forwarding entries to be advertised based on source addresses when creating SA messages, implementing control over the transmission of multicast source information.
Prerequisites
The multicast routing function has been enabled using the multicast routing-enable command in the public network instance view or VPN instance view.
Configuration Impact
If the import-source command is run more than once, the latest configuration overrides the previous one.
<HUAWEI> system-view [~HUAWEI] acl number 3101 [*HUAWEI-acl4-advance-3101] rule permit ip source 10.10.0.0 0.0.255.255 destination 225.1.0.0 0.0.255.255 [*HUAWEI-acl4-advance-3101] quit [*HUAWEI] multicast routing-enable [*HUAWEI] msdp [*HUAWEI-msdp] import-source acl 3101