Documentation Index

Fetch the complete documentation index at: https://knowledge.catonetworks.com/llms.txt

Use this file to discover all available pages before exploring further.

如何重置 X1500 Socket (USB 驱动器)

Prev Next

这篇文章解释了如何使用USB驱动器重置X1500 Socket为出厂映像。

警告!

Cato有两种经过认证的x1500站点Socket硬件型号(x1500和x1500B)。 在安装套接字上的图像之前,请确保确认套接字型号。

有关两个X1500 Socket型号的更多信息,请参见Cato插座重影概述

识别 X1500 套接字型号

X1500 和 X1500B Socket 型号有不同的镜像。 确保您 Socket 背板的 PSU 符合下面的图片。

  • 后面板上的 PSU(X1500)

    X1500_back_panel.png

如果您 Socket 的 PSU 与图片不同,请参见 如何重置 X1500B Socket (USB 驱动器)。 如果您在 X1500 Socket 上安装 X1500B 镜像,可能会导致 Socket 停止工作。

将套接字重置为工厂默认配置和版本

This is a high-level overview of the steps to reset a Socket to the factory image using a USB drive.

  1. Prepare the image - download and untar it.
  2. Burn the image to the USB drive.
  3. Install the image on the Socket.

准备套接字图像

  1. 这里下载映像文件。

  2. 解压图像(请见下方的说明)。

    解压图像后,文件位于以下目录:live

  3. 获取至少8GB的USB驱动器。 如果需要格式化USB驱动器,请使用exFAT或FAT32格式。 使用FAT32格式时,USB驱动器不应大于32GB。

将映像刻录到USB驱动器

本节解释如何为Windows、macOS和Linux将套接字图像刻录到USB驱动器。

解压缩图像后,比较未压缩的DD图像文件的文件哈希与Cato验证过的正确文件哈希。 在将套接字固件写入硬盘之前,确认磁盘图像完整性。

  • 此文章附带验证哈希的文件。

  • 将文件保存在与未压缩磁盘镜像同一目录中

通过Windows刻录图像

  1. 将USB驱动器连接到您的Windows设备。

  2. 将下载的两个文件移动到同一目录,例如c:\Cato

  3. 解压缩图像。 从与两个文件同一目录的提升权限的PowerShell提示符运行tar -xf <archive-filename>

    x1500_untar_image.png

    Note:

    Common decompression software (such as WinZip, 7-Zip, or WinRAR) will corrupt the image, resulting in a ~135 MB file. Extracting the file with the Windows CLI tar command should produce a file larger than 1GB.

  4. 确保将哈希文件放在与图像文件同一目录中。

  5. 运行以下命令以比较套接字图像的文件哈希:

    (Get-FileHash -Algorithm SHA256 .\IMAGE_INSTALL_socket_X1500_BR2_18960_production_socket_v21.1_20240919_2024_12_12.dd).Hash -eq (gc .\X1500-hash.txt).split()[0]

    当哈希相同时,命令返回True

  6. 下载并安装磁盘刻录软件,如Win32 Disk Imager。

  7. 将图像写入USB驱动器。 (可能需要显示全部文件 *.* 来查看DD文件)

通过macOS刻录图像

  1. 连接USB驱动器。

  2. 打开终端窗口。

  3. 通过命令diskutil list识别新驱动器

  4. 使用diskutil unmountDisk <diskN>卸载识别的驱动器

    <diskN>是上一步中识别的变量,示例输出显示驱动器为disk0

    diskutil list
    /dev/disk0 (internal, physical)
  5. 解压缩图像(双击文件)。

  6. 运行以下命令以比较套接字图像的文件哈希:

    shasum -a 256 <archive-filename>

    将命令的输出与此文章附带的哈希进行比较。

  7. 运行以下命令:dd if=./<file name> of=/dev/diskN bs=16m

    例如 dd if=./IMAGE_INSTALL_socket_X1500_BR2_18960_production_socket_v21.1_20240919_2024_12_12.dd of=/dev/diskN bs=16m

    警告:确保将图像写入USB驱动器,而不是硬盘。

通过Linux刻录图像

  1. 将USB驱动器连接到Linux设备

  2. 识别哪一设备是你的USB/dev/sdb/dev/sdc

  3. 解压缩图像。

  4. 运行以下命令查看图像文件的哈希:

    shasum -a 256 /<文件路径>/<映像文件名>
  5. 将命令的输出与此文章附带的哈希进行比较。

  6. 运行以下命令以将图像写入USB:

    dd if=./IMAGE_INSTALL_socket_X1500_BR2_18960_production_socket_v21.1_20240919_2024_12_12.dd of=/dev/sdX

    注意事项:

    • 对于支持的版本,可以在dd命令中附加status=progress以查看写入USB操作的状态。

    • 确保将映像写入USB驱动器中,而不是硬盘。

在套接字上安装图像

套接字图像准备好在USB驱动器上后,将驱动器插入套接字。 当套接字启动时,它会安装图像并恢复出厂默认设置。

注意:

注意:如果Socket当前显示在Cato管理应用程序中分配给站点,请从站点取消分配Socket(请参阅管理 Sockets)。 然后当新图像安装后,可以再次将套接字分配给站点。

  1. 将USB驱动器连接到套接字的USB端口。

  2. 重新启动套接字(拔掉电源再插入)。

  3. 写入图像到套接字过程可能需要5分钟。 完成后,套接字会自动关闭。

  4. 重要! 断开USB驱动器的连接(否则,步骤3将再次发生)。

  5. 启动套接字(拔掉电源再插入)。

  6. 套接字将启动为默认版本和工厂默认配置。

Verifying the Socket Version

After installing the Socket image, you can verify that the process has been successful by using the Socket WebUI to verify the Socket version.

For more about logging in to the Socket WebUI, see Accessing the Socket WebUI.

Note:

If you log in to the Socket WebUI locally after installing the Socket image, the username and password are reset to their default values.

To verify the Socket version locally:

  1. Log in to the Socket WebUI.

    You can use an Ethernet cable to connect the MGMT port on the Socket to the computer.

  2. Navigate to the About page.

  3. Confirm that the Version is the same as the image file you downloaded above.

下面的示例显示的是具有套接字版本17.x的X1500套接字版本:

x1500_sebui_v17.png