Foundry NetIron M2404C and M2404F Metro Access Switches
Switch Administration (Rev. 03)
Script Files System © 2008 Foundry Networks, Inc.
Page 22 of 87
Manipulating and Displaying the Script Files System
Table 10
lists the commands available for manipulating and displaying configuration script-files.
Table 10: Script File System Commands
Command
Description
script-file-system
Accesses Script-file-system Configuration mode.
copy running-config
Copies the running configuration into the script-file-system.
copy startup-config
Copies the startup configuration into the script-file-system.
copy
Copies a file.
run
Executes the CLI commands contained in the specified
script file (as a batch file).
del
Deletes the specified script file.
display
Displays the textual contents of the specified script file.
show script-file-system
Displays the names and lengths of all script files stored in
the file system.
dir
Displays the names and lengths of all script files stored in
the file system.
move
Moves files from specified directories.
rename
Renames a file.
ls
Lists files in the flash file system.
help
Provides description of the interactive help system.
attrib
Sets file attributes.
pwd
Displays the current directory.
Accessing Script-file-system Configuration Mode
The
script-file-system
command, in Global Configuration mode, accesses Script-file-system
Configuration mode.
Command Syntax
device-name
(config)#
script-file-system
device-name
(config script-file-system)#
Copying the Running Configuration
The
copy running-config
command, in Script-file-system Configuration mode, copies the running
configuration into the script file system.
By default, the file will be saved under the name
running_config.cfg
.