DescriptionThis article describes how to check where and how an object is being used - via GUI or CLI.
Troubleshooting Tip : verifying FortiGate configuration objects references and dependencies with the CLI command "diagnose system checkused" – https://kb.fortinet.com/kb/documentLink.do?popup=true&externalID=FD30620
SolutionOn the GUI
At various locations of the GUI, look for the column "Ref."
To view the location of the referenced object, select the number in column "Ref.", and the Object Usage window appears displaying the various locations of the referenced object:
To view more information about how the object is being used, click on 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.
After clicking on View List:
2. "Edit" – modifies settings within that particular setting that the object is referenced with.
After clicking Edit:
3. "View Properties" – shows table, similar to the log viewer table, that contains information about what settings are configured within that particular setting the object is referenced with.
After selecting View Properties:
On the CLI
# diagnose sys cmdb refcnt show <path.object.mkey> 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'
Troubleshooting Tip : verifying FortiGate configuration objects references and dependencies with the...