Recover a switch with a console port
Recover a switch with a corrupted firmware image using a console connection.
Process
When Sophos Switch can't boot any active or backup partition images, it starts in bootloader mode. When in this mode, you must upload a new firmware file in .bix
format from a TFTP server.
The supported switch models with an RJ45 console port are as follows:
- CS110-24
- CS110-24FP
- CS110-48
- CS110-48P
- CS110-48FP
- CS210-8FP
- CS210-48FP
- CS1010-8FP
How to recover the switch
This example uses Tftpd64 as the TFTP server. You can use any server with the same settings.
To recover the switch using the console port, do as follows:
- Sign in to your Sophos Central account and go to Devices > Installers.
- Under Switches, click Download recovery image.
- Locate the
.zip
file and extract it to the location of your choice. -
Configure the Windows device's Ethernet port with a static IP address of
172.16.16.20
.Note
The default IP address of the switch is
172.16.16.239
. If your Windows device isn't on the same subnet as the default IP address, the switch won't be able to connect to the TFTP server. -
Configure the TFTP server with the following settings:
- Base Directory: Set this to the folder where you extracted your recovery image.
- TFTP security: None
- PXE compatibility: Selected
- Allow '\' as virtual root: Selected
-
Start the TFTP server.
- Connect to the switch using the console port.
- Open any terminal emulation program, such as PuTTY.
-
Select the COM port, and use the following settings:
- Baud Rate: 115200
- Data bits: 8
- Parity: None
- Stop bits: 1
- Flow Control: None
Press Enter on your keyboard to connect to the CLI.
-
Sign in using the username 'admin' and the unique password for this switch.
Tip
The unique password is located on a sticker on the chassis of the switch. An additional sticker is in the packaging.
-
Select option
5
to check the current IP address of the switch. It should be the default IP address,172.16.16.239
. - Select option
1
to set the IP address of your TFTP server. - Enter
172.16.16.20
. - Select option
3
and enter1
to upgrade partition 1. -
Enter the name of the
.bix
recovery image file on your TFTP server. The file name looks like one of the following examples:series_vmlinux.bix
CS-RTL93xx_fw_3.02.260c_20220406-1658.bix
CS-RTL838x_fw_2.02.260c_20220406-1658.bix
Note
Make sure you use the correct recovery image for your switch. The
.zip
file downloaded from Sophos Central contains recovery images for switches with and without console ports. -
Press Enter to start the recovery process.
The switch connects to the TFTP server, loads the image, and restarts automatically. The process takes five to ten minutes to write the file and restart.