Operation Manual

File Management Commands
File Management Commands
21 – 487
success: received 637 bytes in 0.253 seconds [ 2517 bytes/sec]
The following command copies system image MX020101.020 from a TFTP server to boot partition
1 in nonvolatile storage:
MX# copy tftp://10.1.1.107/MX020101.020 boot1:MX020101.020
..........................................................................................
..................success: received 9163214 bytes in 105.939 seconds [ 86495 bytes/sec]
The following commands rename test-config to new-config by copying it from one name to the other
in the same location, then deleting test-config:
MX# copy test-config new-config
MX# delete test-config
success: file deleted.
The following command copies file corpa-login.html from a TFTP server into subdirectory corpa in
an MX switch’s nonvolatile storage:
MX# copy tftp://10.1.1.1/corpa-login.html corpa/corpa-login.html
success: received 637 bytes in 0.253 seconds [ 2517 bytes/sec]
See Also
delete on page 487
dir on page 488
delete
Deletes a file.
Syntax
delete url
Defaults
None.
Access
Enabled.
History
Usage
You might want to copy the file to a TFTP server as a backup before deleting the file.
W arning!
MSS does not prompt you to verify if you want to delete a file. When you
press Enter after typing a delete command, MSS immediately deletes the
specified file.
Note:
MSS does not allow you to delete the currently running software image file or
the running configuration.
url Filename. Specify between 1 and 128 alphanumeric characters, with no spaces.
If the file is in a subdirectory, specify the subdirectory name, followed by a forward
slash, in front of the filename. For example: subdir_a/file_a.
Version 1.0 Command introduced
Version 3.0 Subdirectory support added, to delete a file that is in a subdirectory