18
C
HAPTER
8
C
OMMAND
L
INE
: S
AVE
AND
R
ESTORE
C
ONFIGURATION
8. Command Line: Save and Restore Configuration
This section will document how to save and restore the MicroRAPTOR configuration.
P
REREQUISITE
:
To perform the tasks in this section, you will have already logged into the MicroRAPTOR via the console
cable or through
SSH
.
1.
Save the running configuration to flash memory.
F
OR
EXAMPLE
:
At the command prompt type:
iS5comm# write startup-config
S
TEP
R
ESULT
:
The following will appear on the terminal when logged in via the console port.
Building configuration ...
[OK]
The prompt will reappear and the configuration will now be saved in flash memory.
2.
Optionally, you could save the configuration to USB. Insert a USB drive into the MicroRAPTOR and
type the following:
F
OR
EXAMPLE
:
iS5comm# copy startup-config usb
S
TEP
R
ESULT
:
The following text will appear followed by a prompt:
Configuration is copied to USB
3.
Optionally, you could restore a configuration that was saved to a USB.
a.
Insert the USB thumb drive into the MicroRAPTOR and type the following:
F
OR
EXAMPLE
:
iS5comm
# copy usb startup-config
R
ESULT
:
The following text will appear followed by a prompt:
Configuration is restored from USB
File Copied Successfully
b.
For the configuration to be applied, the MicroRAPTOR needs to be reloaded.
F
OR
EXAMPLE
:
iS5comm
# reload
R
ESULT
:
Are you sure you want to reload the device? (Y/N) [N]?
c.
Confirm that you would like to reload the device by typing
Y
.
R
ESULT
:
The
MicroRAPTOR
will be reloaded.
S
TEP
R
ESULT
:
The MicroRAPTOR will be reloaded with the configuration that was restored from the
USB.