we would use an API to see the output of show running nat-policy-addresses command for each vsys.
The following API work properly when on the firewall there is only one vsys.
We have multiple virtual system and we need to have the output for each vsys.
From CLI we get it with two different command:
>set system setting target-vsys <value>
>show running nat-policy-addresses
It seems there is no way to specify the vsys into this specific API call.
Do you know if is it possible to have this information?
Thanks in advance.
Hope this helps.
Change the vsys to specific vsys number.
show config running xpath devices/entry[@name='localhost.localdomain']/vsys/entry[@name='vsys1']/rulebase/nat/rules
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!