CLI find objects by wildcard search

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements

CLI find objects by wildcard search

L1 Bithead

PANOS 10.2.9-h1.   

 

Is there a way to use the CLI to wildcard search for address objects either by name or IP address?   The goal is to take those objects, manipulate them in a known way, and then re-inject them.  Name would be preferable.  

 

Assuming I typed them correctly, then I should be able to get about 99% accuracy in replacement of objects.  Replacing 2 octets on ~100-150 objects at a time can get tedious and is prone to error.

 

 

1 REPLY 1

Community Team Member

Hi @mheyman ,

 

A wildcard search is currently not supported on the CLI. If you are looking to manipulate a number of objects, you can change the config display output to set. Copy all the objects into a separate txt and work on renaming the objects youd like before pasting the set commands into the CLI.

LIVEcommunity team member
Stay Secure,
Jay
Don't forget to Like items if a post is helpful to you!

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.
  • 246 Views
  • 1 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!