Upgrade the LRM/MACsec Adapter PHY Firmware

Note

Note

Only 5720-VIM-6YE supports the LRM/MACsec Adapter.

Update the PHY firmware if the running version is out-of-date. The latest version of firmware is bundled with the Network Operating System (NOS) image.

About this task

The upgrade process can take up to 10 minutes to complete. After completion, the adapter restarts and reinitializes.

Note

Note

You must connect both host ports to trigger PHY initialization.

As with regular switch ports, configuration is based on the optics detected. For information about how to configure VIM port speeds, see Configure Port Speeds for All VIM Ports (CLI) or Configure Port Speed for All VIM Ports (EDM).

For more information about the adapter, see Two-Port External LRM/MACsec Adapter.

Procedure

  1. Enter Global Configuration mode:

    enable

    configure terminal

  2. Confirm if an upgrade is required:

    show sys lrm-adapter

    Note

    Note

    After you first connect the adapter, the switch also displays a log message if the firmware is out-of-date.
  3. Upgrade the firmware:

    sys lrm-adapter-upgrade <0-32>

Examples

The following example shows the console message that indicates an upgrade is required, and then the command to perform the upgrade. After you connect the adapter, the adapter ID displays in the log message that indicates you must perform a firmware upgrade. Use this adapter ID as part of the upgrade command.

5720-24MXW-FabricEngine:1>enable
5720-24MXW-FabricEngine:1#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
1 2022-09-20T16:31:07.340Z 5720-24MXW-FabricEngine IO1 - 0x000e0610 - 00000000 GlobalRouter HAL INFO LRM/MACSec Adapter #0 port 2/2 has PHY firmware 0xd006. Min required is 0xd008. Please run "sys lrm-adapter-upgrade <adapter_id>" to upgrade.
1 2022-09-20T16:31:07.340Z 5720-24MXW-FabricEngine IO1 - 0x000e0609 - 00000000 GlobalRouter HAL INFO LRM/MACSec Adapter #0 initialization completed.
5720-24MXW-FabricEngine:1(config)#sys lrm-adapter-upgrade 0
WARNING: Running this command will upgrade the LRM/MACSec Adapter PHY firmware. The operation will take few minutes to complete. During this time the LRM/MACSec adapter will restart and reinitialize.
Do you want to continue (y/n) ? y

1 2022-09-20T16:31:50.566Z 5720-24MXW-FabricEngine IO1 - 0x000e0612 - 00000000 GlobalRouter HAL INFO LRM/MACSec Adapter #0 PHY firmware upgrade is in progress.
1 2022-09-20T16:31:53.810Z 5720-24MXW-FabricEngine IO1 - 0x000e0607 - 00000000 GlobalRouter HAL INFO LRM/MACSec Adapter #0 initialization started.
1 2022-09-20T16:31:53.964Z 5720-24MXW-FabricEngine CP1 - 0x0000c5e7 - 00300001.256 DYNAMIC SET GlobalRouter HW INFO Link Down(2/1)
1 2022-09-20T16:31:53.971Z 5720-24MXW-FabricEngine CP1 - 0x0000c5e7 - 00300001.257 DYNAMIC SET GlobalRouter HW INFO Link Down(2/2)
1 2022-09-20T16:31:54.816Z 5720-24MXW-FabricEngine IO1 - 0x000e0608 - 00000000 GlobalRouter HAL INFO LRM/MACSec Adapter #0 initialization in progress (25%).
1 2022-09-20T16:43:43.304Z 5720-24MXW-FabricEngine IO1 - 0x000e0608 - 00000000 GlobalRouter HAL INFO LRM/MACSec Adapter #0 initialization in progress (50%).
1 2022-09-20T16:44:09.406Z 5720-24MXW-FabricEngine IO1 - 0x000e0608 - 00000000 GlobalRouter HAL INFO LRM/MACSec Adapter #0 initialization in progress (75%).
1 2022-09-20T16:44:27.686Z 5720-24MXW-FabricEngine IO1 - 0x000e0613 - 00000000 GlobalRouter HAL INFO LRM/MACSec Adapter #0 PHY firmware upgrade completed.
1 2022-09-20T16:44:27.686Z 5720-24MXW-FabricEngine IO1 - 0x000e0609 - 00000000 GlobalRouter HAL INFO LRM/MACSec Adapter #0 initialization completed.
1 2022-09-20T16:44:28.161Z 5720-24MXW-FabricEngine CP1 - 0x0000c5ec - 00300001.257 DYNAMIC CLEAR GlobalRouter HW INFO Link Up(2/2)
1 2022-09-20T16:44:31.040Z 5720-24MXW-FabricEngine CP1 - 0x000145f2 - 00000000 GlobalRouter BRIDGE WARNING Spanning Tree: Port 2/2 - Received 2 TCs in 1 minute(s)
1 2022-09-20T16:44:33.037Z 5720-24MXW-FabricEngine CP1 - 0x002d0609 - 00000000 GlobalRouter LLDP INFO New LLDP Neighbor Discovered on interface 2/2

The following example displays a connected adapter with out-of-date firmware.

Switch:1>show sys lrm-adapter
================================================================================
                        LRM/MACSec Adapter General Info
================================================================================
ADAPTER    PORT            PHY FW     UPGRADE
ID         NUM             VERSION    NEEDED
--------------------------------------------------------------------------------
0          2/1   2/2        D006       Yes
--------------------------------------------------------------------------------