Hi everyone,
I’m working with FortiADC 7.6.4 and would like to ask about a couple of CLI commands. If anyone has information, I’d appreciate your help.
1. Checking interface link status
Is there a CLI command that shows the actual link status of an interface?
According to the documentation, the command
"get system interface"
only provides the enabled/disabled status, so I understand it does not show the real-time link state.
I also looked at the following command:
"diagnose hardware get deviceinfo nic-detail"
which appears to offer detailed NIC information, but it does not show the link status for aggregated (LAG) interfaces.
2. Deleting backup configuration files
I know that configuration backups can be created using:
"execute restore config disk <name>"
However, I haven’t been able to find a CLI command that deletes configuration backup files stored on disk.
Is there a way to remove these backup files through the CLI?
Thanks in advance for your support!
Hi Sakakura
1. Does this command help?
diagnose netlink interface list agg1
2. Command not found :(
Created on 12-11-2025 03:43 PM Edited on 12-11-2025 03:48 PM
AEK, thanks for your reply.
For some reason, the command you suggested only returns a blank line with no output.
The output looks something like this:
FortiADC #
FortiADC # diagnose netlink interface list lag01
FortiADC #
FortiADC #
FortiADC # diagnose netlink interface list port1
FortiADC #
https://docs.fortinet.com/document/fortiadc/7.6.4/cli-reference/188513
try doing a ? after interface in order for the system to give you all the options and then select one. according to the link it should work/display the state/flag.
Created on 12-12-2025 12:55 AM Edited on 12-12-2025 01:01 AM
funkylicious, thanks for your reply.
When I type ?, the list of interfaces is displayed correctly.
In my previous reply, I simplified the output, but the same behavior occurs whether I am in global configuration or in a VDOM.
Below is the actual output (in the root VDOM; only the hostname has been changed):
FortiADC (root) #
FortiADC (root) # diagnose netlink interface list
<interface-name> interface name
port1 physical
port2 physical
port3 physical
port4 physical
port5 physical
port6 physical
port7 physical
port8 physical
DMZ2-lag01 redundant
Vlan110 vlan
Vlan113 vlan
Vlan111 vlan
FortiADC (root) # diagnose netlink interface list port1
FortiADC (root) #
It seems the documentation is based on FortiADC-VM. Is the behavior different on physical appliances?
My device is a FortiADC 220F.
there should not a difference in commands functionality/availability between HW and VM as far as i know, for other appliances at least it works the same.
| User | Count |
|---|---|
| 2841 | |
| 1436 | |
| 812 | |
| 801 | |
| 455 |
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 2025 Fortinet, Inc. All Rights Reserved.