![D-Link xStack DGS-3120-48PC Reference Manual Download Page 298](http://html.mh-extra.com/html/d-link/xstack-dgs-3120-48pc/xstack-dgs-3120-48pc_reference-manual_76212298.webp)
xStack
®
DGS-3120 Series Managed Switch CLI Reference Guide
294
DGS-3120-24TC:admin#dir
Command: dir
Directory of /unit2:/c:
Idx Info Attr Size Update Time Name
--- ------- ---- -------- ------------------- ----------------
1 drw- 0 2000/04/02 06:02:04 12
2 CFG(*) -rw- 29661 2000/04/01 05:54:38 config.cfg
3 RUN(*) -rw- 4879040 2000/03/26 03:15:11 B019.had
4 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#del 12 recursive
Command: del 12 recursive
Success.
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#
31-9
erase
Description
This command is used to delete a file stored in the file system.
System will prompt if the target file is a FW or configuration whose type is boot up.
Format
erase {{unit <unit_id>} <drive_id>} <pathname>
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 here.