3com S7906E Guide De Référence

Page de 2327
 
1-48 
View 
Public instance PIM view, VPN instance PIM view 
Default Level 
2: System level 
Parameters 
acl-number: Basic or advanced ACL number, in the range of 2000 to 3999. 
Description 
Use the source-policy command to configure a multicast data filter.  
Use the undo source-policy command to remove the configured multicast data filter.  
By default, no multicast data filter is configured.  
Note that:  
If you specify a basic ACL, the device filters all the received multicast packets based on the source 
address, and discards packets that fail the source address match.  
If you specify an advanced ACL, the device filters all the received multicast packets based on the 
source and group addresses, and discards packets that fail the match.  
If this command is executed repeatedly, the last configuration will take effect.  
Examples 
# In the public instance configure the router to accept multicast packets originated from 10.10.1.2 and 
discard multicast packets originated from 10.10.1.1.  
<Sysname> system-view 
[Sysname] acl number 2000 
[Sysname-acl-basic-2000] rule permit source 10.10.1.2 0 
[Sysname-acl-basic-2000] rule deny source 10.10.1.1 0 
[Sysname-acl-basic-2000] quit 
[Sysname] pim 
[Sysname-pim] source-policy 2000 
spt-switch-threshold infinity (PIM view) 
Syntax 
spt-switch-threshold infinity [ group-policy acl-number order order-value ] ] 
undo spt-switch-threshold [ group-policy acl-number 
View 
Public instance PIM view, VPN instance PIM view 
Default Level 
2: System level 
Parameters 
group-policy acl-number: Specifies a basic ACL, in the range of 2000 to 2999. If you do not include this 
option in your command, the configuration will apply on all multicast groups.