How to delete tags in Panorama from CLI ?

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.

How to delete tags in Panorama from CLI ?

L0 Member

Hi all

I have an issue and i need your help.

I need to delete tags like "FQDN" from Panorama from the CLI.

When i issue this command below i have an error message:

command :  delete shared tag FQDN

Response : Object doesn't exis

What did i miss?

1 REPLY 1

Cyber Elite
Cyber Elite

Hi @Issa_DIARRA ,

 

You could run "show | match FQDN" to search the whole config for the FQDN object to see if it is in shared or a specific device group.  You would need to set the CLI output format 1st (see below).

 

You could also run the following commands to show the shared and device group tag configuration (assuming you do not have a space in a device group name).

 

yourpanorama> set cli config-output-format set
yourpanorama> configure

yourpanorama# show shared tag

yourpanorama# show | match "device-group [^ ]* tag"

 

Thanks,

 

Tom

 

PS Or you could check the location of the object in the GUI.

Help the community: Like helpful comments and mark solutions.
  • 276 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!