Instructions
Facts
Nexus 3000 series switches
Nexus 5000 series switches
Nexus 9000 series switches
Answer
When you encounter an issue on your Nexus switch that requires troubleshooting or a request for assistance from CPSD technical support, it is important to collect as many details around the issue as possible. A technical support file can be exported from the affected Nexus switch in order to capture log output, and a snapshot of the switch from the time of failure.
The 'show tech-support' command can be used to output information from Nexus switches.
Step 1. Open up an SSH session into the Nexus switch. PuTTy, or a similar SSH client, can be used to establish this connection.
Step 2. You will need to log in with the 'admin' user credentials, or another user on the system that has the privileges to run the 'show tech-support' command
Step 3. Run the following command to collect tech-support data, and save it to the bootflash: partition on the switch:
show tech-support details > bootflash:<filename.txt>
Once the command prompt returns, you can then copy the file off of the switch using one of the following protocols: TFTP, FTP, SCP, or SFTP. The following example utilizes tftp:
copy bootflash:<filename.txt> tftp:
At this point, you will be requested to input the required TFTP settings, including server IP address, and login credentials.
*Alternatively, if you are using PuTTy, you can right-click on the blue bar at the top of the window and modify the connection settings to log all output to a file on your local machine.
Please refer to this video:
Affected Products
Converged Infrastructure, VxBlock and Vblock Systems, VxBlock and vBlock Systems Series