- Access exclusive content
- Connect with peers
- Share your expertise
- Find support resources
10-02-2017 02:42 AM
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.
10-04-2017 06:18 AM
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.
10-04-2017 06:18 AM
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.
10-05-2017 03:21 AM
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
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!