24.
File System for Configuration Script Files
MN700004 Rev 01
283
C o m m a n d D e s c r i p t i o n
delete
Deletes the specified file from the file system.
dir
Displays the names and lengths of all files in the script file system.
This command is an alias of the show script file system command.
display
Displays the textual contents of the specified script file.
download-from
Downloads a file from the TFTP server to the file system.
format file-system
Initializes the script file system for the first time.
rename
Renames the specified script file.
run
Executes the CLI commands contained in the specified script file.
show script-file-system
Displays the names and lengths of all files in the script file system.
This command is an alias of the dir command, but may be also used in
View and Privileged modes.
upload-toscp
Uploads a file from the file system to the TFTP server.Secure copy.
Description of Commands
script-file-system
The
script-file-system
command, in Global Configuration mode, accesses script file system
configuration mode.
Command Syntax
device-name
(config)#
script-file-system
copy-from running-config
The
copy-from running-config
command, in Script-file-system Configuration mode, copies
the running configuration into the specified file. If a file name is not specified, the command
copies the running configuration into a file with a default name (
running-config
), created in
the script file system.
Command Syntax
device-name
(config script-file-system)#
copy-from running-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 running-config
building the configuration ...