The timer spt-switch command sets the interval for checking whether the rate at which multicast data is transmitted exceeds the threshold that can trigger data switching from a rendezvous point tree (RPT) to a shortest path tree (SPT).
The undo timer spt-switch command restores the default value.
By default, the interval is 15 seconds.
Usage Scenario
Before using the timer spt-switch command, you must use the spt-switch-threshold command to set the rate threshold that can trigger data switching from an RPT to an SPT. Otherwise, running the timer spt-switch command is meaningless.
Prerequisites
The multicast ipv6 routing-enable command is run in the public network instance view.
Configuration Impact
If the timer spt-switch command is run several times, the latest configuration overrides the previous one.
<HUAWEI> system-view [~HUAWEI] multicast ipv6 routing-enable [*HUAWEI] pim-ipv6 [*HUAWEI-pim6] timer spt-switch 30