How to delete an unused Virtual System (vsys) from the Panorama Template Stack and templates.

How to delete an unused Virtual System (vsys) from the Panorama Template Stack and templates.

12158
Created On 11/24/22 17:05 PM - Last Modified 12/24/25 21:15 PM


Objective


To delete an unused Virtual System (vsys) from the Panorama Template Stack and templates.
 


Environment


  • Any Panorama
  • PAN-OS 9.1 and above
  • Template stack or Templates


Procedure


  • Enter the configure mode in Panorama.
  • Run the following command from the Panorama CLI to delete the vsys from the Panorama template.
> configure
#delete template <template name> config vsys <vsys name>
  • Run the following command from the Panorama CLI to delete the vsys from the Panorama template stack if the vsys is already deleted in the Template but still visible in the Stack.
> configure
# delete template-stack <template_stack name> config devices localhost.localdomain vsys <vsys name>
# commit force


Additional Information


  • In the following example, the VSYS is not present in the template, but is present in the template stack.
  • Here, one can create a new template stack, mapping the template without the VSYS and push the same to the firewalls.

temp1.png

 

stack1.jpg

 



Actions
  • Print
  • Copy Link

    https://knowledgebase.paloaltonetworks.com/KCSArticleDetail?id=kA14u000000sZxfCAE&lang=en_US&refURL=http%3A%2F%2Fknowledgebase.paloaltonetworks.com%2FKCSArticleDetail

Choose Language