- Enterasys Security Router User's Guide

Utilizing the Command Line Interface
XSR User’s Guide 2-27
Configuration Save Options
There are several options available regarding configuration:
If you want to make your running configuration the new startup configuration, you can save
it to Flash memory with the
copy running-config startup-config command.
If you want to convert your startup configuration into the running configuration, you can
issue the
reload command which reboots the XSR and reloads the startup configuration.
If you want to save the startup configuration to a remote site using a TFTP server, issue the
copy startup-config tftp: command. See the associated command below.
If you want to load the configuration manually from a remote site using a TFTP server, issue
the
copy tftp: startup-config command. Refer to “Bulk Configuration Management” on
page 2-27 for more information about this and the previous command.
If you want to copy your entire startup configuration including encoded files to a remote site,
issue the
copy flash: full-config tftp:<any_name> command when backing up the XSR,
and the
copy tftp:<any_name> flash:full-config command when restoring the XSR.
Refer to “Full-config Backup” on page 2-28 for more details about the command.
To view the running-config, use the
show running-config command. To view the startup-
config
, issue the more startup-config command.
For more command details, refer to the XSR CLI Reference Guide.
Using File System Commands
A set of MS-DOS compatible commands are available for use in conjunction with configuration
files. The XSR has a file system residing in the XSR’s non-volatile memory.
You can copy files with the
copy command, remove files with the delete command, display files
with the
more command, verify a packed software image file with the verify command, and
change and list directory contents with the
cd and dir commands, respectively. For more
command details, refer to the XSR CLI Reference Guide.
Bulk Configuration Management
The XSR can be configured in one action by storing CLI commands as a script in an ASCII file then
transferring the file to the router remotely using TFTP or locally from
cflash:. There is a
limitation in the size of the stored file, though. If the file is larger than the limit, then the download
operation will abort producing an error message.
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.