D-Link DGS-3600 Switch User Manual


 
xStack
®
DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
289
Example usage:
To erase a file:
DGS-3627:admin#dir C:\
Command: dir C:\
----------------------------------------------------------------
Current Unit ID: 1
Current Directory: C:\
File Name Size(byte) Update Time
------------------------ -------------- ----------------
612 19915 bytes 2010/06/12 14:52
LOG.TXT 1835008 bytes 2010/05/11 17:06
R250B51.HAD 3548272 bytes 2010/04/29 15:51
RUN.HAD (*) 4672664 bytes 2010/06/17 10:38
STARTUP.CFG (*) 19166 bytes 2010/06/17 15:30
TESTCFG 18329 bytes 2010/05/07 14:09
----------------------------------------------------------------
Total Files 6
Total Size 10113354 bytes
Free Space 5177344 bytes
'*' means boot up section
DGS-3627:admin#erase C:\ R250B51.had
Command: erase C:\ R250B51.had
Please wait, do not power off!
Process ......................Done.
Success.
DGS-3627:admin#
copy
Purpose This command is used to copy a file to another file in the file system.
Syntax
copy {<drive_id>} <pathname 64> {{unit <unit_id 1-12>} <drive_id>} <pathname 64>
Description A file located in a drive of a unit can be copied to another file located in another drive of
another unit.
For project that does not support file system on the flash, the system file such as runtime
image/configuration / prom /log can still be copied to media or from media that support sfile
system via this command using the reserved keyword. The keyword here refers to image_id,
config_id, prom, or log.
Parameters
<drive_id> - Specifies the drive ID used.
unit - (Optional) Unit ID in the stacking system. If not specified, it refers to the master unit.
<unitid 1-12> - Enter the unit ID here. This value must be between 1 and 12.
<pathname 64> - Specifies the file to be copied. The path name can be specified either as a
full path name or partial name. For partial path name, it indicates the file is in the current
directory. This name can be up to 64 characters long.
<pathname 64> - Specifies the file to copy to. The path name can be specified either as a full
path name or partial name. For partial path name, it indicates the file is in the current
directory. This name can be up to 64 characters long.
Restrictions Only Administrator and Operator-level users can issue this command.