过期 License 强制升级
过期 License 强制升级
触发条件
在 7.4.8、7.6.4、8.0.0 及以后版本,以下任一情况都会触发强制自动升级(FortiGate 所有型号),不受有效 License 自动升级设置的影响:
过期的 Firmware & General Updates 合同:若设备未绑定有效的 FMWR(Firmware & General Updates)合同或该合同已过期,系统将强制升级至最新补丁版本(主次版本号保持不变,例如 7.4.X 会升级到 7.4 最新的版本,而不会升级到 7.6.X)。
固件版本支持周期终止:当设备固件达到官方工程支持终止日期(End of Engineering Support,简称 EOES,该时间可以访问 https://support.fortinet.com/welcome/#/lifecycle 查询)时,系统将强制升级至最新版本(主次版本号保持不变,例如 7.4.X 会升级到 7.4 最新的版本,而不会升级到 7.6.X)。
提示
注意 EOES 时间并非 EOS(End of Support)时间,通常比 EOS 时间要早:
- EOES 指 Fortinet 不再对该版本做代码更新(除非是 critical 级别的问题)。
- EOS 指 Fortinet 不再对该版本提供技术支持。
- 关于产品生命周期的更多信息请参考系统管理 → 固件与配置管理 → 固件版本管理 → 产品生命周期章节。
相关信息
2026-03-31,Fortinet 发布公告 CSB-260330-1:FortiOS、FortiManager、FortiAnalyzer 的 7.4 与 7.6 版本支持生命周期延长 12 个月,EOES 与 EOS 日期整体顺延 1 年。
因此,7.4.x/7.6.x 分支基于 EOES 触发的强制升级时间点也会相应后移;请以 https://support.fortinet.com/welcome/#/lifecycle 页面显示时间为准。
如果设备已经加入了 FortiManager 管理,强制升级机制会被禁用。
查看强制自动升级的状态
查看当前强制自动升级的状态,以下为 7.6.4 已安排强制升级至 7.6.6 的状态输出示意:
# execute auto-upgrade status Scheduled push image upgrade: no Scheduled Config Restore: no Scheduled Script Restore: no Automatic image upgrade: Enabled (Forced). New image information may be fetched. Next new image info fetch scheduled at (local time) Wed Oct 21 18:15:51 2026 New image installation will be forced. New image 7.6.6b3652(07006000FIMG0032606006) installation is scheduled to: start at Sat Oct 24 17:49:55 2026 end by Sat Oct 24 20:00:00 2026 Last new image info fetch executed at (local time) Wed Oct 21 15:39:21 2026提示
execute auto-upgrade status与diagnose test application forticldd 13可查看相同的自动升级状态。Automatic image upgrade: Enabled (Forced).和New image installation will be forced.表示已安排强制自动升级,即使有效 License 自动升级中介绍的自动升级功能已完全关闭。start at和end by表示计划安装的时间窗口,Next new image info fetch scheduled at表示下一次检查新固件的时间。- 强制升级也会遵循官方推荐的升级路径。例如,演示设备运行 7.6.4,演示时 7.6 分支的最新版本为 7.6.7,推荐升级路径为 7.6.4 → 7.6.6 → 7.6.7。因此,设备需要分两次完成强制升级:先升级至 7.6.6,完成后再安排升级至 7.6.7 的计划。
GUI 的“固件和注册”页面会显示升级计划,即使自动升级功能已关闭。

避免强制升级的 Workaround
有两种 Workaround 可以避免强制升级:
将设备加入 FortiManager 管理(推荐)。随后再次查看自动升级状态,
Automatic image upgrade已经变为Disabled状态。config system central-management set type fortimanager end The Serial Number for FortiManager is not entered. In order to verify identity of FortiManager serial number is needed. If serial number is not set, connection will be set as unverified. Do you want to try to connect now? (y/n)n # execute auto-upgrade status Scheduled push image upgrade: no Scheduled Config Restore: no Scheduled Script Restore: no Automatic image upgrade: Disabled. New image information is not fetched.提示
配置中不需要填写实际的 FortiManager IP 地址。只要启用了 FortiManager 管理类型,强制升级机制就会被禁用。
在执行上述命令后,系统可能会弹出确认信息,请键入
n以提交配置。启用
fortimanager模式并不会自动开放防火墙的入站端口。接口的访问权限是由接口下的fgfm选项独立控制的。如果实际环境中并不使用 FortiManager,建议检查并确保所有网络接口上的fgfm选项已被禁用(该选项仅用于 FortiManager 主动连接 FortiGate 的模式,如果是 FortiGate 主动连接 FortiManager,也不需要开启fgfm)。FortiGate # show sys int | grep fgfm -f config system interface edit "wan1" set vdom "root" set ip 192.168.100.99 255.255.255.0 set allowaccess ping https ssh http fgfm <--- set type physical set snmp-index 3 next end config system interface edit wan1 unselect allowaccess fgfm next end
或将设备加入 Security Fabric 中。
延迟强制升级
强制自动升级可以手动延迟(一周),但无法取消。
提示
一旦新版本升级被确认,升级必须在 14 天内完成(此时将无法延期),无论执行几次手动延迟命令。
# execute auto-upgrade delay-installation Postponing auto-upgrade image installation to a week later... Auto-upgrade image installation rescheduled to: start at local time Sat Oct 31 02:43:58 2026 end by local time Sat Oct 31 05:00:00 2026