How to check if interconnected optical ports cannot go up?