Configure Palo Alto from CLI

Some time when we are pasting configuration on CLI of PA firewall we get “Invalid syntax.” even if the syntax is correct.It generally happens when you are pasting bulk configuration.

We can overcome “Invalid syntax error.” as follows:

admin@PA>set cli terminal width 500
admin@PA>set cli terminal height 500
admin@PA>set cli scripting-mode on
admin@PA>configure
admin@PA#

Now paste the commands.

Advertisements
This entry was posted in paloalto networks and tagged , , , . Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s