User Guide for FibeAir® IP-20 All-Outdoor Products, CeraOS 10.5
Page 522 of 825
Ceragon Proprietary and Confidential
To restore a configuration from a restore point to become the active configuration
file, enter the following command in root view:
root> platform configuration configuration-file restore
<restore-point>
Table 105: Configuration Import and Restore CLI Parameters
Parameter
Input Type
Permitted Values
Description
restore-point
Variable
restore-point-1
restore-point-2
restore-point-3
Identifies the restore point to or
from which to perform the backup
operation.
The following commands import a configuration file from an external PC or laptop
to Restore Point 2 on the IP-20, and restore the file to be the system configuration
file for the IP-20:
root> platform configuration configuration-file import restore-
point-2
root> platform configuration configuration-file restore
restore-point-2
15.6.5
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
and Exporting a Configuration File (CLI)
2 Export the configuration from the restore point to a PC or laptop. See
up and Exporting 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.
Importing and Restoring a Configuration File (CLI)
7 Restore the imported configuration file. See
. 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.
15.7
Setting the
Unit to the Factory Default Configuration (CLI)
To restore the unit to its factory default configuration, while retaining the unit’s IP
address settings and logs, enter the following commands in root view: