Changing zone name in 100 security policies?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
Please sign in to see details of an important advisory in our Customer Advisories area.

Changing zone name in 100 security policies?

L4 Transporter

Hello Experts

 

I want to change the zone name. There are 100 security policies associated with that zone. How I can do it quickly, like is there any replace pattern command available (like in Juniper) to replace th zone name any where in configuration?

 

Regards,

 

GR

1 accepted solution

Accepted Solutions

no python from me   😛

 

text search and replace would work as long as you dont have any other part of the text file using same text string 

View solution in original post

9 REPLIES 9

L4 Transporter

I believe if you just change the zone name under network -> zone, that will automatic update security rules which has that zone applied.

 

 

Hello

 

No it is not doing that

Community Team Member

Hi,

 

Are you doing this directly on a firewall or changing a Panorama Template ?

 

-Kim.

 

LIVEcommunity team member, CISSP
Cheers,
Kiwi
Please help out other users and “Accept as Solution” if a post helps solve your problem !

Read more about how and why to accept solutions.

Hello Kiwi

 

If I do on the firewall directly then next time I push the config from Panorama then it will be deleted. I have to do on Panorama. Is there any way I can manually edit the replace old zone name to new zone name in the config and reload it on Panorama or any other better way to do that?

Thanks. I will lookinto this. Do you have script in python? Also Can I do like export file from Panorama and then search and replace the old name of zone with new name and import again into Panorama?

no python from me   😛

 

text search and replace would work as long as you dont have any other part of the text file using same text string 

Thank you ! Just one last thing, From Panorama what file I need to export, modify and then import

L1 Bithead

Years after you asked but I thought it was worth mentioning. Presently there is a rename command that looks like it may do the trick:

 

rename template TEMPLATE-NAME config vsys vsys1 zone OLD-NAME to NEW-NAME

 

I'm going to do this on about 400 zones tonight, wish me luck.

  • 1 accepted solution
  • 5969 Views
  • 9 replies
  • 0 Likes
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!