
Chapter 32 Introducing the Commands
32.8 Using Command History
The switch keeps a list of commands you have entered for the current CLI session. You can use any commands in the history again by pressing the up (y) or down (z) arrow key to scroll through the previously used commands and press [ENTER]. Use the history command to display the list of commands.
Figure 125 CLI: History Command Example
sysname> history enable
exit show ip history
sysname>
32.9 Saving Your Configuration
After you set the switch settings with the configuration commands, use the write memory command to save the changes permanently.
Figure 126 CLI: write memory
"
"
sysname# write memory
The write memory command is not available in User mode.
You must save your changes after each CLI session. All unsaved configuration changes are lost once you restart the switch.
32.9.1 Logging Out
In User or Enable mode, enter the exit or logout command to log out of the CLI. In Config mode, entering exit takes you out of Config mode and into Enable mode and entering logout logs you out of the CLI.
| 213 |
|
|