D-Link DGS-3120-48PC Reference Manual page 297

Layer 2 managed stackable gigabit switch
Hide thumbs Also See for DGS-3120-48PC:
Table of Contents

Advertisement

®
xStack
<unit_id> - Enter the unit ID here.
<drive_id> - (Optional) Enter the drive ID used here. Examples are C: or D:
<pathname> - Specified the file (in path form) to be renamed.
<filename> - Specified the new name of the file.
Restrictions
Only Administrator and Operator-level users can issue this command.
Example
To rename a file:
DGS-3120-24TC:admin# rename run.had run1.had
Command: rename run.had run1.had
Success.
DGS-3120-24TC:admin#
31-8
del
Description
This command is used to delete a file, either physically or softly. It is also used to delete a directory
and its contents. If two files with the same name under the same directory are softly deleted
sequentially, only the last one will exist. Deleting, copying, renaming or moving the already softly
deleted file is not acceptable.
System will prompt if the target file is a FW or configuration whose type is bootup or backup.
Format
del {{unit <unit_id>} <drive_id>} <pathname> {recursive}
Parameters
unit - (Optional) Specify a unit ID if in the stacking system. If not specified, it refers to the master
unit.
<unit_id> - Enter the unit ID here.
<drive_id> - (Optional) Enter the drive ID used here. Examples are C: or D:
<pathname>- Specify the file or directory to be deleted. If it is specified in the associated form,
then it is related to the current directory.
recursive - (Optional) Used on directory, to delete a directory and its contents even if it's not
empty.
Restrictions
Only Administrator and Operator-level users can issue this command.
Example
Delete a directory with parameter "recursive":
DGS-3120 Series Managed Switch CLI Reference Guide
293

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Xstack dgs-3120 series

Table of Contents