Switch(config)#errdisable recovery cause loopback
Switch(config)#exit
Switch#show errdisable recovery
...
Interfaces that will be enabled at the next timeout:
Interface Errdisable reason Time left(sec)
−−−−−−−−− −−−−−−−−−−−−−−−−− −−−−−−−−−−−−−−
Gi0/9 loopback 205
Gi0/10 loopback 205
Gi0/19 loopback 205
1
2
3
4
5
6
7
8
9
10
Switch(config)#errdisable recovery cause loopback
Switch(config)#exit
Switch#show errdisable recovery
...
Interfaces that will be enabled at the next timeout:
InterfaceErrdisable reason Time left(sec)
−−−−−−−−−
−−−−−−−−−−−−−−−−−
−−−−−−−−−−−−−−
Gi0/9loopback205
Gi0/10loopback205
Gi0/19loopback205
过了300秒后,端口应该恢复正常,此时能够连接上主机了。
我觉得也可以在节点侧,在连接eth0的ovs桥br0加stp,以观后效
1
2
3
root@node4:~# ovs−vsctl get bridge br0 stp_enable
false
root@node4:~# ovs−vsctl set bridge br0 stp_enable=true
前一阵子部署了两台Openstack的计算节点,奇怪的是每隔一段时间连管理网的网卡eth0灯不亮,交换机上对应的19端口灯变橙色,登陆上去一看,eth0显示:12: eth0: NO−CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc mq master ovs−system state DOWN mode DEFAULT group