The easiest way to do this is to utilize the Expedition tool to identify resources that are unused and delete them.
Expedition is a free tool made available by Palo Alto Network to assist with firewall migrations and optimization.
But with mirgation tool, I can't remove objects in place ? Or is it possible to import objects to Migration tool, and remove unused dirrectly from Migration tool ?
Expedition can make changes directly on the firewall. It has been a while since I have done it, but I believe you add the device under Devices and make the changes under your project > Export > API Output Manager. You should know the difference between Atomic and SubAtomic changes.
You could also use "show | match <object-name>" in configuration mode (set format) and see where it is used in the configuration. If the only line is the address object, it is not used.
You could also delete the object. If it is used, you will get an error right away. If not, the delete will be accepted in the candidate configuration.
Once Expedition is setup, that is the quickest and easiest.
Click Accept as Solution to acknowledge that the answer to your question has been provided.
The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!
These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the Live Community as a whole!
The Live Community thanks you for your participation!