r1(config)#do show ip ospf
Routing Process "ospf 1" with ID 1.1.1.1
Start time: 00:19:59.880, Time elapsed: 00:00:10.552
Supports only single TOS(TOS0) routes
Supports opaque LSA
Supports Link-local Signaling (LLS)
Supports area transit capability
Supports NSSA (compatible with RFC 3101)
Event-log enabled, Maximum number of events: 1000, Mode: cyclic
Router is not originating router-LSAs with maximum metric
Initial SPF schedule delay 5000 msecs
Minimum hold time between two consecutive SPFs 10000 msecs
Routing Process "ospf 1" with ID 1.1.1.1
Start time: 00:19:59.880, Time elapsed: 00:00:10.552
Supports only single TOS(TOS0) routes
Supports opaque LSA
Supports Link-local Signaling (LLS)
Supports area transit capability
Supports NSSA (compatible with RFC 3101)
Event-log enabled, Maximum number of events: 1000, Mode: cyclic
Router is not originating router-LSAs with maximum metric
Initial SPF schedule delay 5000 msecs
Minimum hold time between two consecutive SPFs 10000 msecs
Maximum wait time between two consecutive SPFs 10000 msecs
----<...>------
配置命令: ospf的router config模式下,timers throttle spf <1> <2> <3>
第一个数值表示第一次拓扑计算需要等待的延迟,之后至少等待数值2的时间后,才会进行第二次拓扑计算。如果在等待时间内拓扑进行频繁变更,那么每个下一次的spf计算等待的延迟时间会翻倍。但这个数值增长最大不能超过第三个数值。这些数值保证了网络频繁变更时不会进行频繁的spf计算,保护了CPU资源。