The Backup Configuration File or log of the switch is useful for troubleshooting or if the device accidentally gets reset. This contains manual copies of files used for protection against system shutdown or for the maintenance of a specific operating state. For instance, you can copy and save the Mirror Configuration, Startup Configuration, or Running Configuration to a Backup file. You can use this file to update or restore the switch back to its functional state.
The Backup Configuration File can be saved on the Internal Flash memory or a USB device attached on your switch, a Trivial File Transfer Protocol (TFTP) server, a Secure Copy (SCP) server, or on your computer. This article will guide you on how to download or back up a system configuration file through any of the following methods:
Step 1. Log in to the web-based utility of your switch. The default username and password is cisco/cisco.
Note: If you already have changed the password or created a new account, enter your new credentials instead.
Step 2. Choose Advanced from the Display Mode drop-down list.
Step 3. Click Administration > File Management > File Operations.
Note: The available menu options may vary depending on the device model. In this example, SG350X-48MP switch is used.
Step 4. Click the Backup File radio button to back up a configuration file.
Step 5. In the Source File Type area, click the radio button of the type of file that you want to be backed up. The switch maintains the following configuration files.
Note: In this example, Running Configuration is chosen.
Step 6. Choose one from the following backup methods:
Step 1. Click the HTTP/HTTPS button to back up a configuration file on your local computer.
Step 2. In the Sensitive Data Handling area, choose how sensitive data should be included in the backup file. The options are:
Note: In this example, Plaintext is chosen. This will back up all data in plaintext form.
Step 3. Click Apply.
Once the operation is finished, a Success message will be displayed in the File Operations page.
You should now have successfully backed up the configuration file of your switch through the HTTP/HTTPS transfer method.
Step 1. Choose either USB or Internal Flash as the copy method. In this example, Internal Flash is chosen.
Step 2. In the File Name field, enter name of destination file.
Note: In this example, the running configuration file named SG350X-48MP.txt will be saved in the Internal Flash memory of the switch.
Step 3. In the Sensitive Data Handling area, choose how sensitive data should be included in the backup file. The options are:
Note: In this example, Plaintext is chosen. This will back up all data in plaintext form.
Step 4. Click Apply to copy the configuration file from the Internal Flash to your switch.
Once the operation is finished, a Success message will be displayed in the File Operations page.
You should now have successfully backed up the system configuration file on your switch through the Internal Flash or USB copy method.
Step 1. In the Copy Method area, click the TFTPradio button. The TFTP method is chosen to download or back up configuration file via TFTP server. This download or back up of configuration files are done over a secure network.
Step 2. Click a radio button in the TFTP Server Definition area. The options are:
Step 3. (Optional) If you chose By IP address, choose either Version 4 (IPv4) or Version 6 (IPv6) from the IP Version area. If you chose Version 6, specify whether the IPv6 is a Link Local or Global address in the IPv6 Address Type area. If it is a link local address, choose the interface from the Link Local Interface drop-down list. If Version 4 is chosen, skip to Step 4.
Note: In this example, IP Version 4 is chosen.
Step 4. (Optional) If you selected By name in Step 2, enter the hostname of the TFTP server in the Server IP Address/Name field. Otherwise, enter the IP address.
Note: In this example, the configuration file will be saved into the TFTP server with 192.168.100.147 IP address.
Step 5. Enter the backup file name in the Destination field. In this example, SG350X-48MP.txt is used.
Step 6. In the Sensitive Data Handling area, choose how sensitive data should be included in the backup file. The options are:
Note: In this example, Encrypt is chosen. This will back up all data in encrypted form.
Step 7. Click Apply to start the backup operation.
Once the operation is finished, a Success message will be displayed in the File Operations page.
You should now have successfully backed up the configuration file of your switch through the TFTP copy method.
Important: Before you proceed with the SCP method, make sure that SSH server authentication is enabled and the corresponding settings have been configured. For instructions on how to configure SSH authentication settings on your switch, click here.
Step 1. In the Copy Method area, click the SCP (File transfer via SSH) radio button. The SCP method is chosen to download or back up configuration file via Secure Shell (SSH). This download or back up of configuration files are done over a secure network.
Step 2. Make sure that the Remote SSH Server Authentication is set to Enabled. This feature authenticates SSH servers, making sure that the expected SSH server is the correct one. It is disabled by default. Even when disabled, this feature will not affect SSH communications for file operations. If disabled, click Edit to enable the feature.
Step 3. Choose a radio button in the SSH Client Authentication area to specify which SSH credentials to use when contacting the remote host. Choose Use SSH Client System Credentials to use the permanent SSH credentials stored on the switch (these credentials can be set for future use by clicking System Credentials, which opens the SSH User Authentication page, or choose Use SSH Client One-Time Credentials to use temporary credentials.
Note: The username and password for one-time credential will not be saved in configuration file.
Note: In this example, Use SSH Client One-Time Credentials is chosen and the username and password details are entered accordingly.
Step 4. Click a radio button in the SCP Server Definition area. The options are:
Step 5. (Optional) If you chose By IP address, choose either Version 4 (IPv4) or Version 6 (IPv6) from the IP Version area. If you chose Version 6, specify whether the IPv6 is a Link Local or Global address in the IPv6 Address Type area. If it is a link local address, choose the interface from the Link Local Interface drop-down list. If Version 4 is chosen, skip to Step 6.
Note: In this example, IP Version 4 is chosen.
Step 6. (Optional) If you selected By name in Step 4, enter the hostname of the TFTP server in the Server IP Address/Name field. Otherwise, enter the IP address.
Note: In this example, the configuration file will be saved into the SCP server with 192.168.100.148 IP address.
Step 7. Enter the backup file name in the Destination field. In this example, the backup configuration file will be saved in the SG350X-48MP.txt file.
Step 8. In the Sensitive Data Handling area, choose how sensitive data should be included in the backup file. The options are:
Note: In this example, Exclude is chosen. The backup file will not include sensitive data.
Step 9. Click Apply to start the backup operation.
Once the operation is finished, a Success message will be displayed in the File Operations page.
You should now have successfully backed up the configuration file of your switch through the SCP copy method.
To know how to update a configuration file on a switch, click here. To duplicate a configuration file, click here for instructions.
Revision | Publish Date | Comments |
---|---|---|
1.0 |
12-Dec-2018 |
Initial Release |