Command Reference File System Commands
when the file to be copied exists on the target URL, the target file system determines the action, such
as error report, overwrite, or offering you the choice.
The following table lists the URL:
Running configuration file.
startup configuration file.
The URL of TFTP network server, in the format as follows:
tftp:[[//location]/directory]/filename
The URL of TFTP network server connected with the Out-of-Band port, If
there are multiple MGMT ports, you can specify one.
The following example copies the netconfig file from device 192.168.64.2 to the FLASH disk and the
netconfile file exists locally.
Ruijie#copy tftp://192.168.64.2/netconfig flash:/netconfig
Do you want to overwrite [/data/netconfig]? [Y/N]:y
Press Ctrl+C to quit
!
Copy success.
Displays the file list of the specified directory.
Use this command to delete the files in the present directory.
delete [ filesystem: ] file-url
The URL of file system, followed by a colon (:). The file system
includes flash:, usb: and tmp:.
The file name containing the path. A file name starts with “/” is an
absolute path. Otherwise, it is a relative path.
The default filesystem: is flash:.