6.4.1 Command list
The following table lists the commands used to edit and operate the configuration.
Command name |
Description |
---|---|
end |
Ends configuration command mode and returns you to administrator mode. |
quit (exit) |
Returns to the previous mode. If you are editing a configuration in global configuration mode, the command ends configuration command mode and returns you to administrator mode. |
save (write) |
Saves the edited configuration as the startup configuration. |
show |
Shows the configuration being edited. |
status |
Shows the status of the configuration being edited. |
top |
Returns you from a level-2 or level-3 configuration command mode to global configuration mode (level 1). |
The following table lists the operation commands related to editing and operating the configuration.
Command name |
Description |
---|---|
show running-config |
Display the running configuration. |
show startup-config |
Shows the startup configuration. |
copy |
Copies a configuration. |
erase configuration |
Resets a running configuration to the defaults. |
erase startup-config |
Restores the contents of the startup-config file to the state at the time of initial installation. |
show file |
Shows the contents and line numbers of a local or remote server file. |
cd |
Changes the directory. |
pwd |
Shows the path to the current directory. |
ls |
Lists files and directories. |
dir |
Lists recoverably deleted files used by the Switch. |
cat |
Shows the contents of a specified file. |
cp |
Copies a file. |
mkdir |
Creates a new directory. |
mv |
Moves or renames a file. |
rm |
Deletes a specified file. |
rmdir |
Deletes a specified directory. |
delete |
Recoverably deletes files used by the Switch. |
undelete |
Restores recoverably deleted files used by the Switch. |
squeeze |
Completely erases files used by the Switch that have been recoverably deleted. |