beautypg.com

8 using command history, 9 saving your configuration, 1 logging out – ZyXEL Communications GS-3012F Series User Manual

Page 213

background image

Chapter 32 Introducing the Commands

GS-3012/GS-3012F User’s Guide

213

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

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

"

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.

sysname> history
enable
exit
show ip
history
sysname>

sysname# write memory