Description
This article describes how to check where and how an object is being used via either the GUI or CLI.
Related Fortinet Documentation:
Troubleshooting Tip: Verifying FortiGate configuration object references and dependencies
Scope
FortiGate.
Solution
In the GUI:
In various locations of the GUI, look for the 'Ref.' column.
If the 'Ref.' column is not visible, select the 'Configure Table' and make sure 'Ref.' is checked.
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:
Another way is to edit the object and select 'References'.
To view more information about how the object is being used, select one of the following icons available within the Object Usage window:
After selecting View List:
After selecting Edit:
After selecting View Properties:
In the CLI:
diagnose sys cmdb refcnt show <path.object.mkey>
Or:
show full-configuration | grep -f wan1
Example:
diagnose sys 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 article:
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 2024 Fortinet, Inc. All Rights Reserved.