D-Link DGS-3600 Switch User Manual


 
xStack
®
DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
288
Total Files 5
Total Size 10094939 bytes
Free Space 4063232 bytes
'*' means boot up section
DGS-3627:admin#
rename
Purpose This command is used to rename a file.
Syntax
rename {{unit <unit_id 1-12>} <drive_id>} <pathname 64> <filename 64>
Description This command is used to rename a file. Note that for standalone device, the unit argument is
not needed. This command is used to rename a file in the file system. The pathname
specifies the file (in path form) to be renamed and the filename specifies the new filename. If
the pathname is not a full path, then it refers to a path under the current directory for the
drive. The renamed file will stay in the same directory.
Parameters
unit - (Optional) Specifies a unit ID if in the stacking system. If not specified, it refers to the
master unit.
<unitid 1-12> - Enter the unit ID here. This value must be between 1 and 12.
<drive_id> - Specifies the drive ID used.
<pathname 64> - Specified the file (in path form) to be renamed. This name can be up to 64
characters long.
<filename 64> - Specified the new name of the file. This name can be up to 64 characters
long.
Restrictions Only Administrator and Operator-level users can issue this command.
Example usage:
To rename a file:
DGS-3627:admin#rename run.had run1.had
Command: rename run.had run1.had
Please wait, do not power off!
Process ......................Done.
Success.
DGS-3627:admin#
erase
Purpose This command is used to delete a file stored in the file system.
Syntax
erase {{unit <unit_id 1-12>} <drive_id>} <pathname 64>
Description System will prompt if the target file is a FW or configuration whose type is boot up or backup.
Parameters
unit - (Optional) Specifies a unit ID if in the stacking system. If not specified, it refers to the
master unit.
<unit 1-12> - Enter the unit ID here. This value must be between 1 and 12.
<drive_id> - Specifies the drive ID used.
<pathname 64> - Specifies the file to be deleted. If it is specified in the associated form, then
it is related to the current directory. This name can be up to 64 characters long.
Restrictions Only Administrator and Operator-level users can issue this command.