4-7
import-source
Syntax
import-source [ acl acl-number ]
undo import-source
View
MSDP view
Parameters
acl-number: Basic or advanced IP ACL number, ranging from 2000 to 3999. An ACL controls SA
message advertisement by filtering sources (with a basic ACL) and filtering sources or groups (with an
advanced ACL). If you do not specify this argument, no multicast source is advertised.
Description
Use the import-source command to specify the (S, G) entries in this domain that need to be advertised
when an MSDP peer creates an SA message.
Use the undo import-source command to cancel the configuration.
By default, an SA message advertise any (S, G) entries in the domain.
In addition, you can use the peer sa-policy import command or the peer sa-policy export command
to filter forwarded SA messages.
Examples
# Configure the MSDP peer to advertise only the (S, G) entries for multicast sources in the range of
10.10.0.0/16 and multicast groups in the range of 225.1.0.0/16 when creating an SA message.
<Sysname> system-view
System View: return to User View with Ctrl+Z.
[Sysname] acl number 3101
[Sysname-acl-adv-3101] rule permit ip source 10.10.0.0 0.0.255.255 destination 225.1.0.0
0.0.255.255
[Sysname-acl-adv-3101] quit
[Sysname] msdp
[Sysname-msdp] import-source acl 3101
msdp
Syntax
msdp
undo msdp
View
System view
Parameters
None