User`s guide
30 XSR User’s Guide
Utilizing the Command Line Interface Chapter 2
Managing the XSR
Downloading the Configuration
Downloading transfers a script file remotely from a server to the XSR’s
startup configuration using TFTP or locally from
cflash:. The ASCII-format
script can include comments delineated by an exclamation mark.
To perform the task correctly, the TFTP server must be running on a remote
device with the configuration file residing in the TFTP root directory of the
server. You can then enter the
copy startup-config tftp: command in
EXEC mode to copy the configuration file from the server to the XSR.
Alternately, the file must first be loaded in
cflash: then copied to flash:
with the copy cflash:startup-config flash:startup-config command.
NOTE
If you have inadvertently added errors to the CLI script file, the
restoration of
startup-config will be stopped at the error line. So, any
commands after that line in startup-config are not executed.
For more command details, refer to the XSR CLI Reference Guide.
Uploading the Configuration
An upload copies the XSR configuration file (or other files) to a system in a
CLI script format using TFTP. You can later retrieve the file with TFTP.
To perform the task correctly, the TFTP server must be running on a remote
device. You then enter the
copy startup-config tftp: <tftp IP
addr>/filename
command in EXEC mode to copy the file to the server. A
successful upload produces the following sample output:
XSR#copy startup-config tftp:
Address of remote host [0.0.0.0]: 10.10.10.10
Destination file name [startup-config]:
Copy 'startup-config' from Flash to server
as 'startup-config'(y/n) ? y
Upload to server done
File size: 976 bytes
Refer to the XSR CLI Reference Guide for more command details.