xStack DGS-3612G Layer 3 Gigabit Ethernet Managed Switch CLI Manual
erase
Purpose
Used to delete a file located on the internal FLASH memory of the
Switch.
Syntax
erase <path_filename 64>
Description
This command is used to erase a file located on the internal FLASH
memory of the Switch.
Parameters
<path_filename 64>
– Specifies the path and filename of the file
located on the FLASH drive of the Switch, to be deleted.
Restrictions Only
administrator-level users can issue this command.
Example usage:
To delete file “c:/startup.cfg” from the Switch’s FLASH memory:
DGS-3612G:4#erase c:/startup.cfg
Command: erase c:/startup.cfg
processing…100%
Success.
DGS-3612G:4#
rename
Purpose
To rename a file.
Syntax
rename <source_path_filename 64> <target_path_filename 64>
Description
This command is used to rename a filename located on the internal
FLASH memory.
Parameters
<source_path_filename 64> -
Enter the path and name of the file to
be renamed.
<target_path_filename 64> -
Enter the new name and path of the file
to be renamed. This entry cannot exceed 64 characters in length.
Restrictions Only
administrator-level users can issue this command.
Example usage:
To rename a file:
DGS-3612G:4#rename c:/abc.txt c:/cba.txt
Command: rename c:/abc.txt c:/cba.txt
Success.
DGS-3612G:4#
52
dir
Purpose
Used to list the files located on the FLASH memory drive, labeled
c:
.
Syntax
dir {<pathname 64>}
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
<pathname 64> - Use c:
as the pathname. This is the only drive
located on the FLASH memory of the switch.