Skip to main content
gmanea
Staff
Staff
July 17, 2018

Technical Tip: How to check referenced objects

  • July 17, 2018
  • 0 replies
  • 58825 views

Description

This article describes how to check where and how an object is being used via either the GUI or CLI.

Scope

FortiGate.

Solution

In the GUI:

In various locations of the GUI, look for the 'Ref.' column. 

kb_11777_1.png

 

kb_11777_2.png

 

kb_11777_3.png

 

If the 'Ref.' column is not visible, select the 'Configure Table' and make sure 'Ref.' is checked. 

 

configurable.png

 

To view the location of the referenced object, select the number in the 'Ref.' column, and the Object Usage window will appear, displaying the various locations of the referenced object:

kb_11777_4.png

 

Another way is to edit the object and select 'References'. 

 

Ref.PNG

 

To view more information about how the object is being used, select one of the following icons available within the Object Usage window:

 

  1. View List: automatically redirects to the list page where the object is referenced at.

 

kb_11777_5.png

 

After selecting View List:

kb_11777_6.png

 

  1. Edit: modifies settings within that particular setting that the object is referenced with.

 

kb_11777_7.png


After selecting Edit:

kb_11777_8.png

 

  1. View Properties: shows a table, similar to the log viewer table, that contains information about what settings are configured within that particular setting the object is referenced with.

 

kb_11777_9.png


After selecting View Properties:
 

kb_11777_10.png


In the CLI:

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

 

Or:

 

show full-configuration | grep -f wan1

 

Example:

diagnose system cmdb refcnt show system.interface.name wan1
entry used by table system.interface:name 'VPN_Winds_1'
entry used by table vpn.ipsec.phase1-interface:name 'VPN_Winds_1'
entry used by child table dstintf:name 'wan1' of table firewall.policy:policyid '1'
entry used by child table dstintf:name 'wan1' of table firewall.policy:policyid '2'
entry used by table router.static:seq-num '1'

 

Related articles:

Troubleshooting Tip: Verifying FortiGate configuration object references and dependencies

Technical Tip: How to check referenced objects

    Thought Leadership Security Summit. Outpace New Threats with AI - enhanced defense. Tuesday, Septmeber 15, 8:30 AM - 2:30 PM PT. The Golf Club at Newcastle, WA.
    Virtual event | September 2026. SASE summit. The age of autonomous trust. Register here!