source-policy (PIM view)
Syntax
View
Parameter
Description
Example
spt-switch-threshold (PIM view)
Syntax
View
Parameter
source-policy acl-number
undo source-policy
Public instance PIM view, VPN instance PIM view
acl-number: Basic or advanced ACL number, in the range of 2000 to 3999.
Use the
source-policy
Use the
undo source-policy
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.
■
# 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 { traffic-rate | infinity } [ group-policy acl-number [ order
order-value ] ]
undo spt-switch-threshold [ group-policy acl-number ]
Public instance PIM view, VPN instance PIM view
traffic-rate: Traffic rate threshold that will trigger RPT-to-SPT switchover, in units of
kbps. The effective range is 1 to 4,194,304.
command to configure a multicast data filter.
command to remove the configured multicast data
1423