- Access exclusive content
- Connect with peers
- Share your expertise
- Find support resources
09-06-2023 04:49 AM
Hey guys, this may be a stupid question but I just cannot find the appropriate command for this after googling for nearly an hour. I just want to display all vsys via CLI in one command without the need of "?". Something like show virtual-system all or so. Is this even possible?
09-06-2023 06:10 AM
Hello @Yunus_Salem
from the documentation cli command hierarchy I do not see any command that will fulfil your requirement, however I think it is possible with API. Could you check whether this works (I do not have a device with vsys license to test it with)?
curl -X GET "https://<firewall>/api/?key=<api_key>&type=op&cmd=<show><vsys></vsys>"
Kind Regards
Pavel
09-06-2023 07:23 AM
Hi @Yunus_Salem ,
You can use the command "set system setting target-vsys ?" and see the virtual systems listed as options.
Thanks,
Tom
04-17-2026 01:55 AM
Hello,
Just have a question regarding this command :
We recently upgraded our clusters to PanOS 11.1 and now when using this command, it doesn't display the vsys name anymore :
> set system setting target-vsys
none none
vsys1 vsys1
vsys2 vsys2
vsys3 vsys3
... ...
<value> <value>
In PanOS 10.2 the vsys names were displayed along with the vsys number
How to easily link vsys number and vsys name?
Indeed, when you want to modify/get settings related to a particular vsys you need to know in which vsys context you are...
Regards,
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!

