03-29-2024 12:33 PM
I'm wondering if there is a way to remove ALL network-objects from an network object-group with one command. I figured the easiest way to do this is to negate the object-group and re-create it. If the object-group is used on a ACL it is not possible.
Short of listing all network-objects and negating them, is there another way to accomplish what I'm trying to do?
03-29-2024 12:41 PM
As you mentioned if the object or object group associated with ACL.
May be get the ACL out of the box validate using any programming language and get final copy and apply back.
Note : depends on how may ACL you have, if less than 50 i do manually, if more 1K lines i go programming approach.
03-30-2024 11:14 AM
The programming route is likely what I have to take, just wanted to see if there was a better way. thanks for your reply.
03-29-2024 12:44 PM
To remove all object groups from the configuration, use the clear config object-group configuration command.
Note note it remove all object group
MHM
03-30-2024 11:18 AM
Perhaps I wasn't as clear as I could have been. I'm actually trying to clear all network-objects embedded in an object-group. Removing ALL object-groups is not something I'm wanting to accomplish.
04-01-2024 10:59 AM
I Will check one point and update you mac tomorrow
MHM
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide