<Sysname> system-view
[Sysname] interface vfc 1
[Sysname-Vfc1] fspf silent vsan 4
fspf spf-hold-time
Use fspf spf-hold-time to configure the shortest SPF calculation interval in a VSAN.
Use undo fspf spf-hold-time to restore the default.
Syntax
fspf spf-hold-time value
undo fspf spf-hold-time
Default
The shortest SPF calculation interval is 0 seconds.
Views
VSAN view
Predefined user roles
network-admin
Parameters
value: Specifies the shortest SPF calculation interval in the range of 0 to 60 seconds.
Usage guidelines
When the LSDB changes, SPF calculations occur, which consume CPU resources. To prevent frequent SPF
calculations from consuming too many CPU resources, you can configure the shortest SPF calculation
interval.
The shortest SPF calculation interval defines the minimum interval between two consecutive SPF
calculations. Setting a small value means that FSPF responds quickly to fabric changes by recalculating
routes in a VSAN. A small value consumes more CPU resources.
Examples
# Configure the shortest SPF calculation interval as 10 seconds in VSAN 2.
<Sysname> system-view
[Sysname] vsan 2
[Sysname-vsan2] fspf spf-hold-time 10
reset fspf counters
Use reset fspf counters to clear FSPF statistics.
Syntax
reset fspf counters [ vsan vsan-id ]
Views
User view
96