Skip to main content
ssteo
Staff
Staff
Aug 26, 2022 8:57 AM UTC

Technical Tip: Rename interface

Description This article describes how to rename an interface.
Scope FortiGate.
Solution

There is no way to modify the interface name in CLI/GUI once the interface is created.

 

ssteo_0-1661502757271.png

 

This applies to interface types 802.3ad Aggregate, EMAC VLAN, FortiExtender, Hardware Switch, Loopback Interface, PPPoE Interface, Redundant Interface, Software Switch, VLAN, and WiFi SSID.

 

ssteo_2-1661502154759.png

 

It is necessary to delete the interface and recreate it. Make sure to remove all the references related to the interface to be able to delete it.

 

In the GUI:

Look for the 'Ref' column:

 

Screenshot 2026-03-20 080307.png

 

In the CLI:

 

diagnose sys cmdb refcnt show <path.object.mkey> 

 

Example:

 

diagnose sys cmdb refcnt show system.interface.name LAN
entry used in table firewall.address:name 'LAN address' entry interface 'LAN' (From VDOM: 'root')
entry used in table firewall.policy:policyid '1' entry srcintf:name 'LAN' (From VDOM: 'root')

    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