Skip to main content
NetApp Knowledge Base

Login failed to cluster switch "switch name". Cannot collect tech-support logs

Last Updated:

Applies to

  • ONTAP 9.5 and later
  • Cisco


  • System health alert reporting the below alert:
   cluster::> system health alert show
               Node: node-08
           Resource: switch_name1(FXXXXXXX1234)
           Severity: Minor
    Indication Time: Fri Nov 11 03:29:34 2022
           Suppress: false
        Acknowledge: false
     Probable Cause: Login failed to Ethernet switch "switch_name1(FXXXXXXX1234)". Cannot collect tech-support logs.
    Possible Effect: Ethernet switch tech-support logs are not available in
                     AutoSupport(R) messages for troubleshooting.
 Corrective Actions: 1) To set up public SSH key authentication on the Ethernet switch,
                     run the "system switch ethernet log setup-password" command.
                     ONTAP(R) software requires one-time use of the Ethernet switch's administrative login credentials
                     to set up the public SSH key for ONTAP access.
                     The administrative credentials will be discarded after the setup command is complete.
                     2) If public SSH key authentication is already configured, log in to the Ethernet switch
                     with administrative credentials from an SSH host or serial console to investigate the login failures.
                     3) To disable tech-support log collection, run the
                     "system switch ethernet log disable-collection"
  • Switch health is degraded due to the alert:
cluster::> system health subsystem show
Subsystem         Health
----------------- ------------------
SAS-connect       ok
Environment       ok
Memory            ok
Service-Processor ok
Switch-Health     degraded
CIFS-NDO          ok
Motherboard       ok
IO                ok
MetroCluster      ok
MetroCluster_Node ok
FHM-Switch        ok
FHM-Bridge        ok
SAS-connect_Cluster ok


Sign in to view the entire content of this KB article.

New to NetApp?

Learn more about our award-winning Support

NetApp provides no representations or warranties regarding the accuracy or reliability or serviceability of any information or recommendations provided in this publication or with respect to any results that may be obtained by the use of the information or observance of any recommendations provided herein. The information in this document is distributed AS IS and the use of this information or the implementation of any recommendations or techniques herein is a customer's responsibility and depends on the customer's ability to evaluate and integrate them into the customer's operational environment. This document and the information contained herein may be used solely in connection with the NetApp products discussed in this document.