xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
62
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-level
and operator-level users can issue this
command.
Example usage:
To rename a file:
DGS-3627:5#rename C:\ abc.txt cba.txt
Command: rename C:\ abc.txt cba.txt
Success.
DGS-3627:5#
dir
Purpose
Used to list the files located on the flash memory drive, labeled
c:
.
Syntax
dir {{unit [<unitid 1-12> | all]} <drive_id>}
Description
This command is used to display files saved to the flash directory of
the Switch. Since there is only one labeled drive located on the flash,
the user can only input the command
dir c:
to view the contents of
the flash memory.
Parameters
unit <unitid 1-12>
- Select the switch in the switch stack where the
files are, that will be displayed, denoted by unit ID number.
all
– Use this parameter to select all switches in the switch stack.
<drive_id>
- Enter the drive ID of the internal flash drive to be
viewed.
Restrictions None.