
Chapter 16: Unit Management (CLI)
Editing CLI Scripts (CLI)
phn-3965_006v002
Page 16-25
Editing CLI Scripts (CLI)
The configuration file package includes a text file that enables you to write CLI scripts in a backed-up configuration
that are executed after restoring the configuration.
To edit a CLI script:
1.
Back up the current configuration to one of the restore points. See
Backing up a Configuration File (CLI).
2.
Export the configuration from the restore point to a PC or laptop. See
Backing up a Configuration File (CLI).
3.
On the PC or laptop, unzip the file
Configuration_files.zip
.
4.
Edit
the cli_script.txt
file using clish commands, one per line.
5.
Save and close the
cli_script.txt
file, and add it back into the
Configuration_files.zip
file.
6.
Import the updated
Configuration_files.zip
file back into the unit. See
7.
Restore the imported configuration file. See
Importing and Restoring a Configuration File (CLI)
. The unit is
automatically reset. During initialization, the CLI script is executed, line by line.
Note
If any specific command in the CLI script requires reset, the unit is reset when that that command is
executed. During initialization following the reset, execution of the CLI script continues from the
following command.
Summary of Contents for PTP 820 Series
Page 1: ...User Guide ...
Page 49: ...Chapter 1 Introduction Configuration Tips phn 3965_006v002 Page 1 3 ...
Page 162: ...Chapter 3 Configuration Guide System Configurations phn 3965_006v002 Page 3 4 ...
Page 294: ...Chapter 4 Unit Management Upgrading the Software phn 3965_006v002 Page 4 19 5 Select FTP ...
Page 713: ...Chapter 14 Getting Started CLI Configuring the Activation Key CLI phn 3965_006v002 Page 14 18 ...
Page 731: ...Chapter 14 Getting Started CLI Operating in FIPS Mode CLI phn 3965_006v002 Page 14 36 ...