Foundry NetIron M2404C and M2404F Metro Access Switches
Switch Administration (Rev. 03)
File System © 2008 Foundry Networks, Inc.
Page 34 of 87
Argument Description
source path
(Optional) The original path to the file. The path should end
with the name of the file.
source device:
(Optional) The device from which the file is to be moved. Can
only be
tftp:
(TFTP server) or
flash:
(local flash system).
source device:path
(Optional) The original device and path to the file. The path
should end with the name of the file.
destination path
(Optional) The path to which the file is to be moved. The path
should end with the name of the new file.
destination device:
(Optional) The device to which the file is to be moved. Can
only be
tftp:
(TFTP server) or
flash:
(local flash system).
destination device:path
(Optional) The device and the path to which the file is to be
moved. The path should end with the name of the new file.
file-name
The original name of the file.
new-file-name
(Optional) The name assigned to the destination file.
Deleting a File
The
del
command, in Loader or Privileged (Enable) mode, deletes the specified file from the file
system. The device prompts the user for confirmation before deleting the file.
This command is equivalent to the
rm
command.
Command Syntax
Loader
>
del
{[
path
] | [
device:
[
path
]]}
file-name
device-name
#
del
{[
path
] | [
device:
[
path
]]}
file-name
Argument Description
path
(Optional) The path to the file. The path should end with the name of the
file.
device:
(Optional) The device on which the file is located. Can only be
flash:
(the
local flash system).
device:path
(Optional) The device and path to the file. The path should end with the
name of the file.
file-name
The name of the file to be deleted.
Formatting the File System
The
format
command, in Loader or Privileged (Enable) mode, formats FS (File System) on flash
memory, removing all the contents.
This command empties the FS. After the next start of the loader (or startup of downloaded
application), the default set of system directories will be restored automatically. The command
deletes all saved configuration files (starting configuration) as well.