企业组网配置方案-MSTP配置

发布时间:2022-09-16 17:20:21 作者:江小鱼阅读:0

[导读]:实验拓扑实验要求为实现分别属于不同VLAN的的流量能够进行负载均衡,可采用MSTP来实现,VLAN1~10为一组,VLAN11~20为二组;要求SWA成为组一的根,组二备份的根,SWB成为组二的根,组...

实验拓扑

企业组网配置方案-MSTP配置

实验要求

为实现分别属于不同VLAN的的流量能够进行负载均衡,可采用MSTP来实现,VLAN1~10为一组,VLAN11~20为二组;要求SWA成为组一的根,组二备份的根,SWB成为组二的根,组一备份的根,vlan1-10走SWC-SWA;vlan11-20走SWD-SWB。

实验步骤

SWA配置

vlan batch 2 to 20
#
stp instance 1 root primary
stp instance 2 root secondary
stp region-configuration
 region-name RG1
 instance 1 vlan 1 to 10
 instance 2 vlan 11 to 20
 active region-configuration
interface GigabitEthernet0/0/1
 port link-type trunk
 port trunk allow-pass vlan 2 to 4094
#
interface GigabitEthernet0/0/2
 port link-type trunk
 port trunk allow-pass vlan 2 to 4094


SWB配置


vlan batch 2 to 20
#
stp instance 1 root secondary
stp instance 2 root primary
stp region-configuration
 region-name RG1
 instance 1 vlan 1 to 10
 instance 2 vlan 11 to 20
 active region-configuration

interface GigabitEthernet0/0/1
 port link-type trunk
 port trunk allow-pass vlan 2 to 4094
#
interface GigabitEthernet0/0/2
 port link-type trunk
 port trunk allow-pass vlan 2 to 4094


SWC配置

vlan batch 2 to 20
stp region-configuration
 region-name RG1
 instance 1 vlan 1 to 10
 instance 2 vlan 11 to 20
 active region-configuration

interface GigabitEthernet0/0/1
 port link-type trunk
 port trunk allow-pass vlan 2 to 4094
#
interface GigabitEthernet0/0/2
 port link-type trunk
 port trunk allow-pass vlan 2 to 4094
 stp instance 2 cost 200000
interface GigabitEthernet0/0/3
 port link-type access
 port default vlan 10
 stp edged-port enable


SWD配置

vlan batch 2 to 20
stp region-configuration
 region-name RG1
 instance 1 vlan 1 to 10
 instance 2 vlan 11 to 20
 active region-configuration
 
interface GigabitEthernet0/0/1
 port link-type trunk
 port trunk allow-pass vlan 2 to 4094
#
interface GigabitEthernet0/0/2
 port link-type trunk
 port trunk allow-pass vlan 2 to 4094
 stp instance 1 cost 200000
#
interface GigabitEthernet0/0/3
 port link-type access
 port default vlan 20
 stp edged-port enable


验证

查看SWA端口状态

企业组网配置方案-MSTP配置

查看SWB端口状态

企业组网配置方案-MSTP配置

查看SWC端口状态

企业组网配置方案-MSTP配置

查看SWD端口状态

企业组网配置方案-MSTP配置

以上就是企业组网配置方案-MSTP配置的介绍。如果你还有其他问题,欢迎进行咨询探讨,希望微云网络的专业的解决方案,可以解决你目前遇到的问题。微云网络提供全球主机托管、服务器租用、MPLS专线、SD-WAN等方面的专业服务,资源覆盖全球。欢迎咨询。

免责声明:本站发布的内容(图片、视频和文字)以原创、转载和分享为主,文章观点不代表本网站立场,如果涉及侵权请联系站长邮箱:shawn.lee@vecloud.com进行举报,并提供相关证据,一经查实,将立刻删除涉嫌侵权内容。

标题:企业组网配置方案-MSTP配置

TAG标签:企业组网MSTP

地址:https://www.kd010.com/hyzs/1335.html

上一篇:如何正确进行云迁移
下一篇:Gartner 2022 SD-WAN魔力象限发布

Vecloud云网络解决方案

点击获取方案

返回顶部