Skip to main content
dparra
Staff
Staff
Sep 26, 2024 4:37 AM UTC

Troubleshooting Tip: Error when creating mgmt interface

  • Apr 16, 2026 12:05 PM UTC
  • 3 replies
  • 2637 views
  • Translate All
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"


node_check_object fail! for interface mgmt

 

This is due to an existing database entry with the same name, most likely a static route:

 

(FG1)#config router static
(FG1)#show full-configuration
(FG1)# edit 1

      set gateway-ip 10.22.8.1
      set device "mgmt"
    next
end

 

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
(FG1)# delete 1
(FG1)# end

 

Then flush the routing cache with the command:

 

diagnose ip rtcache flush

 

The command to set the mgmt interface should work afterward.

3 replies

MaryBolano
Staff & Editor
Staff & Editor
Sep 26, 2024 6:26 PM UTC

Great job @dparra !!!

Translate
GILMENDO
Staff & Editor
Staff & Editor
Sep 26, 2024 8:34 PM UTC

Thank you for your contribution here! @dparra 

Translate
lpedraza
Staff
Staff
Sep 26, 2024 8:47 PM UTC

@dparra Thank you so much for your valuable collaboration!!! 

 

Translate
Risk and Resilience in the Age of AI. An OT Thought Leadership Summit for Houston's Critical Infrastructure Leaders. Date: Thursday, December 3, 2026. Time: 8:30 am - 1:30 pm (CT). Location: The Westin Houston, Memorial City | 945 Gessner Road, Houston, TX 77024