Users Guide

Table Of Contents
delete
Removes or deletes a le, including the startup conguration le.
Syntax
delete [config://filepath | coredump://filepath | home://filepath | image://
filepath | startup-configuration | severity-profile profile-name |
supportbundle://filepath | usb://filepath]
Parameters
config://filepath — (Optional) Delete from the conguration directory.
coredump://filepath — (Optional) Delete from the coredump directory.
home://filepath — (Optional) Delete from the home directory.
image://filepath — (Optional) Delete from the image directory.
startup-configuration — (Optional) Delete the startup conguration.
severity-profile — (Optional) Delete from severity prole directory, severity-prole://lepath.
supportbundle://filepath — (Optional) Delete from the support-bundle directory.
usb://filepath — (Optional) Delete from the USB le system.
Default Not congured
Command Mode EXEC
Usage Information Use this command to remove a regular le, software image, or startup conguration. Removing the startup
conguration restores the system to the factory default. You must reboot the switch using the reload command
for the operation to take eect.
NOTE:
Use caution when removing the startup conguration.
When the cong partition has low disk space, a syslog message displays:
SYS_STAT_LOW_DISK_SPACE: Warning! Configuration directory has 0.0% free.
Please delete unnecessary files from home directory.
When you see this error, delete unwanted les from the home directory or you may encounter degraded
system performance.
Example
OS10# delete startup-configuration
OS10# delete severity-profile://mySevProf.xml
Supported Releases 10.2.0E or later
dir
Displays les stored in available directories.
Syntax
dir {config | coredump | home | image | severity-profile | supportbundle | usb}
Parameters
config — (Optional) Folder containing conguration les.
coredump — (Optional) Folder containing coredump les.
home — (Optional) Folder containing les in your home directory.
image — (Optional) Folder containing image les.
CLI Basics 63