Hot!Fortigate CLI

Author
polatto
New Member
  • Total Posts : 1
  • Scores: 0
  • Reward points: 0
  • Joined: 2021/06/04 10:09:49
  • Status: offline
2021/06/04 10:31:53 (permalink)
0

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
#1
Toshi Esumi
Expert Member
  • Total Posts : 2597
  • Scores: 255
  • Reward points: 0
  • Joined: 2014/11/06 09:56:42
  • Status: offline
Re: Fortigate CLI 2021/06/04 10:42:16 (permalink)
5 (1)
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.
#2
ede_pfau
Expert Member
  • Total Posts : 6481
  • Scores: 559
  • Reward points: 0
  • Joined: 2004/03/09 01:20:18
  • Location: Heidelberg, Germany
  • Status: offline
Re: Fortigate CLI 2021/06/05 14:35:06 (permalink)
0
An interface could be used by
- network zone
- DHCP server
- DNS server
- address object (if assigned to it)
- VIP
- policy
 

Ede

" Kernel panic: Aiee, killing interrupt handler!"
#3
Jump to:
© 2021 APG vNext Commercial Version 5.5