The import-source command prevents the information about active sources in a domain from being advertised when an SA message is created.
The undo import-source command restores the default configuration.
By default, the information about all active sources is advertised in a domain through SA messages.
Parameter | Description | Value |
---|---|---|
acl | Indicates the ACL that controls which source is to be advertised to a domain through an SA message and to which groups the SA message is to be advertised. If this parameter is not specified, multicast sources are not advertised. |
- |
acl-number | Specifies the number of the basic ACL or advanced ACL.
|
The value is an integer that ranges from 2000 to 3999. |
Usage Scenario
When the import-source command is used to filter (S, G) forwarding entries to be advertised in SA messages based on source addresses. This configuration controls transmission of information about multicast sources.
You can also run the peer sa-policy command to filter the SA messages to be forwarded.
Prerequisites
MSDP has been enabled using the msdp command.
Precautions
# Configure an MSDP peer to advertise the information about a specified active source when creating SA messages. The multicast source is on 10.10.0.0/16 network segment, and the multicast group address is 225.1.0.0/16.
<HUAWEI> system-view [HUAWEI] acl number 3101 [HUAWEI-acl-adv-3101] rule permit ip source 10.10.0.0 0.0.255.255 destination 225.1.0.0 0.0.255.255 [HUAWEI-acl-adv-3101] quit [HUAWEI] multicast routing-enable [HUAWEI] msdp [HUAWEI-msdp] import-source acl 3101