User Guide for FibeAir® IP-20 All-Outdoor Products, CeraOS 10.5
Page 217 of 825
Ceragon Proprietary and Confidential
Note:
While a configuration restoration is taking place, no user can make any
changes to the configuration. All system configuration parameters are
read-only during the configuration restoration.
4.8.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
2 Export the configuration from the restore point to a PC or laptop.
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.
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.