SD-WAN
集团多分支节点智能化组网
发布时间:2022-09-16 17:20:21 作者:江小鱼阅读:0
为实现分别属于不同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端口状态
查看SWB端口状态
查看SWC端口状态
查看SWD端口状态
以上就是企业组网配置方案-MSTP配置的介绍。如果你还有其他问题,欢迎进行咨询探讨,希望微云网络的专业的解决方案,可以解决你目前遇到的问题。微云网络提供全球主机托管、服务器租用、MPLS专线、SD-WAN等方面的专业服务,资源覆盖全球。欢迎咨询。
免责声明:本站发布的内容(图片、视频和文字)以原创、转载和分享为主,文章观点不代表本网站立场,如果涉及侵权请联系站长邮箱:shawn.lee@vecloud.com进行举报,并提供相关证据,一经查实,将立刻删除涉嫌侵权内容。
标题:企业组网配置方案-MSTP配置
地址:https://www.kd010.com/hyzs/1335.html
全天服务支持
资源覆盖全球
专属优质服务
技术全线支持