Alert suppression for interface down in same network

How to suppress the alert when the duplicate interface occurs

For example :

Switch A port g0/1 to Switch B port g1/1 a line is connected as trunk. If switch A port g0/1 is down then am getting two alert for both switch and ports.

How can i avoid one alert in this case????