華為MSTP多生成樹配置
阿新 • • 發佈:2018-07-02
rev Oz 分享圖片 pro vpd 分享 config 路由 png
1.配置客戶端和路由器的IP地址
·
2.配置VLAN及Trunk
·
3.配置MSTP
SW1
[Huawei]stp mode mstp -----將交換機配置成MSTP模式
[Huawei]stp region-configuration -----進入MSTP模式
[Huawei-mst-region]region-name huawei -----配置域名為huawei
[Huawei-mst-region]revision-level 1 ------配置版本等級為1
[Huawei-mst-region]instance 1 vlan 10 ------將vlan10加入實例1中
[Huawei-mst-region]instance 2 vlan 20 ------將vlan20加入實例2中
[Huawei-mst-region]active region-configuration ----激活配置(必須配置)
[Huawei]stp instance 1 root primary -----配置交換機為實例1的主根
[Huawei]stp instance 2 root secondary -----配置交換機為實例2的備根
1.配置客戶端和路由器的IP地址
·
2.配置VLAN及Trunk
·
3.配置MSTP
SW1
[Huawei]stp mode mstp -----將交換機配置成MSTP模式
[Huawei]stp region-configuration -----進入MSTP模式
[Huawei-mst-region]region-name huawei -----配置域名為huawei
[Huawei-mst-region]revision-level 1 ------配置版本等級為1
[Huawei-mst-region]instance 1 vlan 10 ------將vlan10加入實例1中
[Huawei-mst-region]instance 2 vlan 20 ------將vlan20加入實例2中
[Huawei]stp instance 1 root primary -----配置交換機為實例1的主根
[Huawei]stp instance 2 root secondary -----配置交換機為實例2的備根
SW2
[Huawei]stp mode mstp
[Huawei]stp region-configuration
[Huawei-mst-region]region-name huawei
[Huawei-mst-region]revision-level 1
[Huawei-mst-region]instance 1 vlan 10 [Huawei-mst-region]instance 2 vlan 20
[Huawei-mst-region]active region-configuration
[Huawei]stp instance 1 root secondary
[Huawei]stp instance 2 root primary
SW3
[Huawei]stp mode mstp
[Huawei]stp region-configuration
[Huawei-mst-region]region-name huawei
[Huawei-mst-region]revision-level 1
[Huawei-mst-region]instance 1 vlan 10 [Huawei-mst-region]instance 2 vlan 20
[Huawei-mst-region]active region-configuration
華為MSTP多生成樹配置