Skip to main content
cragasyah
New Member
September 20, 2021
Question

Fortimanager - Delete device using CLI

  • September 20, 2021
  • 1 reply
  • 10427 views

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

    Toshi_Esumi
    SuperUser
    SuperUser
    September 20, 2021

    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.