Skip to main content
morteza
New Member
November 16, 2016
Question

Interface/Vlan/Vdom Removing Problem

  • November 16, 2016
  • 2 replies
  • 24750 views

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.

2 replies

Kenundrum
New Member
November 17, 2016

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.

ergotherego
New Member
November 18, 2016

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

 

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

tanr
New Member
November 18, 2016

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 

LeonardoNP10
New Member
December 10, 2024

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