User manual

Configuration Commands 58
Configuration Commands
Introduction
The Configuration commands are available only from an administrator login. They include commands for
configuring every aspect of the switch. Changes can be saved to non-volatile memory (NVRAM).
The following table describes the basic Configuration commands. The following sections provide more detailed
information and commands.
Table 54 Configuration commands
Command Usage
show running-config
Dumps current configuration to a script file.
Command mode: All
copy running-config {tftp}
Backs up current configuration to TFTP server.
Command mode: All
copy {tftp} running-config
Restores current configuration from TFTP server.
Command mode: All
Viewing and saving changes
As you use the configuration commands to set switch parameters, the changes you make take effect immediately.
You do not need to apply configuration changes when you use the ISCLI. Any changes are lost the next time the
switch boots unless the changes are explicitly saved.
Saving the configuration
You must save configuration changes to flash memory, so the switch reloads the setting when you reset the switch.
IMPORTANT: If you do not save the changes, they are lost the next time the system is reloaded.
To save the new configuration, enter the following command at any prompt:
Switch# copy running-config startup-config
When you save configuration changes, the changes are saved to the active configuration block.
For instructions about selecting the configuration to run at the next system reload, see the “Selecting a
configuration block” section in the “Boot Options” chapter.
System configuration
These commands allow you to configure switch management parameters such as user and administrator privilege
mode passwords, browser-based management settings, and management access list.
The following table describes the System Configuration commands.
Table 55 System Configuration commands
Command Usage
system date <yyyy> <mm> <dd>
Prompts the user for the system date.
Command mode: Global configuration
system time <hh>:<mm>:<ss>
Configures the system time using a 24-hour clock format.
Command mode: Global configuration
system timezone
Configures the time zone where the switch resides. You are
prompted to select your location (continent, country, region) by the
timezone wizard. Once a region is selected, the switch updates the
time to reflect local changes to Daylight Savings Time, etc.
Command mode: Global configuration
system idle <1-60>
Sets the idle timeout for CLI sessions, from 1 to 60 minutes. The
default is 5 minutes.
This setting affects both the console port and Telnet port.
Command mode: Global configuration