Greetings!
As part of your diagnostics, you can use the built-in cable tester to find out if there are any faulty connections from the switch in question. Use the following commands (note that this will cause a brief interruption of connectivity for each tested port):
switch# test cable-diagnostics 1-2
This command will cause a loss of link on all tested ports and will take
several seconds per port to complete. Use the 'show cable-diagnostics'
command to view the results.
Continue (y/n)? y
switch# show cable-diagnostics
Cable Diagnostic Status - Copper Ports
MDI Cable Cable Length or
Port Pair Status Distance to Fault
---- ------ ----------- ---------------------
1 1-2 OK 2m
3-6 OK 2m
4-5 OK 2m
7-8 OK 2m
2 1-2 Open 0m
3-6 Open 0m
4-5 Open 0m
7-8 Open 0m
In this example, port 1 is up and operating normally, and port 2 has no cable connected. If a cable is damaged, you may see Short or Open for one or more pairs, and the approximate distance from the switch port to the fault.