< Home

timer spt-switch (IPv4)

Function

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 rendezvous point tree (RPT) to the shortest path tree (SPT).

The undo timer spt-switch command restores the default value of the interval.

Format

timer spt-switch interval

undo timer spt-switch

Parameters

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.

Views

PIM view

Default Level

2: Configuration level

Usage Guidelines

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.

The command is applicable to PIM-SM networks.

Before using the command, you must use the spt-switch-threshold command to configure the threshold of the switchover rate. Otherwise, checking the interval is pointless.

Example

# Set the interval for checking the rate for transmitting the multicast data before the switchover from RPT to SPT to 30 seconds.

<sysname> system-view
[sysname] multicast routing-enable
[sysname] pim
[sysname-pim] timer spt-switch 30
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic