R0106-HP MSR Router Series IP Multicast Command Reference(V7)
128
If you execute this command multiple times, the most recent configuration takes effect.
Examples
# On the public network, configure a multicast data filter to accept the multicast packets from the
multicast source 10.10.1.2 and discard the multicast packets from the multicast source 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 (PIM view)
Use spt-switch-threshold to configure the criteria for triggering a switchover to SPT.
Use undo spt-switch-threshold to restore the default.
Syntax
spt-switch-threshold { traffic-rate | immediacy | infinity } [ group-policy acl-number ]
undo spt-switch-threshold [ traffic-rate | immediacy | infinity ] [ group-policy acl-number ]
Default
The device immediately triggers a switchover to SPT after receiving the first multicast packet.
Views
PIM view
Predefined user roles
network-admin
Parameters
traffic-rate: Specifies a traffic rate threshold for triggering a switchover to SPT, in the range of 1 to
4194304 kbps. This argument is not supported on a switch.
immediacy: Triggers a switchover to SPT immediately.
infinity: Disables switchover to SPT.
group-policy acl-number: Specifies an IPv4 basic ACL number in the range of 2000 to 2999. The
configuration applies to the multicast groups that the ACL permits. The configuration applies to all
multicast groups when any of the following conditions exists:
• You do not specify any ACL.
• The specified ACL does not exist.
• The specified ACL does not have any valid rules.
Usage guidelines
CAUTION:
If the device is an RP, disablin
g
switchover to SPT mi
g
ht cause multicast traffic forwardin
g
failures on the
source-side DR. When disabling switchover to SPT, be sure you fully understand its impact on your
network.