24.
File System for Configuration Script Files
MN700004 Rev 01
284
saving script file "running_config" to file system... done
copy-from startup-config
The
copy-from startup-config
command, in Script-file-system Configuration mode, copies
the startup configuration into the specified file. If a file name is not specified, the command
copies the startup configuration into a file with a default name (
startup-config
), created in the
script file system.
This command requires the startup configuration to be stored on the switch.
Command Syntax
device-name
(config script-file-system)#
copy-from startup-config
[
DEST-FILE
]
Argument Description
DEST-FILE
(Optional) The name of the destination file, in the script file system.
Example
device-name
(config script-file-system)#
copy-from startup-config
saving script file "startup_config" to file system... done
delete
The
delete
command, in Script-file-system Configuration mode, deletes the specified file
from the file system.
NOTE
The specified file is deleted without requesting your confirmation.
Command Syntax
device-name
(config script-file-system)#
delete
FILE-NAME
Argument Description
FILE-NAME
The name of the file to be deleted, in the script file system.
Example
device-name
(config script-file-system)#
delete test1
dir
The
dir
command, in Script-file-system Configuration mode, displays the names and lengths
of all script files stored in the file system.