Delete all Address Objects


Changes to the LIVEcommunity experience are coming soon... Here's what you need to know.

L3 Networker

Delete all Address Objects


I have >600 Address objects on a Lab firewall and I am looing for a way to delete them all.  The web interface does not contain a select all tick box for individual address objects (mind-blowing.. why not??)...  Anyone know of a CLI command that will do it?




L4 Transporter

Hello Matt,


You can try exporting the configuration and just manually deleting the XML? You can also hold down control and tick the check boxes next to the address to select multiple address.


hope this helps,


L2 Linker

(duplicate - bmorris1 beat me by 36secs - i must be slipping..) 


- export the config in XML

- delete the objects section

- import the config back into the firewall, load, commit.


no, it's not a checkbox but it's doable in under 5mins.



L3 Networker

Thanks guys!  Was trying to avoid having to do that because I have had some undesireable results playing around with the XML in the past.  Still baffled why PA wouldn't include this as an option.. makes no sense to me :)

L2 Linker

You can shift-click to select multiple objects.


So click on the first object, then scroll all the way to the bottom, then hold shift while you click the last object.  That should select all of the objects, then you can click delete.

L2 Linker

just make sure you are using a real editor like Notepad++ or SublimeText


XML is your friend!

L5 Sessionator

Hi Matt,


EDIT - Bradley already responded with the easiest way from GUI: holding "shift" and selecting first and last should select all items in between, at least that's what works for me from the latest SeaMonkey (firefox-like browser but without DRM built-in)


otherwise - smash the xml in editor of your choice as gentleman noted :)






p.s. I vote for vim even though I use both npp and sublime in GUIs :)))))

Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

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 LIVEcommunity as a whole!

The LIVEcommunity thanks you for your participation!