script to rename address objects

L3 Networker

script to rename address objects

Hi All,


i have  a requirement to rename alot of my address objects on firewall,is there a command with which it can be done  so it can be made into a script?


thanks for any help.

L7 Applicator

Re: script to rename address objects

Assuming the full names are very unique, I would just download the config file and use search and replace in a text editor.


then load the revised file.

Steve Puluka BSEET - IP Architect - DQE Communications (Metro Ethernet/ISP)
ACE PanOS 6; ACE PanOS 7; ASE 3.0; PSE 7.0 Foundations & Associate in Platform; Cyber Security; Data Center
L4 Transporter

Re: script to rename address objects

Did you check out the "rename" command on the CLI which is available in configure mode?

L3 Networker

Re: script to rename address objects

it works, thanks



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

The Live Community thanks you for your participation!