Support Forum
The Forums are a place to find answers on a range of Fortinet products from peers and product experts.
cragasyah
New Contributor

Fortimanager - Delete device using CLI

Just want to share how to delete FMG device using CLI. This might be useful, like when you hide unathorized device.

all the commands below are executed from FMG's CLI

1. list your devices using CLI

diag dvm device list

 

2. delete your device

diag dvm device delete <name of your device -- you got this from #1 above>

 

hope this might be useful.

 

 

1 REPLY 1
Toshi_Esumi
Esteemed Contributor III

Thank you for sharing the info. Do you happen to know if there is a hidden command to filter or "| grep" the device list with some key words or ADOM? We have more than 150 devices managed by our FMG and have to dump&save all and search the result by a text editor.

Labels
Top Kudoed Authors