Configuration Commands

Saving the active switch configuration

When the copy running-global configuration {tftpftp} command is used, the active configuration commands of the switch will be uploaded to the specified script configuration file on the FTP/TFTP server. To start the switch configuration upload, at the prompt, enter:

Switch(config)# copy running-config startup-config

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 FTP/TFTP server is running SunOS™ or the Solaris™ operating system, the specified file must exist prior to executing the copy running-config {tftpftp} 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 {tftpftp} running-configcommand 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 {tftpftp} 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.

185

Page 185
Image 185
HP 445942-001 manual Saving the active switch configuration, Restoring the active switch configuration