首页/网络/网络设备配置速查/OSPF Hello / Dead 定时器修改与一致性要求
本包目录(508 条)
设备开局与基础配置61 条接口与链路73 条VLAN 与二层交换60 条
路由(静态 / OSPF)62 条
ACL 与安全65 条NAT 与出口31 条DHCP 与地址服务32 条堆叠、高可用与备份升级52 条设备排障72 条

OSPF Hello / Dead 定时器修改与一致性要求

Hello 周期与 Dead 超时决定邻居保活:默认 10s/40s,Dead 默认等于 4 倍 Hello;改任一侧都必须两侧同步改,否则邻居必掉。

网络设备配置速查网络更新于 2026-10-12
场景加速故障检测、与对端厂商对接调参
适用全部三层设备
命令族ospf timer hello/dead / ip ospf hello-interval/dead-interval / ospf timer hello/dead

华为 VRP

华为 VRP
[Huawei-GigabitEthernet0/0/1] ospf timer hello 5
[Huawei-GigabitEthernet0/0/1] ospf timer dead 20
[Huawei-GigabitEthernet0/0/1] display this   ! 核对实际生效值

思科 IOS

思科 IOS
SW-CORE-01(config-if)# ip ospf hello-interval 5
SW-CORE-01(config-if)# ip ospf dead-interval 20
SW-CORE-01# show ip ospf interface gi0/1 | include Timer

H3C Comware

H3C Comware
[H3C-GigabitEthernet1/0/1] ospf timer hello 5
[H3C-GigabitEthernet1/0/1] ospf timer dead 20
[H3C-GigabitEthernet1/0/1] display this
默认值三家一致:Hello 10s、Dead 40s(Dead = 4×Hello)。Dead 不能小于 Hello。曾显式配过 Dead 的设备改动 Hello 后,以 display/show 实际值为准——改完两端都核一遍再收工。

易错点

  • 只改一侧:定时器不一致邻居起不来或反复超时
  • Dead 配得比 Hello 小:接口直接起不了邻居

数据来源与参考

  • 华为 OSPF 定时器配置
  • Cisco ip ospf hello-interval
  • H3C OSPF 定时器配置

相关工具

​‌‌​​‌​​​‌‌​‌‌‌‌​‌‌​​​‌‌​‌‌‌​​‌‌​​‌​‌‌‌​​‌‌‌​​​‌​‌‌​‌​​‌​‌‌‌​​​‌​‌‌​‌​​‌​‌‌​​​‌‌​‌‌‌​‌​​​‌‌​‌‌‌‌​​‌​‌‌‌​​‌‌​​​‌‌​‌‌​‌‌‌‌​‌‌​‌‌​‌