EdgeSwitch - How to Sanitize EdgeSwitch Configurations


Readers will learn how to properly format and sanitize EdgeSwitch configurations to remove all personal and sensitive information.

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

Table of Contents

  1. Downloading the Configuration from the EdgeSwitch
  2. Sanitizing the Configuration
  3. Related Articles

Downloading the Configuration from the EdgeSwitch

Back to Top


The first step is to download the backup archive from the EdgeSwitch using the Web UI.

GUI: Access the EdgeSwitch Web UI.

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

Settings > System actions > Backup


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

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

NOTE: The backup configuration is named backup-cfg and is included in the hostname.tar.gz archive.

4. Open the hostname.tar.gz archive using a file archival program such as 7-Zip.

5. Extract the backup-cfg file from the archive.

Sanitizing the Configuration

Back to Top

Now we can modify the contents of the config.boot file in order to sanitize (obscure) any sensitive information. Some examples are:

  • Usernames
  • Passwords
  • Public IP addresses
  • UNMS connection info
  • Switch hostname
  • Custom banner message

1. Open the cfg-backup file using a text editor.

2. Look for any sensitive information to obscure.

3. Save the edited cfg-backup file.

Related Articles

Back to Top

EdgeSwitch - Backup and Restore Configuration

EdgeRouter - How to Sanitize EdgeRouter Configurations

Intro to Networking - How to Establish a Connection Using SSH

We're sorry to hear that!