Increase paste buffer on PAN (or other import methods)

Reply
Highlighted
L1 Bithead

Increase paste buffer on PAN (or other import methods)

I am attempting to paste a large number of cli commands from a config converted from another vendor. When I paste via SecureCRT or Putty the commands begin to truncate after around line 20, depending on the length of each line. This is limited to PANOS and not any other devices, so I am assuming it is related to a buffer in PAN. Does anybody know of a way to increase that buffer or is there a way to copy the file with the commands to the device and execute the script locally?


Accepted Solutions
Highlighted
L7 Applicator

"set cli scripting-mode on"

then "configure" and paste your CLI commands. 

After exiting config mode, be sure to use "set cli scripting-mode off" to return to the regular CLI configuration. 

View solution in original post


All Replies
Highlighted
L7 Applicator

"set cli scripting-mode on"

then "configure" and paste your CLI commands. 

After exiting config mode, be sure to use "set cli scripting-mode off" to return to the regular CLI configuration. 

View solution in original post

Highlighted
L5 Sessionator

Hello,

I have copied around 40 commands and pasted in putty and it took it with no issues.

I tried with set mode using below command

>set cli config-output-format set

Regards,

Hari Yadavalli

Highlighted
L1 Bithead

I have not been able to verify this yet, but based off two answers and further research, I believe it is correct.

Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

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 Live Community as a whole!

The Live Community thanks you for your participation!