The timer spt-switch command sets the interval for checking whether the rate for transmitting multicast data exceeds the threshold before the switchover from the RPT to the SPT.
The undo timer spt-switch command restores the default value of the interval.
By default, the interval for checking whether the rate for transmitting multicast data exceeds the threshold before the switchover from the RPT to the SPT is 15 seconds.
Parameter | Description | Value |
---|---|---|
interval |
Specifies the interval for checking whether the rate for transmitting multicast data exceeds the threshold before the switchover from RPT to SPT. |
The value is an integer that ranges from 15 to 65535, in seconds. |
Usage Scenario
You can run the timer spt-switch command to set the interval for checking whether the rate for transmitting multicast data exceeds the threshold.
Prerequisites
IPv6 multicast routing has been enabled using the multicast ipv6 routing-enable command in the system view.
Precautions
This command is valid for only PIM-SM (IPv6).
Before running this command, you must set the threshold for SPT switchover by using the spt-switch-threshold (IPv6) command; otherwise, the timer spt-switch command takes no effect.