S9312下挂服务器频繁掉线故障

发布时间:  2016-02-06 浏览次数:  295 下载次数:  0
问题描述

产品型号:S9300

软件版本:V200R007C00SPC500

组网:2台S9306上联S9312,多台服务器直接接入S9306,交换机有开启MSTP

故障现象:S9312下挂服务器频繁掉线故障,不到1分钟后自动恢复

告警信息

 

日志信息中出现非常多的以下端口(包括连接服务器的端口)状态变化消息:

Jan  9 2016 16:26:02 FDJT-S9312-1 %%01MSTP/6/RECEIVE_MSTITC(l): MSTP received BPDU with TC, MSTP process 0 instance 0, port name is GigabitEthernet1/0/13.
Jan  9 2016 16:26:02 FDJT-S9312-1 %%01MSTP/6/RECEIVE_MSTITC(l): MSTP received BPDU with TC, MSTP process 0 instance 0, port name is GigabitEthernet1/0/13.
Jan  9 2016 16:26:04 FDJT-S9312-1 %%01MSTP/6/RECEIVE_MSTITC(l): MSTP received BPDU with TC, MSTP process 0 instance 0, port name is GigabitEthernet1/0/13.
Jan  9 2016 16:26:04 FDJT-S9312-1 %%01MSTP/6/RECEIVE_MSTITC(l): MSTP received BPDU with TC, MSTP process 0 instance 0, port name is GigabitEthernet1/0/13.
Jan  9 2016 16:26:46 FDJT-S9312-1 %%01MSTP/6/RECEIVE_MSTITC(l): MSTP received BPDU with TC, MSTP process 0 instance 0, port name is GigabitEthernet2/0/18.
Jan  9 2016 16:26:46 FDJT-S9312-1 %%01MSTP/5/ROOT_LOST(l): This bridge is no longer the root bridge of the MSTP process 0 instance 0.
Jan  9 2016 16:26:46 FDJT-S9312-1 %%01MSTP/5/SET_PORT_STATE(l): Instance 0's port GigabitEthernet2/0/18 has been set to DISCARD.
Jan  9 2016 16:26:46 FDJT-S9312-1 %%01MSTP/6/SET_PORT_DISCARDING(l): In MSTP process 0 instance 0, MSTP set port GigabitEthernet2/0/18 state as discarding.
Jan  9 2016 16:26:46 FDJT-S9312-1 %%01MSTP/5/SET_PORT_STATE(l): Instance 0's port GigabitEthernet1/0/41 has been set to DISCARD.
Jan  9 2016 16:26:46 FDJT-S9312-1 %%01MSTP/6/SET_PORT_DISCARDING(l): In MSTP process 0 instance 0, MSTP set port GigabitEthernet1/0/41 state as discarding.
Jan  9 2016 16:26:46 FDJT-S9312-1 %%01MSTP/6/RECEIVE_MSTITC(l): MSTP received BPDU with TC, MSTP process 0 instance 0, port name is GigabitEthernet2/0/19.
Jan  9 2016 16:26:46 FDJT-S9312-1 %%01MSTP/6/RECEIVE_MSTITC(l): MSTP received BPDU with TC, MSTP process 0 instance 0, port name is GigabitEthernet2/0/19.
Jan  9 2016 16:26:46 FDJT-S9312-1 %%01MSTP/5/SET_PORT_STATE(l): Instance 0's port GigabitEthernet2/0/18 has been set to LEARN.
Jan  9 2016 16:26:46 FDJT-S9312-1 %%01MSTP/6/SET_PORT_LEARNING(l): In process 0 instance 0,MSTP set port GigabitEthernet2/0/18 state as learning.
Jan  9 2016 16:26:46 FDJT-S9312-1 %%01MSTP/5/SET_PORT_STATE(l): Instance 0's port GigabitEthernet2/0/18 has been set to FORWARD.
Jan  9 2016 16:26:46 FDJT-S9312-1 %%01MSTP/6/SET_PORT_FORWARDING(l): In MSTP process 0 instance 0,MSTP set port GigabitEthernet2/0/18 state as forwarding.
Jan  9 2016 16:26:46 FDJT-S9312-1 %%01MSTP/5/SET_PORT_STATE(l): Instance 0's port GigabitEthernet2/0/19 has been set to DISCARD.
Jan  9 2016 16:26:46 FDJT-S9312-1 %%01MSTP/6/SET_PORT_DISCARDING(l): In MSTP process 0 instance 0, MSTP set port GigabitEthernet2/0/19 state as discarding.
Jan  9 2016 16:26:46 FDJT-S9312-1 %%01MSTP/5/SET_PORT_STATE(l): Instance 0's port GigabitEthernet2/0/18 has been set to DISCARD.
Jan  9 2016 16:26:46 FDJT-S9312-1 %%01MSTP/6/SET_PORT_DISCARDING(l): In MSTP process 0 instance 0, MSTP set port GigabitEthernet2/0/18 state as discarding.
Jan  9 2016 16:26:46 FDJT-S9312-1 %%01MSTP/5/SET_PORT_STATE(l): Instance 0's port GigabitEthernet2/0/19 has been set to LEARN.
Jan  9 2016 16:26:46 FDJT-S9312-1 %%01MSTP/6/SET_PORT_LEARNING(l): In process 0 instance 0,MSTP set port GigabitEthernet2/0/19 state as learning.
Jan  9 2016 16:26:46 FDJT-S9312-1 %%01MSTP/5/SET_PORT_STATE(l): Instance 0's port GigabitEthernet2/0/19 has been set to FORWARD.
Jan  9 2016 16:26:46 FDJT-S9312-1 %%01MSTP/6/SET_PORT_FORWARDING(l): In MSTP process 0 instance 0,MSTP set port GigabitEthernet2/0/19 state as forwarding.
Jan  9 2016 16:26:46 FDJT-S9312-1 %%01MSTP/5/ROOT_LOST(l): This bridge is no longer the root bridge of the MSTP process 0 instance 0.
Jan  9 2016 16:26:46 FDJT-S9312-1 %%01MSTP/5/SET_PORT_STATE(l): Instance 0's port GigabitEthernet2/0/19 has been set to DISCARD.

处理过程

把连接服务器的接口改成边缘端口

system-view [Quidway] interface gigabitethernet 1/0/1

[Quidway-GigabitEthernet1/0/1] stp edged-port enable

根因
MSTP在链路发生变化时,当指定端口变为forwarding状态时会发生P/A协商,对端交换机收到P置位的BPDU经过计算确认角色是根端口后,会把除该端口以外的非边缘端口都阻塞掉,对于末端被阻塞的端口会按照端口状态从discarding---learning---forwarding依次切换,每次切换要等待forwarding delay (15s)时间,2次切换需要30S
解决方案

连接服务器的末端端口配置为边缘端口
建议与总结

在交换机组网开启MSTP时,建议把末端接主机、服务器的端口配置为边缘端口

END