![D-Link xStack DGS-3120-48PC Reference Manual Download Page 301](http://html.mh-extra.com/html/d-link/xstack-dgs-3120-48pc/xstack-dgs-3120-48pc_reference-manual_76212301.webp)
xStack
®
DGS-3120 Series Managed Switch CLI Reference Guide
297
Format
copy {{unit <unit_id>} <drive_id>} <pathname> {{unit <unit_id>} <drive_id>} <pathname>
Parameters
unit
- (Optional) Unit ID in the stacking system. If not specified, it refers to the master unit.
<unit_id>
- Enter the unit ID here.
<drive_id>
- (Optional) Enter the drive ID. Examples are C: or D:
<pathname>
- Specify 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.
unit
- (Optional) Unit ID in the stacking system. If not specified, it refers to the master unit.
<unit_id>
- Enter the unit ID here.
<drive_id>
- (Optional) Enter the drive ID. Examples are C: or D:
<pathname>
- Specify 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.
Restrictions
Only Administrator and Operator-level users can issue this command.
Example
To copy a file:
DGS-3120-24TC:admin# copy c:/log.txt c:/log1.txt
Command: copy c:/log.txt c:/log1.txt
Success.
DGS-3120-24TC:admin#
31-12
format
Description
This command is used to format a specific drive.
Format
format {unit <unit_id>} <drive_id> {[fat16 | fat32]} {<label_name>}
Parameters
unit
- (Optional) Unit ID in the stacking system. If not specified, it refers to the master unit.
<unitid 1-n>
- Enter the unit ID here. This value must be between 1 and n.
<drive_id>
- Specify drive to be formatted.
fat16
- Specify a FAT16 file system
fat32
- Specify a FAT32 file system
<label_name>
- (Optional) Enter the label for the drive here. This value can be up to 8 characters
long.