This document describes how to view the configuration in "set" and "xml" format from the CLI on the Palo Alto Networks firewall.
Run the following command to view the configuration:
"set" format: > set cli config-output-format set
"xml" format: > set cli config-output-format xml
Enter configure mode: > configure
Enter show to see the complete configuration. You can also view certain components, such as show network interface. Note: The output of show is not necessarily the sequence to execute the commands. A command that appears at the top may reference something defined later in the listing.
The following example demonstrates how to view a configuration in "set" format:
> set cli config-output-format set
Entering configuration mode
set mgt-config devices localhost.localdomain ip 127.0.0.1
set mgt-config user admin phash fnRL/G5lXVMug
set mgt-config user admin permissions role-based superuser yes