Hi All
I have a filtered list of nearly 4000 devices in the Device Inventory of a 1500D FortiGate I support and wondered if there is a way to export the list
Thanks in advance
Solved! Go to Solution.
Nominating a forum post submits a request to create a new Knowledge Article based on the forum post topic. Please ensure your nomination includes a solution within the reply.
Closest commands is the "diagnose user device <commands>" from the CLI
eg.
#diagnose user device <command> where command is... list List known hosts. get List a specific host. del Remove a specific host. clear Clear discovered hosts. os-summary Discovered OS summary. host-type-summary Discovered host type summary. stats User device stats. filter Filter for various src-vis diagnostics. #diagnose user device filter <options> where options are: vd Index of virtual domain. os-name Operating system name; "" matches unknown. type Device type; "" matches unknown. list Display the current filter. addr IPv4 address range. type-src Device type source. generation Device generation. type-generation Device type generation. joined Device is joined to another. negate Negate the specified filter parameter. clear Clear the filter or parameter. Haven't played around with this diag commands, but I can assume you need to perform a console capture.
NSE4/FMG-VM64/FortiAnalyzer-VM/6.0 (FWF30E/FW92D/FGT200D/FGT101E/FGT81E)/ FAP220B/221C
Closest commands is the "diagnose user device <commands>" from the CLI
eg.
#diagnose user device <command> where command is... list List known hosts. get List a specific host. del Remove a specific host. clear Clear discovered hosts. os-summary Discovered OS summary. host-type-summary Discovered host type summary. stats User device stats. filter Filter for various src-vis diagnostics. #diagnose user device filter <options> where options are: vd Index of virtual domain. os-name Operating system name; "" matches unknown. type Device type; "" matches unknown. list Display the current filter. addr IPv4 address range. type-src Device type source. generation Device generation. type-generation Device type generation. joined Device is joined to another. negate Negate the specified filter parameter. clear Clear the filter or parameter. Haven't played around with this diag commands, but I can assume you need to perform a console capture.
NSE4/FMG-VM64/FortiAnalyzer-VM/6.0 (FWF30E/FW92D/FGT200D/FGT101E/FGT81E)/ FAP220B/221C
Or just create an (unencrypted) backup of your FGT via webinterface. This is then ust a textfile containing the whole config including your filtered device list.
--
"It is a mistake to think you can solve any major problems just with potatoes." - Douglas Adams
echo diag user dev list | ssh <user>@fg.ip.or.fqdn > usr.dev.lst
or in case there is vdoms :
(echo config vdom; echo edit VDOM_NAME; echo diag user dev list) | ssh <user>@fg.ip.or.fqdn > usr.dev.lst
or use sshpass to avoid interactively typing password
Select Forum Responses to become Knowledge Articles!
Select the “Nominate to Knowledge Base” button to recommend a forum post to become a knowledge article.
User | Count |
---|---|
1692 | |
1087 | |
752 | |
446 | |
228 |
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 2024 Fortinet, Inc. All Rights Reserved.