xStack
®
DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
67
erase
Purpose
Used to delete a file located on the internal flash memory of the
Switch.
Syntax
erase {{unit [<unitid 1-12>]} <drive_id>} <pathname 64>
Description
This command is used to erase a file located on the internal flash
memory of the Switch.
Parameters
unit <unit_id 1-12>
– Select the switch in the switch stack where the
file is that will be configured, denoted by unit ID number.
<drive_id>
– Enter the drive ID of the internal flash drive to be
erased.
<pathname 64>
– Specifies the path and filename of the file located
on the flash drive of the Switch, to be deleted.
Restrictions
Only Administrator and Operator-level users can issue this
command.
Example usage:
To delete file “c:/startup.cfg” from the Switch’s flash memory:
DGS-3627:5#erase c:/ startup.cfg
Command: erase c:/ startup.cfg
Please wait, do not power off!
Process ......................Done.
Success.
DGS-3627:5#
rename
Purpose
To rename a file.
Syntax
rename {{unit [<unitid 1-12>]} <drive_id>} <pathname 64> <
filename 64>
Description
This command is used to rename a filename located on the internal
flash memory.
Parameters
unit <unit_id 1-12>
– Select the switch in the switch stack where the
firmware image is, that will be configured, denoted by unit ID
number.
<drive_id>
– Enter the drive ID of the internal flash drive to be
renamed.
<pathname 64>
–
Enter the path and name of the file to be renamed.
<filename 64>
–
Enter the new name of the file to be renamed. This
entry cannot exceed 64 characters in length.
Restrictions
Only Administrator and Operator-level users can issue this
command.