Skip to main content
morteza
New Member
Nov 16, 2016 3:09 PM UTC
Question

Interface/Vlan/Vdom Removing Problem

hello experts

i have a serious problem with removing an aggregated interface in an almost empty VDOM.

recently i take a backup  from a VDOM in a fortigate 600c 5.2.8 and restore it on a fortigate600d 5.2.8 and it runs in a company with strict SLA so i can't reboot it even!

in this VDOM only there are 2 elements.

one: an aggregated interface named "port-agg"

two: an interface vlan that is assigned to the aggregation interface, named "Vlan-400".

there are no reference to the Vlan-400, but in GUI it shows number 1 in the references column! but when i click on it ... there is nothing !

i restored a default factory backup to that VDOM, but the interfaces still are remained.

the command "diagnose sys checkused system.interface.name" does not give a proper information.

is this a serious BUG in fortigate or it has a plain solution?

can i force the fortigate to remove that VDOM whitout removing those fake references?

 

regards.

12 replies

Kenundrum
New Member
Nov 17, 2016 5:16 PM UTC

download a backup of the config and open it in a text editor. Search for the name of the interface in question and you should see it somewhere else in the config. It's possible that it's being referenced by something that is CLI only, so you may need to change whatever it is from there.

Translate
ergotherego
New Member
Nov 18, 2016 12:11 AM UTC

You can use this command to see what the references are:

 

diagnose sys checkused system.interface.name [ interface name ]

Translate
tanr
New Member
Nov 18, 2016 12:52 AM UTC

A page that gives examples of using the diag sys checkused command is:

  http://socpuppet.blogspot.com/2014/10/a-few-examples-of-how-to-do-dependency.html 

Translate
LeonardoNP10
New Member
Dec 10, 2024 1:56 AM UTC

I solved it by reseting the refcnt:

# diagnose sys cmdb refcnt reset <path.object.mkey>

 

Example:

 

# diag sys cmdb refcnt reset system.interface.name port1 

 

https://community.fortinet.com/t5/FortiGate/Technical-Tip-Facing-issue-removing-an-object-from-FortiGate/ta-p/200811

Translate
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