H3C与Cisco交换机互联spanning-tree的问题

| No Comments | No TrackBacks

H3C的交换机与Cisco的交换机之间进行互联的时候不但必须要用802.1q(没办法,这是标准),而且在spanning-tree上H3C交换机也有些特殊的地方需要注意。

  1. 不知道基于什么考虑H3C的E328交换机默认没有启用spanning-tree协议,因此 当出现环路的时候会产生严重的广播风暴,需要在system-view上执行stp enable命令启用spanning-tree
  2. H3C E328交换支持标准STP,rapid-STP和MSTP 3种协议,Cisco的交换机支持pvst+, rapid-pvst, MSTP 3种,pre-vlan spanning-tree是Cisco的私有技术,因此考虑都使用MSTP来配置

在Cisco交换机上启用MSTP:
spanning-tree mode mst
spanning-tree mst configuration
 name mst-name
 revision 1
  instance 1 vlan 100
  instance 2 vlan 101-107

在H3C交换机上启用MSTP
stp enable
stp region-configuration
 region-name mst-name
 revision-level 1
 instance 1 vlan 100
 instance 2 vlan 101 to 107
 active region-configuration
默认情况下在启用STP之后,H3C交换机使用的是MSTP。因此不需要执行stp mode mstp。

配置之后在Cisco交换机上执行show  spanning-tree  mst可以看到连接H3C的交换机的端口状态由p2p变为P2p Pre-STD-Rx。而且从H3C的网站上没有明确的文档说H3C的交换机支持MSTP的802.1d-2004标准,所以Cisco的交换机自动适应成prestandard的MSTP标准与H3C的交换机通信。在Cisco的文档上推荐在这种情况下在接口模式下配置spanning-tree mst pre-standard这条命令,以便避免自动协商。

H3C的接入层低端交换机感觉功能还可以,但是非常不理解的就是为什么默认不启用STP,这点实在无法忍受,以后拿到之后上来就stp enable……

No TrackBacks

TrackBack URL: http://www.liukang.com/cgi-bin/mt/mt-tb.cgi/630

Leave a comment

Google ADs

ClustrMaps

Archives

Pages

OpenID accepted here Learn more about OpenID
Powered by Movable Type 4.37
Creative Commons License
This blog is licensed under a Creative Commons License.

January 2012

Sun Mon Tue Wed Thu Fri Sat
1 2 3 4 5 6 7
8 9 10 11 12 13 14
15 16 17 18 19 20 21
22 23 24 25 26 27 28
29 30 31        

About this Entry

This page contains a single entry by Kang published on October 26, 2007 5:08 PM.

让座2 was the previous entry in this blog.

unexpected personality typ test result is the next entry in this blog.

Find recent content on the main index or look in the archives to find all content.

Google ADs