华为和Cisco的MSTP配置

华为核心MSTP配置

核心1:

stp instance 0 root primary

stp instance 1 root primary

stp instance 2 root secondary

stp pathcost-standard dot1d-1998

stp region-configuration

region-name www

instance 1 vlan 1 to 50

instance 2 vlan 51 to 3000

active region-configuration

对接cisco的接口

interface GigabitEthernet2/0/14

stp config-digest-snoop

stp no-agreement-check

核心2:

stp instance 0 root secondary

stp instance 1 root secondary

stp instance 2 root primary

stp pathcost-standard dot1d-1998

stp region-configuration

region-name www

instance 1 vlan 1 to 50

instance 2 vlan 51 to 3000

active region-configuration

对接cisco的接口

interface GigabitEthernet2/0/14

stp root-protection

stp config-digest-snoop

stp no-agreement-check

cisco 接入层交换机 mst 配置

全局:

no spanning-tree vlan 1-4094

spanning-tree mode mst

spanning-tree mst configuration

name www

instance 1 vlan 1-50

instance 2 vlan 51-3000

exit

接口:

对接核心1

int g0/47

spanning-tree mst 2 cost 30000

对接核心2

int g0/48

spanning-tree mst 0 cost 30000

spanning-tree mst 1 cost 30000

H3C接入层交换机 mstp配置

全局:

stp enable

stp pathcost-standard dot1d-1998

stp region-configuration

region-name www

instance 1 vlan 1 to 50

instance 2 vlan 51 to 3000

active region-configuration

接口:

对接核心1

interface GigabitEthernet1/0/23

stp instance 2 cost 30000

对接核心2

interface GigabitEthernet1/0/24

stp instance 0 cost 30000

stp instance 1 cost 30000

最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容

  • 为了提高网络可靠性,交换机网络中通常会使用冗余链路,冗余链路会给交换机带来环路风险,并导致广播风暴以及MAC地址表...
    酱紫冻阅读 21,308评论 2 18
  • (在命令行界面,可以直接打“tab”键来补全命令) 1、配置文件相关命令 [Quidway]display cur...
    哈士奇18阅读 4,385评论 0 2
  • 0×1.冗余链路中存在的问题这一部分使用下面这个拓扑图(图1)来讲解一下链路冗余容易造成的三个问题: 如图1所示S...
    Zero___阅读 1,600评论 0 2
  • (1)模式转换命令 用户模式----特权模式,使用命令"enable"特权模式----全局配置模式,使用命令"co...
    十八度的帝都阅读 5,611评论 0 15
  • 这两天在双溪继续学画,哪也不想去,只想在仅有的一点假期里认真学、投入画,希望能从林老师那里取得真经返回家乡。 画画...
    美生活阅读 305评论 0 0