D-Link DGS-3600 Switch User Manual


 
xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
60
DGS-3600:4#erase c:/startup.cfg
Command: erase c:/startup.cfg
processing…100%
Success.
DGS-3600:4#
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 users can issue this command.
Example usage:
To rename a file:
DGS-3600:4#rename c:/abc.txt c:/cba.txt
Command: rename c:/abc.txt c:/cba.txt
Success.
DGS-3600:4#
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.
Example usage:
To view the directory files on the internal flash drive: