beautypg.com

9 using command history, 10 saving your configuration, 1 switch configuration file – ZyXEL Communications GS-4012F/4024 User Manual

Page 260

background image

GS-4012F/4024 User’s Guide

Chapter 42 Introducing Commands

259

Enter

?

to display detailed help information about the sub commands and

parameters.

42.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.

42.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.

42.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.

sysname> ping ?
destination ip address
help Description of ping help

sysname>

sysname> history
enable
exit
show ip
history
sysname>

sysname# write memory