基于eNSP的MSTP(同时使用VRRP+RIP)
拓扑如下:
提示:该文章仅为参考,所有参考该文章所造成的后果与作者无关
文章目录
前言
在上一部分基于eNSP的DHCP配置(同时使用链路聚合)学习完成后使用
一、MSTP是什么?
MSTP就是RSTP的升级版本,它有两个或者多个主根桥以及两个或者多个备份根桥构成。
二、MSTP
1.MSTP创建
代码如下(示例):
[LSW1]stp mode mstp 切换stp为MSTP
[LSW1]stp region-configuration 进入stp
[LSW1-mst-region]region-name x 命名为x
[LSW1-mst-region]revision-level 1 设置级别为1
[LSW1-mst-region]instance 1 vlan 10 to 20 创建实例1,将vlan 10和vlan 20加入实例1
[LSW1-mst-region]instance 2 vlan 30 to 40
[LSW1-mst-region]active region-configuration 确认配置
Info: This operation may take a few seconds. Please wait for a moment...done.
信息:此操作可能需要几秒钟时间。请稍等。。。完成。
在所有交换机上配置。
2.MSTP的主根桥和备份根桥
[LSW1]stp instance 1 priority 0 设置为实例1的主根桥
[LSW1]