执行下面两条命令:

errdisable recovery interval 30 

errdisable recovery cause all 

上面的命令也可以提前配置在交换机里面放置端口errdisalbe的情况出现