Verify SSH for log collection on the Cisco Nexus 9364D-GX2A switch
Verify that SSH is enabled on Cisco Nexus 9364D-GX2A 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:Thu May 15 15:09:55 2025 ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAAAgQDCQJPZk7OGhg0j1t0NWKylnI8R8zDpuMpU6KKAjPOCShTFpibeYQqxOPTCAKACkut8dduZmc3bY9DIOle0cKYQ8PgS2mG9ovQ0RJ56RUNhVNPdJuhXM4ckHoiVJxIAbHkbcw8rzawbkT6cNBUiZY3MrOMh0e0CnMRhh9we MOo/vQ== bitcount:1024 fingerprint: SHA256:TMUXFgyRC3EcIZEVbQ/P0elDByBCJizPJ1XKMkIXfPI could not retrieve dsa key information ecdsa Keys generated:Thu May 15 15:12:09 2025 ecdsa-sha2-nistp521 AAAAE2VjZHNhLXNoYTItbmlzdHA1MjEAAAAIbmlzdHA1MjEAAACFBADquZcNSDA/eLAaItXyxVZxsSJSE3u4et9B6+RLq162zTe/3A6JTCyBrkfrMhQt9QMQ7XrMqJGxLSinXhyUClBxwQD/ZbkZueZHiFuYg5hKN97wUYvts+EwpG2mSVonxKKp atmtgu48BqKfZTc4LZYL5vgdh5uuktJ0Z8mYHt3xKPXsvw== bitcount:521 fingerprint: SHA256:K8LDx6L7sJjLFn8iubUhjt66uk8TYmXwnQKWVD04C1o ** (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.