DGS-3000 Series Layer 2 Managed Gigabit Ethernet Switch CLI Reference Guide
365
Example
Delete a directory with parameter “recursive”:
DGS-3000-26TC:admin#dir
Command: dir
Directory of / 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 runtime.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-3000-26TC:admin#del 12 recursive
Command: del 12 recursive
Success.
DGS-3000-26TC:admin#dir
Command: dir
Directory of / 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 runtime.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
erase 34-8
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 {<drive_id>} <pathname>