How to Parse the Configuration from the CLI

How to Parse the Configuration from the CLI

0
Created On 09/26/18 13:53 PM - Last Modified 07/19/22 23:11 PM


Resolution


Overview

Palo Alto Networks devices have multiple options for parsing the configuration when working with the output of a show command.

 

Steps

To access configuration, use the following commands:

> configure

# show

 

You will now be in a mode where the configuration can be parsed.

 

The following are some helpful commands:

/pattern     - Search forward for (N-th) matching line

?pattern    - Search backward for (N-th) matching line

n              - Repeat previous search (for N-th occurrence)

N             - Repeat previous search in reverse direction

 

Additional information can be found here:

h  H         - Display help

 

owner: mdjeric



Actions
  • Print
  • Copy Link

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