S5700与S9306 互连都将自己选择为根桥

发布时间:  2014-12-17 浏览次数:  226 下载次数:  0
问题描述
S5728和S9306V200R001C00SPC300交换机在进行STP选举的时候都认为自己是根桥
告警信息
处理过程

[5728]dis stp instance 0
-------[CIST Global Info][Mode STP]-------
CIST Bridge         :32768.cccc-81ed-2597
Bridge Times        :Hello 2s MaxAge 20s FwDly 15s MaxHop 20
CIST Root/ERPC      :32768.cccc-81ed-2597 / 0
CIST RegRoot/IRPC   :32768.cccc-81ed-2597 / 0
CIST RootPortId     :0.0
BPDU-Protection     :disabled
TC or TCN received  :0
TC count per hello  :0
STP Converge Mode   :Normal
Time since last TC :137 days 0h:32m:34s

2. S93是主根桥。
[s9306A]dis stp
-------[CIST Global Info][Mode STP]-------
CIST Bridge         :0    .cccc-8140-09e0
Config Times        :Hello 2s MaxAge 20s FwDly 15s MaxHop 20
Active Times        :Hello 2s MaxAge 20s FwDly 15s MaxHop 20
CIST Root/ERPC      :0    .cccc-8140-09e0 / 0
CIST RegRoot/IRPC   :0    .cccc-8140-09e0 / 0
CIST RootPortId     :0.0
BPDU-Protection     :Disabled
CIST Root Type      :Primary root
TC or TCN received  :4721280
3、抓包结果如下:
debug stp packet all
<5728>
Jun 27 2010 02:47:56.870.1-05:13 5728 MSTP/7/PKT:
Port10(GigabitEthernet0/0/10) Send Packet(Length: 43)
ProtocolVersionID               : 00
BPDUType                        : 00( ConfigBPDU )
Flags                           : 00()
Root Identifier                 : 32768.cccc-81ed-2597
Root Path Cost                  : 0
Bridge Identifier               : 32768.cccc-81ed-2597
Port Identifier                 : 128.10
Message Age                     : 0
Max Age                         : 20
Hello Time                      : 2
Forward Delay                   : 15

.
Jun 27 2010 02:47:56.870.2-05:13 5728 MSTP/7/PKT:
Port23(GigabitEthernet0/0/23) Send Packet(Length: 43)
ProtocolVersionID               : 00
BPDUType                        : 00( ConfigBPDU )
Flags                           : 00()
Root Identifier                 : 32768.cccc-81ed-2597
Root Path Cost                  : 0
Bridge Identifier               : 32768.cccc-81ed-2597
Port Identifier                 : 128.23
Message Age                     : 0
Max Age                         : 20
Hello Time                      : 2
Forward Delay                   : 15

.
Jun 27 2010 02:47:58.870.1-05:13 5728 MSTP/7/PKT:
Port10(GigabitEthernet0/0/10) Send Packet(Length: 43)
ProtocolVersionID               : 00
BPDUType                        : 00( ConfigBPDU )
Flags                           : 00()
Root Identifier                 : 32768.cccc-81ed-2597
Root Path Cost                  : 0
Bridge Identifier               : 32768.cccc-81ed-2597
Port Identifier                 : 128.10
Message Age                     : 0
Max Age                         : 20
Hello Time                      : 2
Forward Delay                   : 15

.
Jun 27 2010 02:47:58.870.2-05:13 5728 MSTP/7/PKT:
Port23(GigabitEthernet0/0/23) Send Packet(Length: 43)
ProtocolVersionID               : 00
BPDUType                        : 00( ConfigBPDU )
Flags                           : 00()
Root Identifier                 : 32768.cccc-81ed-2597
Root Path Cost                  : 0
Bridge Identifier               : 32768.cccc-81ed-2597
Port Identifier                 : 128.23
Message Age                     : 0
Max Age                         : 20
Hello Time                      : 2
Forward Delay                   : 15
根因
S9306V200R001C00SPC300 默认为使能BPDU
解决方案
在S9300上所有接口上开启BPDU
建议与总结

END