Command Manual – Routing Protocol 
Quidway S3900 Series Ethernet Switches-Release 1510  Chapter 3  OSPF Configuration Commands
 
Huawei Technologies Proprietary 
3-53 
For detailed configuration of SNMP TRAP, refer to section "System Management" in 
this manual. 
Example 
# Enable the TRAP function for OSPF process 100. 
<Quidway> system-view 
System View: return to User View with Ctrl+Z. 
[Quidway] snmp-agent trap enable ospf 100 
3.1.51  spf-schedule-interval 
Syntax 
spf-schedule-interval interval 
undo spf-schedule-interval 
View 
OSPF view 
Parameter 
interval: SPF calculation interval of OSPF, in seconds. It ranges from 1 to 10 and 
defaults to 5.  
Description 
Use the spf-schedule-interval command to configure the route calculation interval of 
OSPF.  
Use the undo spf-schedule-interval command to restore the default setting.  
According to the Link State Database (LSDB), the router running OSPF can calculate 
the shortest path tree taking itself as the root and determine the next hop to the 
destination network according to the shortest path tree. Adjusting SPF calculation 
interval restrains frequent network changes, which may occupy too many bandwidth 
resources and router resources. 
Example 
# Set the OSPF route calculation interval of Quidway to 6 seconds.  
<Quidway> system-view 
System View: return to User View with Ctrl+Z. 
[Quidway] ospf 1 
[Quidway-ospf-1] spf-schedule-interval 6