spt-switch-threshold (PIM view)

Use spt-switch-threshold to configure a criterion for an RPT-to-SPT switchover.

Use undo spt-switch-threshold to remove criteria for RPT-to-SPT switchovers.

Syntax

spt-switch-threshold { immediacy | infinity } [ group-policy ipv4-acl-number ]

undo spt-switch-threshold [ immediacy | infinity ] [ group-policy ipv4-acl-number ]

Default

The first multicast packet triggers an RPT-to-STP switchover.

Views

PIM view

Predefined user roles

network-admin

mdc-admin

Parameters

immediacy: Triggers an RPT-to-STP switchover immediately.

infinity: Disables RPT-to-STP switchover.

group-policy ipv4-acl-number: Specifies an IPv4 basic ACL number in the range of 2000 to 2999. If you specify an ACL, the configuration applies to the multicast groups that the ACL permits. The configuration applies to all multicast groups when one of the following conditions exists:

Usage guidelines


[CAUTION: ]

CAUTION:

If the device is an RP, disabling RPT-to-STP switchover might cause multicast traffic forwarding failures on the source-side DR. When disabling RPT-to-SPT switchover, make sure you fully understand its impact on your network.


When you configure a rule in the IPv4 basic ACL, follow these restrictions and guidelines:

Examples

# Disable RPT-to-STP switchover on a receiver-side DR on the public network.

<Sysname> system-view
[Sysname] pim
[Sysname-pim] spt-switch-threshold infinity