Verify SSH for log collection on the Cisco Nexus 9332D-GX2B switch
Verify that SSH is enabled on Cisco Nexus 9332D-GX2B switches to support the Ethernet switch health monitor (CSHM) and log collection features.
Before you begin
You must be connected to the switch using the serial console.
Steps
-
Verify that SSH is enabled:
(switch) show ssh server ssh version 2 is enabled
-
Verify that the SSH keys are enabled:
show ssh keyShow example
(switch)# show ssh key rsa Keys generated:Wed May 14 18:49:37 2025 ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAAAgQCndfdJesautdCwk5Mk/7pKOFl0IeShc9uBtj74F52vbjyf1FHOCXX7Xf3Vopxs6L1hbzgCpFLo9E7pZBd3I+1AoLyQULtR3svzNieGY8mlWZGLtpKf/P2fDCd8JVJaejrwQhm49WUPiC6ziEqBDMOGhJpD2e9++umyDdr6 NbmK8Q== bitcount:1024 fingerprint: SHA256:QtNU+Qq2I4ZfYwEfMEB1+z8w7xaKTlantTdsjLBx+OU could not retrieve dsa key information ecdsa Keys generated:Wed May 14 18:50:56 2025 ecdsa-sha2-nistp521 AAAAE2VjZHNhLXNoYTItbmlzdHA1MjEAAAAIbmlzdHA1MjEAAACFBAAYnv17T+JlGmH8rg81xiOow0mPmkbkIG0o7h9EchixO3i3KjgQr8AwqkRHNTcQC3lRnizhJFUeMGCwuQTurziRCwE6fAOkWa2MRyXA1DYRKKXjVEOnW9+MvinMipHQ0cCc YSExhh7j4HvWHIuYv8RmD7e3rmDQFlyyiLwdmpGfas2yaw== bitcount:521 fingerprint: SHA256:7cpZ5NGnIq5Iamw67ke+9o4qG9D3xxmGPauVl4X5934 (switch)# show feature | include scpServer scpServer 1 enabled (switch)# show feature | include ssh sshServer 1 enabled (switch)#
What's next?
-
After you've verified SSH is enabled for log collection, you configure Ethernet switch health monitoring.
-
After you've configured Ethernet switch health monitoring, if you want to take advantage of Cisco's Smart Call Home support feature, you configure Smart Call Home.
-
-
If you configured your switch as part of a new AFX 1K or AFX 2K system installation, you must complete the AFX system setup.