Command Reference Guide
134 ● source-policy 3Com Router 5000 Family and Router 6000 Family
Command Reference
source-policy
Purpose Use the source-policy command to configure a router to filter the multicast data
packet received according to source (group) address.
Use the undo source-policy command to remove the configuration.
Syntax source-policy acl-number
undo source-policy
Parameters acl-number
Number of basic or advanced ACL. Valid values are
2000 to 3999.
Example Configure to accept the multicast data packets with source address of 10.10.1.2 and
discard the multicast data packets with source address of 10.10.1.1.
[3Com] multicast routing-enable
[3Com] pim
[3Com-pim] source-policy 2001
[3Com-pim] quit
[3Com] acl number 2001
[3Com-acl-basic-2001] rule permit source 10.10.1.2 0
[3Com-acl-basic-2001] rule deny source 10.10.1.1 0
View This command can be used in the following views:
■ PIM view
Description This command filters not only multicast data, but also the multicast data encapsulated
in register packet.
If source address filtering and basic ACL are configured, all the multicast data packets
received will be matched with source addresses. The packet which does not pass the
matching will be discarded.
If source address filtering and advanced ACL are configured, all the multicast data
packets received will be matched with source and group addresses. The packet which
does not pass the matching will be discarded.
If this command is executed repeatedly, the new configuration will overwrite the
previous one.