NEC N8406-022 Saving the active switch configuration, Restoring the active switch configuration

Models: N8406-022

1 102
Download 102 pages 22.4 Kb
Page 91
Image 91
Saving the active switch configuration

Saving the active switch configuration

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

Switch(config)# copy running-config tftp

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

Configuration Commands 91

Page 91
Image 91
NEC N8406-022 manual Saving the active switch configuration, Restoring the active switch configuration