clock set

Configuring time using the clock set command on a switch that also uses NTP can cause ports from going up.

As a best practice, do not configure time using the clock set command. Instead, rely on NTP to synchronize the internal clocks.