Created on 09-25-2024 09:37 PM Edited on 09-26-2024 11:40 PM By Jean-Philippe_P
Description | This article describes clearing an unexpected error when creating an mgmt interface through CLI. |
Scope | FortiGate, any FortiOS. |
Solution |
An error may occur when using the command 'set interface mgmt' to create a management interface:
(FG1)# config system interface (FG1)# edit 1 (1)# set interface "mgmt"
node_check_object fail! for interface mgmt
If the FortiGate is in HA mode:
(FG1)# config system ha (FG1)# config ha-system-interfaces (ha-mgmt-interfaces)# edit 1 (1)# set interface "mgmt"
This is due to an existing database entry with the same name, most likely a static route:
(FG1)#config router static set gateway-ip 10.22.8.1
This can be corrected by deleting the static route, provided it is not being used. To clear the static route, use the commands:
(FG1)# config router static
Then flush the routing cache with the command:
diagnose ip rtcache flush
The command to set the mgmt interface should work afterward. |
Great job @dparra !!!
Thank you for your contribution here! @dparra
@dparra Thank you so much for your valuable collaboration!!!
The Fortinet Security Fabric brings together the concepts of convergence and consolidation to provide comprehensive cybersecurity protection for all users, devices, and applications and across all network edges.
Copyright 2024 Fortinet, Inc. All Rights Reserved.