xStack
®
DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide
413
Parameters
unit
- (Optional) Specify a unit ID if in the stacking system. If not specified, it refers to the master
unit.
<unit_id>
- Enter the unit ID value. This value must be between 1 and 6.
<drive_id>
- (Optional) Enter the drive ID used here. Examples are C: or D:
<pathname>
- (Optional) Specify the directory to be removed. 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
None.
Example
List the files:
DGS-3120-24TC:admin#dir
Command: dir
Directory of /unit2:/c:
Idx Info Attr Size Update Time Name
--- ------- ---- -------- ------------------- ----------------
1 CFG(*) -rw- 29661 2000/04/01 05:54:38 config.cfg
2 RUN(*) -rw- 4879040 2000/03/26 03:15:11 B019.had
3 d--- 0 2000/04/01 05:17:36 system
29618 KB total (24727 KB free)
(*) -with boot up info (b) -with backup info
DGS-3120-24TC:admin#
38-7
rename
Description
This command is used to rename a file. Note that for standalone device, the unit argument is not
needed. This command is used to rename a file in the file system. The pathname specifies the file
(in path form) to be renamed and the filename specifies the new filename. If the pathname is not a
full path, then it refers to a path under the current directory for the drive. The renamed file will stay
in the same directory.
Format
rename {{unit <unit_id>} <drive_id>} <pathname> <filename>
Parameters
unit
- (Optional) Specify a unit ID if in the stacking system. If not specified, it refers to the master
unit.
Summary of Contents for xStack DGS-3120 Series
Page 1: ......
Page 186: ...xStack DGS 3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide 181...
Page 204: ...xStack DGS 3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide 199...
Page 363: ...xStack DGS 3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide 358...
Page 1056: ...xStack DGS 3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide 1051...