
ES-3148 User’s Guide
236 Chapter 34 Introducing Commands
34.9 Using Command History
The switch keeps a list of recently used commands available to you for reuse. 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.
34.10 Saving Your Configuration
After you set the switch settings with the configuration commands, use the write memory
command to save the changes permanently.
Note: 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.
34.10.1 Switch Configuration File
When you configure the switch using either the CLI (Command Line Interface) or web
configurator, the settings are saved as a series of commands in a configuration file on the
switch. You can perform the following with a configuration file:
• Back up switch configuration once the switch is set up to work in your network.
• Restore switch configuration.
• Use the same configuration file to set all switches (of the same model) in your network to
the same settings.
Note: You may also edit a configuration file using a text editor.
Make sure you use valid commands. The switch rejects configuration files with
invalid or incomplete commands.
sysname> history
enable
exit
show ip
history
sysname>
sysname# write memory