Contents
- Updating firmware
- Manually updating firmware on a CPE device
- Uploading firmware to the orchestrator web interface
- Scheduling firmware updates on selected CPE devices
- Scheduling firmware updates on CPE devices with specific tags
- Restoring firmware of a KESR-M1 CPE device
- Restoring firmware of a KESR-M2-5 CPE device
- Correspondence of CPE device models with firmware versions
- Deleting firmware
Updating firmware
New versions of CPE device software are distributed by Kaspersky in the form of firmware. You can download a TAR.GZ archive with the firmware from the the /cpe directory of the distribution kit. You can update the firmware on a CPE device in three ways:
- Manually updating the CPE device firmware without using the orchestrator web interface.
- Scheduling firmware updates on selected CPE devices. In this case, you upload the firmware to the orchestrator web interface, select the CPE devices on which you want to update the firmware, and then update the firmware. A firmware update task is automatically created in the task scheduler.
- Scheduling firmware updates on CPE devices with specific tags. In this case, you upload the firmware to the orchestrator web interface, assign tags to CPE devices on which you want to update the firmware, and then create a firmware update task in the task scheduler. When creating the task, you need to specify the tags you assigned to CPE devices.
The CPE device restarts during the firmware update process.
You can view the table of firmware uploaded to the web interface in the SD-WAN→Firmware section. Information about firmware is displayed in the following columns of the table:
- Version is the firmware version.
- Size (MB) is the size of the firmware archive in megabytes.
- SHA256 is the hash of the firmware.
- Architecture is the instruction set architecture (ISA) of the firmware.
- Release date is the firmware release date.
- Model is the model of CPE devices with which the firmware is compatible.
The actions you can perform with the table are described in the Managing solution component tables instructions.
Manually updating firmware on a CPE device
When following these steps, you are prompted to enter the CPE device credentials. After registration, the default password of the CPE device is automatically changed. You can view the CPE device password in the orchestrator web interface.
To manually update the firmware on a CPE device:
- Download the firmware archive from the /cpe directory of the distribution kit to the administrator device, for example, your laptop. If you do not know which firmware version you need to install on the CPE device, use the table of correspondence of CPE device models with firmware versions.
- Connect the administrator device to the LAN port of the CPE device.
The administrator device gets the IP address of the default gateway via DHCP. The received IP address of the default gateway is the IP address of the CPE device.
- Connect to the CPE device over SCP, for example using WinSCP. To connect over SCP, specify the IP address and enter the credentials of the CPE device.
- Place the firmware archive in the /tmp directory.
- Connect to the CPE device over SSH. To connect over SSH, specify the IP address and enter the credentials of the CPE device.
- Change to the /tmp directory:
cd /tmp/
- Update the firmware on the CPE device in one of the following ways:
- If you want to leave the CPE device settings unchanged after updating the firmware, run the following command:
sysupgrade knaas-<
firmware archive name
>
- If you want to reset the CPE device to factory settings after updating the firmware, run the following command:
sysupgrade -n knaas-cpe<
firmware archive name
>
When a CPE device is reset to factory settings, it is disconnected from the orchestrator. To reconnect the CPE device to the orchestrator, you need to automatically register (ZTP) the CPE device.
- If you want to leave the CPE device settings unchanged after updating the firmware, run the following command:
The new firmware version is installed on the CPE device, then the CPE device is restarted. By default, the IP address of the CPE device is unchanged, and DHCP is enabled on LAN ports.
Uploading firmware to the orchestrator web interface
To upload firmware in the orchestrator web interface:
- Download the firmware archive from the /cpe directory of the distribution kit to your local device. If you do not know which firmware version you need to install on the CPE device, use the table of correspondence of CPE device models with firmware versions.
- In the menu, go to the SD-WAN → Firmware section.
A table of firmware is displayed.
- In the upper part of the page, click + Firmware.
- Enter the path to the archive with the firmware. When specifying a path, you can select multiple archives at the same time.
The firmware is uploaded and displayed in the table.
Page topScheduling firmware updates on selected CPE devices
To create a scheduled firmware update task on selected CPE devices:
- In the menu, go to the SD-WAN → CPE section.
A table of CPE devices is displayed.
- Proceed with the scheduled firmware update in one of the following ways:
- If you want to perform a scheduled firmware update on an individual CPE device, click the CPE device and under Actions, click Update firmware.
- If you want to perform a scheduled firmware update on multiple CPE devices, select the check boxes next to relevant CPE devices and in the upper part of the table, click Actions → Update firmware.
Obsolete firmware is highlighted in orange in the SW version column of the table of CPE devices. You can also find CPE devices with outdated firmware versions using the Need update filter in the upper part of the table.
- This opens a window; in that window, in the Task name field, enter the name of the scheduled task.
- In the Version drop-down list, select the uploaded firmware. If you do not know which firmware version you need to install on the CPE device, use the table of correspondence of CPE device models with firmware versions.
- In the Scheduled task execution date field, enter the date and time when you want to run the task. By default, the date and time specified is the date and time when you started creating the task.
- If you want to reset the CPE device to factory settings after updating the firmware, clear the Save CPE settings check box. If the check box is selected, your existing CPE device settings are not modified after a firmware update. This check box is selected by default.
When a CPE device is reset to factory settings, it is disconnected from the orchestrator. To reconnect the CPE device to the orchestrator, you need to automatically register (ZTP) the CPE device.
- The Force update check box lets you force the firmware update, even if the CPE's internal check shows that the new firmware is incompatible with the old one. This check box is cleared by default.
- Click Next.
Two tables of CPE devices are displayed. Firmware of CPE devices in the upper table is updated. Firmware of CPE devices in the lower table is not updated. Information about CPE devices is displayed in the following columns of the table:
- DPID is the DPID of the CPE device.
- Model is the model of the CPE device.
- Name is the name of the CPE device.
- SW version is the firmware version of the CPE device.
- Tenant is the tenant to which the CPE device has been added.
- Reason is the reason why the firmware cannot be updated. This column is displayed only in the lower table.
If the upper table contains CPE devices on which you do not want to update the firmware, you can move these CPE devices to the lower table.
- Click Schedule.
The firmware update task is created and displayed in the task table. The status of the tasks is displayed in the Status column. If the firmware update task finishes successfully, its status changes to Done.
Page topScheduling firmware updates on CPE devices with specific tags
To create a scheduled firmware update task on CPE devices with specific tags:
- In the menu, go to the Scheduler section.
The table of tasks is displayed.
- In the upper part of the page, click + Task.
- This opens a window; in that window, in the Type drop-down list, select Firmware update.
- In the Task name field, enter the name of the task.
- In the Version drop-down list, select the uploaded firmware. If you do not know which firmware version you need to install on the CPE device, use the table of correspondence of CPE device models with firmware versions.
- In the Scheduled task execution date field, enter the date and time when you want to run the task. By default, the date and time specified is the date and time when you started creating the task.
- If you want to reset the CPE device to factory settings after updating the firmware, clear the Save CPE settings check box. If the check box is selected, your existing CPE device settings are not modified after a firmware update. This check box is selected by default.
When a CPE device is reset to factory settings, it is disconnected from the orchestrator. To reconnect the CPE device to the orchestrator, you need to automatically register (ZTP) the CPE device.
- The Force update check box lets you force the firmware update, even if the CPE's internal check shows that the new firmware is incompatible with the old one. This check box is cleared by default.
- In the Tags field, enter tags assigned to CPE devices on which you want to update the firmware. Obsolete firmware is highlighted in orange in the SW version column of the table of CPE devices. You can also find CPE devices with outdated firmware versions using the Need update filter in the upper part of the table.
- Click Next.
Two tables of CPE devices are displayed. Firmware of CPE devices in the upper table is updated. Firmware of CPE devices in the lower table is not updated. Information about CPE devices is displayed in the following columns of the table:
- DPID is the DPID of the CPE device.
- Model is the model of the CPE device.
- Name is the name of the CPE device.
- SW version is the firmware version of the CPE device.
- Tenant is the tenant to which the CPE device has been added.
- Reason is the reason why the firmware cannot be updated. This column is displayed only in the lower table.
If the upper table contains CPE devices on which you do not want to update the firmware, you can move these CPE devices to the lower table.
- Click Create.
The firmware update task is created and displayed in the table. The status of the tasks is displayed in the Status column. If the firmware update task finishes successfully, its status changes to Done.
Restoring firmware of a KESR-M1 CPE device
You can restore the firmware and reset a KESR-M1 CPE device to factory settings if you have lost the credentials of that CPE or if you encounter a problem with the firmware.
When a CPE device is reset to factory settings, it is disconnected from the orchestrator. To reconnect the CPE device to the orchestrator, you need to automatically register (ZTP) the CPE device.
To restore the firmware of a KESR-M1 CPE device:
- Download the firmware archive from the /cpe directory of the distribution kit to the administrator device, for example, your laptop. If you do not know which firmware version you need to install on the CPE device, use the table of correspondence of CPE device models with firmware versions.
- Extract the firmware archive to get the firmware in BIN format.
- Power on the CPE device with factory firmware:
- Disconnect the power cable of the CPE device.
- Connect the power cable and press and hold the RESET button on the CPE device for 10 seconds.
The CPE device powers on with the factory firmware.
- Connect the administrator device to the LAN port of the CPE device.
The administrator device gets an IP address and the IP address of the default gateway in the 192.168.1.0/24 subnet via DHCP.
- In the address bar of the browser on the administrator device, enter
192.168.1.1
and press Enter.This opens the CPE device firmware upload page.
- Click the firmware upload button and specify the path to the firmware in BIN format. You got the firmware in BIN format at step 2 of these instructions.
The new firmware version is installed on the CPE device, then the CPE device is restarted. By default, the IP address of the CPE device is 192.168.7.1, and DHCP is enabled on LAN ports.
Page topRestoring firmware of a KESR-M2-5 CPE device
You can restore the firmware and reset a KESR-M2-5 CPE device to factory settings if you have lost the credentials of that CPE or if you encounter a problem with the firmware.
When a CPE device is reset to factory settings, it is disconnected from the orchestrator. To reconnect the CPE device to the orchestrator, you need to automatically register (ZTP) the CPE device.
To restore the firmware of a KESR-M2-5 CPE device:
- Download the firmware archive from the /cpe directory of the distribution kit to the administrator device, for example, your laptop. If you do not know which firmware version you need to install on the CPE device, use the table of correspondence of CPE device models with firmware versions.
- Extract the firmware archive to get an archive in IMG.GZ format.
- Unpack the IMG.GZ archive to get the firmware image in IMG format.
- Use the IMG firmware to create a bootable USB drive using disk image writing software such as BalenaEtcher.
- Connect the administrator device to the CPE device with a console cable and insert the USB drive into the USB port of the CPE device.
- Specify the settings for establishing a console session with the CPE device on the administrator device, for example, using the PuTTY application, and do the following:
- Specify the communications port (COM port) number of the administrator device.
- Specify
115200
as the session speed.
- Disconnect and reconnect the power cable of the CPE device. Press F7 or F11 while the CPE device is powering on.
- This opens a menu; in the menu, select the USB drive and press Enter.
The CPE device boots from the USB drive.
- Connect the administrator device to the LAN port of the CPE device.
The administrator device gets an IP address and the IP address of the default gateway in the 192.168.7.0/24 subnet via DHCP.
- Connect to the CPE device over SCP, for example using WinSCP. To connect over SCP, specify the IP address and enter the default credentials of the CPE device.
- Place the firmware in IMG format in the /tmp directory.
- Connect to the CPE device over SSH or establish a console session with the CPE device. To connect over SSH or establish a console session, specify the IP address and enter the default credentials of the CPE device.
- Change to the /tmp directory:
cd /tmp/
- Copy the firmware image in IMG format to /dev/sda:
dd if=<
name of the firmware IMG file
> bs=1M of=/dev/sda
- Restart the CPE device by running the following command:
reboot
The new firmware version is installed on the CPE device, then the CPE device is restarted. By default, the IP address of the CPE device is 192.168.7.1, and DHCP is enabled on LAN ports.
Page topCorrespondence of CPE device models with firmware versions
The table below shows the correspondence of CPE device models with the supported firmware versions.
Model of the CPE device |
Supported firmware version |
---|---|
KESR M1 |
knaas-cpe_<firmware version>.release.<solution version number>.firmware.kesr-m1-r-5g-2l-w-v2_en-US_ru-RU.tar.gz |
KESR M2 (Wi-Fi/LTE) |
knaas-cpe_<firmware version>.release.<solution version number>.efi.amd64-kesr-m2-k-5g-1l-w_en-US_ru-RU.tar.gz |
KESR M2 (SFP) |
knaas-cpe_<firmware version>.release.<solution version number>.efi.amd64-kesr-m2-k-5g-1s _en-US_ru-RU.tar.gz |
KESR M3 |
knaas-cpe_<firmware version>.release.<solution version number>.efi.amd64-kesr-m3-k-4g-4s_en-US_ru-RU.tar.gz |
KESR M4 (SFPx2) |
knaas-cpe_<firmware version>.release.<solution version number>.efi.amd64-kesr-m4-k-2x-1cpu_en-US_ru-RU.tar.gz |
KESR M4 (SFPx4/RJ-45x8) |
knaas-cpe_<firmware version>.release.<solution version number>.efi.amd64-kesr-m4-k-8g-4x-1cpu_en-US_ru-RU.tar.gz |
KESR M5 (SFPx8) |
knaas-cpe_<firmware version>.release.<solution version number>.efi.amd64-kesr-m5-k-8x-2cpu_en-US_ru-RU.tar.gz |
KESR M5 (SFPx4/RJ-45x8) |
knaas-cpe_<firmware version>.release.<solution version number>.efi.amd64-kesr-m5-k-8g-4x-2cpu_en-US_ru-RU.tar.gz |
Deleting firmware
You cannot delete firmware that is being used in a scheduled task.
Deleted firmware cannot be restored.
To delete firmware:
- In the menu, go to the SD-WAN → Firmware section.
A table of firmware is displayed.
- Select check boxes next to firmware that you want to delete.
- In the upper part of the table, click Actions → Delete.
- In the confirmation window, click Delete.
The firmware is deleted and is no longer displayed in the table.
Page top