Skip to main content
Esteemed Contributor III
Jul 2, 2009 6:20 PM UTC

Technical Tip: FortiGate firewall objects reference

  • Apr 16, 2026 12:31 PM UTC
  • 0 replies
  • 4475 views
  • Translate All

Description


This article describes that FortiOS includes a command to allow users to find all places where any 'object' is used. This can be useful in order to delete an object that may no longer be used.

 

Scope

 

FortiGate.


Solution

 

From the CLI, enter the following commands:

 

diagnose system checkused sytem.interface.name <path.object.mkey> <interface_name>

 

This will return all objects where interface_name is referenced.

For example:

diagnose system checkused sytem.interface.name dmz
 
entry used by table system.interface:name 'vlan1‘


diagnose system checkused system.vdom. root

entry used by conplex system.global:management-vdom

entry used by table system.interface:name '101'

entry used by table system.interface:name '201'

      entry used by table system.interface:name 'dmz'

 

This command is already removed and replaced by the command: diagnose sys cmdb refcnt show <path.object.mkey>.

Refer to: Technical Tip: How to Check Referenced Objects

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