- Access exclusive content
- Connect with peers
- Share your expertise
- Find support resources
This Nominated Discussion Article is based on the post "Delete All Address Objects" by @MRosloniec and answered by @Bmorris1, @cramman, @Bradley_Melton, @Lucky, and @Martin_Martinec. Read on to see the discussion and Solution!
Hello,
I have over 600 address objects on a Lab firewall and I am looking 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?
Thanks!
Matt
Not exactly CLI but you can export the configuration, manually edit the XML and import the config again. Then load it and commit.
XML is your friend! Just make sure you are using a real editor like Notepad++ or SublimeText
Alternatively, you can use the GUI and hold down control and tick the check boxes next to the address to select multiple address. You can also select the first object at the top of the page, then select the last object using the shift key to select all the items on the page.
Note: One remark on the Click-Shift-Click method — don't do this on the tick-boxes, as it doesn't work there. Do this on the Name field (do not click on the name but on the empty space beside the name). If you do this, you can click-shift-click to select all.