N8406-023 1Gb Intelligent L3 Switch Command Reference Guide (ISCLI) 145
Configuration Dump
The dump program writes the current switch configuration to the terminal screen. To start the dump program, at the
prompt, enter:
Switch(config)# show running-config
The configuration is displayed with parameters that have been changed from the default values. The screen display
can be captured, edited, and placed in a script file, which can be used to configure other switches. Paste the
configuration commands from the script file at the command line prompt of the switch. The active configuration can
also be saved or loaded via FTP/TFTP.
Saving the active switch configuration
When the
copy running-config {tftp|ftp}
command is used, the active configuration commands of the
switch will be uploaded to the specified script configuration file on the TFTP/FTP server. To start the switch
configuration upload, at the prompt, enter:
Switch(config)# copy running-config {tftp|ftp}
NOTE: The output file is formatted with line-breaks but no carriage returns. The file cannot be viewed with
editors that require carriage returns (such as Microsoft Notepad).
NOTE:
If the TFTP server is running SunOS™ or the Solaris™ operating system, the specified file must exist
prior to executing the
copy running-config tftp
command and must be writable (set with proper
permission, and not locked by any application). The contents of the specified file will be replaced with the
current configuration data.
Restoring the active switch configuration
When the
copy {tftp|ftp} running-config
command is used, the active configuration will be replaced with
the commands found in the specified configuration file. The file can contain a full switch configuration or a partial
configuration.
To start the switch configuration download, at the prompt, enter:
Switch(config)# copy {tftp|ftp} running-config
NOTE:
The switch supports three configuration files: active, backup, and factory. See the ―Selecting a
configuration block‖ section in the ―Boot Options‖ chapter for information on how to set which configuration file
to use upon boot up.