Hello Andrei
Not sure what problems you are having with the ports but if you look at the stats for TX and RX and you are seeing errors what I would then do is run Extended Diagnostics on the switch using the run diagnostics extended. This will impact the switch so please do it after hours or in a maintenance window.
Thanks
P