Skip to main content
pradeepb
Staff
Staff
December 22, 2020

Technical Tip: How to bring the interface status up from CLI

  • December 22, 2020
  • 0 replies
  • 26404 views

Description


In some cases, it is possible to unknowingly bring down the interface status from GUI and loose access to FortiGate along with network traffic drops on that interface.
In scenarios where that interface is the only source for accessing the unit, it is necessary to access unit CLI using the console port and bring the interface up.

This article describes how to bring the interface status up from CLI.

 

Scope

 

FortiGate.

Solution


Commands to enable interface status up:

 

config system interface
    edit <interface name>
        set status up
    end

 

The same commands can be used to change the interface status of an individual interface in a group as well :

 

Port 5 status is disabled. It is in a LAGPort 5 status is disabled. It is in a LAG

 

Changing the status via CLIChanging the status via CLI

 

Related articles:

Technical Note: Serial cable pinouts for console access to Fortinet hardware products

Troubleshooting Tip: Cannot access the FortiGate web admin interface (GUI)