Palo Alto Networks Knowledgebase: Viewing the configuration in set and XML format

Viewing the configuration in set and XML format

58898
Created On 02/08/19 00:08 AM - Last Updated 02/08/19 00:08 AM
Device Management Initial Configuration Installation QoS Zone and DoS Protection
Resolution

 PAN-OS: 5.0, 6.0, 6.1

 

Overview

This document describes how to view the configuration in "set" and "xml" format from the CLI on the Palo Alto Networks firewall.

 

Steps

  1. Run the following command to view the configuration:
    • "set" format:
      > set cli config-output-format set
    • "xml" format:
      > set cli config-output-format xml
  2. Enter configure mode:
    > configure
  3. 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

> configure

Entering configuration mode

[edit]

# show

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

 

set zone L3-Trust network layer3 ethernet1/3

set zone L3-Trust network layer3 ethernet1/4

set zone L3-Trust network layer3 ethernet1/5

set zone L3-Trust enable-user-identification no

 

set rulebase security rules rule1 from any

set rulebase security rules rule1 to any

set rulebase security rules rule1 source any

set rulebase security rules rule1 destination any

set rulebase security rules rule1 service any

set rulebase security rules rule1 application any

set rulebase security rules rule1 action allow

...


owner: panagent



Attachments
Actions
  • Print
  • Copy Link

    https://knowledgebase.paloaltonetworks.com/KCSArticleDetail?id=kA10g000000ClHoCAK&refURL=http%3A%2F%2Fknowledgebase.paloaltonetworks.com%2FKCSArticleDetail

Attachments
Choose Language