xStack
®
DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide
414
<unit_id>
- Enter the unit ID value. This value must be between 1 and 6.
<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#
38-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 firmware or configuration file of which the 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 value. This value must be between 1 and 6.
<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) Specify 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”:
Содержание xStack DGS-3120 Series
Страница 1: ......
Страница 186: ...xStack DGS 3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide 181...
Страница 204: ...xStack DGS 3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide 199...
Страница 363: ...xStack DGS 3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide 358...
Страница 788: ...xStack DGS 3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide 783 DGS 3120 24TC admin...
Страница 1056: ...xStack DGS 3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide 1051...