Help Center Help Articles Community RMA & Warranty Downloads Tech Specs

EdgeSwitch & EdgeSwitch X - Backup and Restore the Configuration

Translated by AI

Overview

Readers will leader how to backup and restore the configuration file of an EdgeSwitch (ES) or EdgeSwitch X (ES-X). 

NOTES & REQUIREMENTS:
Applicable to the latest EdgeSwitch firmware on all EdgeSwitch models. Please see the Related Articles below for more information.
 
Devices and products used in this article:

Table of Contents

  1. EdgeSwitch Configuration Files
  2. Backup and Restore using the Web UI
  3. Backup and Restore using UNMS
  4. Backup and Restore using the Command Line
  5. Related Articles

EdgeSwitch Configuration Files

Back to Top

The EdgeSwitch platform uses the following configuration files:

  • Running Config The configuration that is currently active on the device. 
  • Startup/Boot Config The configuration that is loaded when the EdgeSwitch boots up.
  • Backup Config Generated by using the backup functionality and can be used to restore the switch.

Backup and Restore using the Web UI

Back to Top

topology.png

Using the Web UI to download and upload the configuration archive from the EdgeSwitch to a local computer.

GUI: Access the EdgeSwitch Web UI.

1. Navigate to the Settings  settings.png  to download the backup archive.

Settings > System actions > Backup

systemactions.png

2. Download the archive file by clicking on the Backup button.

3. The EdgeSwitch will prompt you to save the configuration archive to your computer.

NOTE: The backup configuration archive is namedhostname.tar.gz.

If you wish to restore the device using the configuration archive, follow the steps below:

GUI: Access the EdgeSwitch Web UI.

1. Navigate to the Settings  settings.png  to upload the previously downloaded configuration archive.

Settings > System actions > Restore

systemactions.png

2. Upload the archive file by clicking on the Restore button.

3. The EdgeSwitch will prompt you to upload the configuration archive from your computer.

4. Reboot the device after the configuration has been successfully uploaded to the switch using the Reboot  reboot.png  button.

Backup and Restore using UNMS

Back to Top

GUI: Access the UNMS Controller Web Portal.

1. Navigate to the Devices  devices.png  and select the EdgeSwitch.

2. Navigate to the Backups  backup.png  section.

3. Manually create a new backup using the createbackup.png button.

NOTE:UNMS will automatically create backups for devices by default.

If you wish to restore the device using UNMS, follow the steps below:

GUI: Access the UNMS Controller Web Portal.

1. Navigate to the Devices  devices.png  and select the EdgeSwitch.

2. Navigate to the Backups  backup.png  section.

3. Click on the Restore button in the Actions menu for one of the manually or automatically created backup files.

restore.png

4. The EdgeSwitch will automatically apply the backup configuration and does not need to be restarted.

Backup and Restore using the Command Line

Back to Top

ATTENTION: The steps below do not apply to the EdgeSwitch X (ES-X) models.

It is also possible to backup and restore the configuration using the CLI and a TFTP server for example. Follow the steps below to backup the startup configuration file:

CLI: Access the EdgeSwitch Command Line Interface.

1. Enter privileged mode.

enable

2. Make sure that the running config is saved to the startup config.

write memory

3. Verify the contents of the startup configuration.

show startup-config

4. Transfer the startup configuration from the EdgeSwitch using either HTTP(S), TFTP or FTP.

copy nvram:startup-config tftp://192.168.1.10/backup-cfg

Mode........................................... TFTP
Set Server IP.................................. 192.168.1.10
Path........................................... ./
Filename....................................... backup-cfg
Data Type...................................... Text Configuration

Management access will be blocked for the duration of the transfer
Are you sure you want to start? (y/n) y

File transfer in progress. Management access will be blocked for the duration of the transfer. please wait...

File transfer operation completed successfully.
NOTE: You can choose a different name when copying the startup configuration.

5. Verify the contents of the startup configuration by opening the backup-cfg file using a text editor.

!Current Configuration:
!
hostname "EdgeSwitch"
vlan database
!
<...output shortened...>

If you wish to restore the device using the startup configuration file, follow the steps below:

1. Enter privileged mode.

enable

2. Transfer the startup configuration to the EdgeSwitch using either HTTP(S), TFTP or FTP.

copy tftp://192.168.1.10/backup-cfg nvram:startup-config

Mode........................................... TFTP
Set Server IP.................................. 192.168.1.10
Path........................................... ./
Filename....................................... backup-cfg
Data Type...................................... Text Configuration

Download configuration file. Configuration will be applied upon next reboot.

Management access will be blocked for the duration of the transfer
Are you sure you want to start? (y/n) y

File transfer in progress. Management access will be blocked for the duration of the transfer. please wait...

File transfer operation completed successfully.

3. Verify the contents of the startup configuration.

show startup-config

4. Reboot the device to load the new startup configuration.

reload 

Related Articles

Back to Top

EdgeSwitch - How to Connect to Serial Console

EdgeRouter - Backup and Restore the Configuration

Intro to Networking - How to Establish a Connection Using SSH

EdgeSwitch & EdgeSwitch X - How to Sanitize the Configuration

Was this article helpful?
0 out of 0 found this helpful