Chapter 45 Introducing Commands

"You must save your changes after each CLI session. All unsaved configuration changes are lost once you restart the Switch.

sysname# write memory

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

"

"

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.

45.11.2 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 the Config mode and into Enable mode and entering logout logs you out of the CLI.

45.12 Command Summary

The following sections summarize the commands available in the Switch together with a brief description of each command. Commands listed in the tables are in the same order as they are displayed in the CLI. See the related section in the User’s Guide for more background information.

332

 

GS-4012F/4024 User’s Guide