• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 4523
  • Last Modified:

Change ASA object-group names


I have existing network and service objects being applied to ACLs on an ASA. Is it possible to change the name of the groups? I see I could only add/remove hosts and ports.

I want to change the name but it will be a lot of work for me to remove it from the current ACLs and reapply the new named object group.
3 Solutions
I don't think so, no.

I had a similar issue and had to recreate groups with the right names and containing the same principals as the old ones, then change the policies that used them.

You may be able to export the config and use a global search and replace then reapply the config.  Worth a shot if you have a current config backup.
As netman66  said, you cannot rename object-group names, you have to delete and recreate.

Check the link below and look at the first note on the page.
Pete LongTechnical ConsultantCommented:
As Stated above

>>You may be able to export the config and use a global search and replace then reapply the config.

Thats what you need to do export the config like so

Make a copy of the backup (in case it all goes to hell in a hand cart!)

On your copy, open in notepad and do a simple file replace and change the object-group names.

Restore the amended config to the firewalls startup-config then simply reboot the firewall.

Note copy tftp start, then reload are the commands you will need.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Choose an Exciting Career in Cybersecurity

Help prevent cyber-threats and provide solutions to safeguard our global digital economy. Earn your MS in Cybersecurity. WGU’s MSCSIA degree program was designed in collaboration with national intelligence organizations and IT industry leaders.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now