Cluster network switch reports - SwitchSSHAccess_Alert during switch maintenance
Applies to
- ONTAP 9
- Cluster network switch
Issue
- Cluster network switch reports in ONTAP after maintenance activity
SwitchSSHAccess_Alert
::> system health alert show
Node: Node-1
Alert ID: SwitchSSHAccess_Alert
Resource: Switch1
Severity: Minor
Indication Time: Wed Apr 10 10:26:33 2024
Suppress: false
Acknowledge: false
Probable Cause: Login failed to Ethernet switch. 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"
- Can also see the following in the description of the alert
Probable Cause: SSH access to the Ethernet failed. ONTAP cannot collect switch logs. Possible Effect: Ethernet switch logs are not available, especially via AutoSupport messages for troubleshooting. Corrective Actions: 1) Ensure that the provided credentials are valid for accessing the switch and that SSH connectivity to the switch is possible from the node running cshmd.
- The switch health is degraded because of that:
::> 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