| Description | This article describes how to perform a bulk delete of rogue devices from the FortiNAC's Database via CLI. The command client -rog -op delete in FortiNAC is used to delete all rogue devices from the system. This command allows administrators to explicitly delete rogue records that are no longer relevant, ensuring the database reflects only active/valid devices. 
 | 
| Scope | FortiNAC, FortiNAC-F | 
| Solution | 
 
 All the rogue devices [Online and Offline] should be listed in the Host view search results and the rogue devices count can be checked at the bottom of the page on the right corner. 
 In the example output below, only 2 rogue devices are being shown: 
 
 
 
 client -rog -op delete 
 
 
 > execute enter-shell # client -rog -op delete 
 
 
 
 
 
 Related documents: | 
The Fortinet Security Fabric brings together the concepts of convergence and consolidation to provide comprehensive cybersecurity protection for all users, devices, and applications and across all network edges.
Copyright 2025 Fortinet, Inc. All Rights Reserved.