Skip to main content
polatto
New Member
Jun 4, 2021 5:31 PM UTC
Question

Fortigate CLI

Good afternoon guys!

I'm using the CLI of a fortigate 81E, I'm trying to delete a Vlan, but it returns the following response:

FORTIGATE (interface) # delete VLAN_230 The entry is used by other 1 entries Command fail. Return code -23

 

I know that in GUIME this indicates that there are references in other functions such as policies and addresses.
How can I delete these references by the cli

2 replies

Toshi_Esumi
SuperUser
SuperUser
Jun 4, 2021 5:42 PM UTC

You need to find and remove those dependencies. Just run "show | grep -f VLAN_230" at the top level in CLI. Then you need to remove those using the vlan.

Translate
ede_pfau
SuperUser
SuperUser
Jun 5, 2021 9:35 PM UTC

An interface could be used by

- network zone

- DHCP server

- DNS server

- address object (if assigned to it)

- VIP

- policy

 

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