FibeAir IP-20C/S/E
User Guide
Ceragon Proprietary and Confidential
Page 123 of 597
4.7.9
Editing CLI Scripts
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
2 Export the configuration from the restore point to a PC or laptop.
See Exporting a Configuration File.
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 Importing a Configuration File.
7 Restore the imported configuration file. See Restoring a Saved
Configuration. 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 command is executed. During
initialization following the reset, execution of the CLI script
continues from the following command.