2780
Views
0
Helpful
2
Replies
FMC CLI command to obtain unused objects

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-08-2020 03:40 PM
Hello
Is there a CLI command to obtain unused objects on the FMC?
We are using FMC with firmware 6.4.0.4
Right now the FMC has nearly 18,000 objects and we need to eliminate the ones that are not used.
Regards
Labels:
2 Replies 2
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-08-2020 08:50 PM
Hi
There isn't a tools like this.
From the FMC UI, going to objects, and network objects for example, you'll have binoculars icon to find where it is used.
You can also script using APIs by checking if used any rules. Another solution could be to export the show run of your FTD (objects and ACLs) and use it with the migration tool that could tell you which objects aren't used.
Another tool would be CDO but working only for ASA and FTD (without FMC so FDM).
Thanks
Francesco
PS: Please don't forget to rate and select as validated answer if this answered your question
There isn't a tools like this.
From the FMC UI, going to objects, and network objects for example, you'll have binoculars icon to find where it is used.
You can also script using APIs by checking if used any rules. Another solution could be to export the show run of your FTD (objects and ACLs) and use it with the migration tool that could tell you which objects aren't used.
Another tool would be CDO but working only for ASA and FTD (without FMC so FDM).
Thanks
Francesco
PS: Please don't forget to rate and select as validated answer if this answered your question
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-08-2020 09:34 PM
Like @Francesco Molino said except that an exported "show running-config" won't show you all of the objects in FMC - only those deployed to a given device.
