xStack DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
63
Example usage:
To view the directory files on the internal flash drive:
DGS-3627:5#dir c:
Command: dir C:\
-------------------------------------------------------------------------------------------------------
Current Unit ID: 1
Current Directory: C:\
File Name Size(byte) Update time
-------------------------------- ----------------------- -----------------------
LOG.TXT 520124 bytes 2007/10/27 16:56
RUN.HAD (*) 2678500 bytes 2007/10/27 16:25
STARTUP.CFG (*) 11007 bytes 2007/10/27 16:24
-----------------------------------------------------------------------------------------------------
Total Files 4
Total Size 9293625 bytes
Free Space 2097152 bytes
‘*’ means boot up section
DGS-3627:5#
copy
Purpose
Used to copy a file.
Syntax
copy {<drive_id>} <pathname 64> {{unit_id 1-12>} <drive_id>}
<pathname 64>
Description
This command is used to copy a file from a source location and
paste it to a host location. This command is only operable for the
storage media accessory.
Parameters
<drive_id>
- Enter the drive ID of the internal flash drive where the
file is to be copied from.
<pathname 64> -
Enter the path and name of the file to be renamed.
unit <unit_id 1-12>
- Select the switch in the switch stack where the
firmware image is to be copied to, denoted by unit ID number.
<drive_id>
- Enter the drive ID of the internal flash drive where the
file is to be copied to.
<pathname 64>
- Enter the path and name of the file to be renamed.
Restrictions Only
administrator-level
and operator-level users can issue this
command.
Example usage:
To copy a file:
DGS-3627:5#copy C:\ abc.cfg C:\ def.txt
Command: copy C:\ abc.cfg C:\ def.txt
Please wait, do not power off!
Process ......................Done.
DGS-3627:5#