API Guide
使用 SPF 限制在网络不稳定期间延迟 SPF 计算。在 OSPF 网络中,拓扑更改事件会在开始时间后触发 SPF
计算。当开始计时器完成时,保留时间可能会延迟另一次 SPF 计算。当挂起计时器正在运行时:
• 每次发生拓扑更改时,SPF 计算会延迟两倍配置的保留时间,最多可达最长等待时间。
• 如果未发生任何拓扑更改,将执行 SPF 计算,并且保留计时器将重置为其配置的值。
如果未指定开始时间、保存时间或最大等待值,则将使用默认值。此命令的 no 版本会移除已配置的 SPF 计
时器,并在 OSPF 实例中禁用 SPF 限制。
示例
OS10(config)# router ospf 100
OS10(config-router-ospf-100)# timers spf 1200 2300 3400
OS10(config-router-ospf-100)# do show ip ospf
Routing Process ospf 100 with ID 12.1.1.1
Supports only single TOS (TOS0) routes
It is Flooding according to RFC 2328
SPF schedule delay 1200 msecs, Hold time between two SPFs 2300 msecs
Convergence Level 0
Min LSA origination 0 msec, Min LSA arrival 1000 msec
Min LSA hold time 5000 msec, Max LSA wait time 5000 msec
Number of area in this router is 1, normal 1 stub 0 nssa 0
Area (0.0.0.1)
Number of interface in this area is 1
SPF algorithm executed 1 times
支持的版本
10.4.0E(R1) or later
Identifier GUID-9260AC01-B4E5-413E-8260-0EB66C384836
Version 6
Status Translation approved
timers throttle lsa all
配置 LSA 传输间隔。
语法
timers lsa all [start-interval | hold-interval | max-interval]
参数
• start-interval — 设置初始发送和重新发送相同 LSA 的时间间隔(以毫秒为单位),从 0 到
600000。
• hold-interval — 设置发送相同 LSA 的下一个间隔(以毫秒为单位)。这是在尝试开始时间间隔后发
送相同 LSA 之间的时间,从 1 到 600,000。
• max-interval — 设置系统在发送 LSA 之前等待的最长时间(以毫秒为单位),从 1 到 600000。
。
默认
• 开始-间隔 — 0 毫秒
• 保留-间隔 — 5000 毫秒
• 最大-间隔 — 5000 毫秒
命令模式
ROUTER-OSPF
使用情况信息
此命令的 no 版本将移除 LSA 传输计时器。
示例
OS10(config)# router ospf 10
OS10(conf-router-ospf-10)# timers throttle lsa all 100 300 1000
支持的版本
10.2.0E or later
Identifier GUID-1EE30C4C-F2C5-49A9-9EF3-C6B38AE0696A
Version 4
Status Translation approved
OSPFv3
OSPFv3 是支持 IPv6 单播地址系列 (AF) 的 IPv6 链路状态路由协议。OSPFv3 默认已禁用。您必须至少配置一个接口(物理或环
回)。当为一个或多个接口启用 OSPFv3 时,OSPF 进程将自动启动。除 area 0 以外的任何区域都可以为其分配任何数字 ID。
670 第 3 层