How can I get the available VSYS in PaloAlto Firewall?

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

How can I get the available VSYS in PaloAlto Firewall?

L1 Bithead

Hi everyone,


I'm develping an automatic software to get configure data from PaloAlto firewall. I need to know if a firewall is virtualized (I already know how to get this info) and, if the firewall has one/more than one vsys, I want to know these vsys's names. I just can get this info if I write: set system setting target-vsys ?, but I'm using Pexpect and if I send this sentence nothing happens because '?' character is just what I use to specify to the firewall "Tell me what can I type next", so firewall don't recognize '?' in a literal sentence.


Is there some command which returns vsys's names?


Thanks, Mike.

 

 

1 accepted solution

Accepted Solutions

Community Team Member

Hi @mikiTeleco,

 

I was able to find the vsys names with this command :

 

admin@Ying(active)> show config running | match display-name
          display-name "da first";
          display-name "second vsys";
          display-name "Use the forth";
          display-name Third;

Hope this helps !

-Kiwi.

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.

View solution in original post

2 REPLIES 2

Community Team Member

Hi @mikiTeleco,

 

I was able to find the vsys names with this command :

 

admin@Ying(active)> show config running | match display-name
          display-name "da first";
          display-name "second vsys";
          display-name "Use the forth";
          display-name Third;

Hope this helps !

-Kiwi.

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.

Thank you Kiwi! You are always who solve my issues (but I still hating the kiwis lol). I will use it next time because now I get the vsys names with Pexpect by sending  "set system setting target-vsys ?".

Thanks, Mike,

KR

  • 1 accepted solution
  • 3597 Views
  • 2 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!