eNSP多生成树配置实现链路的负载均衡

eNSP多生成树配置实现链路的负载均衡_第1张图片

AR1:

un t m
Info: Current terminal monitor is off.
sys
Enter system view, return user view with Ctrl+Z.
[Huawei]sysname AR1
[AR1]user-interface console 0
[AR1-ui-console0]idle-timeout 0 0
[AR1-ui-console0]qu
[AR1]int g0/0/1
[AR1-GigabitEthernet0/0/1]ip address 10.1.10.254 24
[AR1-GigabitEthernet0/0/1]undo shut
Info: Interface GigabitEthernet0/0/1 is not shutdown.
[AR1-GigabitEthernet0/0/1]int g0/0/2
[AR1-GigabitEthernet0/0/2]ip address 10.1.20.254 24
[AR1-GigabitEthernet0/0/2]undo shut
Info: Interface GigabitEthernet0/0/2 is not shutdown.
[AR1-GigabitEthernet0/0/2]qu

SW1:

un t m
Info: Current terminal monitor is off.
sys
Enter system view, return user view with Ctrl+Z.
[Huawei]sysn	
[Huawei]sysname SW1
[SW1]user-interface console 0
[SW1-ui-console0]idle-timeout 0 0
[SW1-ui-console0]qu
[SW1]vlan bat 10 20
Info: This operation may take a few seconds. Please wait for a moment...done.
[SW1]int e0/0/1
[SW1-Ethernet0/0/1]port hybrid untagged vlan 10 20
[SW1-Ethernet0/0/1]int g0/0/1
[SW1-GigabitEthernet0/0/1]port hybrid pvid vlan 10
[SW1-GigabitEthernet0/0/1]port hybrid untagged vlan 10 20
[SW1-GigabitEthernet0/0/1]int g0/0/2
[SW1-GigabitEthernet0/0/2]port link-type trunk 
[SW1-GigabitEthernet0/0/2]port trunk allow-pass vlan all 
[SW1-GigabitEthernet0/0/2]qu
[SW1]stp mode mstp 
[SW1]stp region-configuration 
[SW1-mst-region]region-name	
[SW1-mst-region]region-name huawei
[SW1-mst-region]revision-level 1
[SW1-mst-region]instance 1 vlan 10
[SW1-mst-region]instance 2 vlan 20
[SW1-mst-region]act region-configuration 
Info: This operation may take a few seconds. Please wait for a moment...done.
[SW1-mst-region]qu
[SW1]stp instance 1 root primary 
[SW1]stp instance 2 root secondary 

SW2:

un t m
Info: Current terminal monitor is off.
sys
Enter system view, return user view with Ctrl+Z.
[Huawei]sysn SW2
[SW2]user-interface console 0
[SW2-ui-console0]idle-timeout 0 0
[SW2-ui-console0]qu
[SW2]vlan bat 10 20
Info: This operation may take a few seconds. Please wait for a moment...done.
[SW2]int e0/0/1
[SW2-Ethernet0/0/1]port hybrid untagged vlan 10 20
[SW2-Ethernet0/0/1]int g0/0/1
[SW2-GigabitEthernet0/0/1]port hybrid pvid vlan 20
[SW2-GigabitEthernet0/0/1]port hybrid untagged vlan 10 20
[SW2-GigabitEthernet0/0/1]int g0/0/2
[SW2-GigabitEthernet0/0/2]port link-type trunk 
[SW2-GigabitEthernet0/0/2]port trunk allow-pass vlan all 
[SW2-GigabitEthernet0/0/2]qu
[SW2]stp mode mstp 
[SW2]stp region-configuration 
[SW2-mst-region]region-name huawei
[SW2-mst-region]revision-level 1
[SW2-mst-region]instance 1 vlan 10
[SW2-mst-region]instance 2 vlan 20
[SW2-mst-region]active region-configuration 
Info: This operation may take a few seconds. Please wait for a moment...done.
[SW2-mst-region]qu
[SW2]stp instance 2 root primary 
[SW2]stp instance 1 root secondary 

SW3:


un t m
Info: Current terminal monitor is off.
sys
Enter system view, return user view with Ctrl+Z.
[Huawei]sysn SW3
[SW3]user-interface console 0
[SW3-ui-console0]idle-timeout 0 0
[SW3-ui-console0]qu
[SW3]vlan bat 10 20
Info: This operation may take a few seconds. Please wait for a moment...done.
[SW3]int e0/0/1
[SW3-Ethernet0/0/1]port hybrid pvid vlan 10	
[SW3-Ethernet0/0/1]port hybrid untagged vlan 10 20
[SW3-Ethernet0/0/1]int e0/0/2
[SW3-Ethernet0/0/2]port hybrid pvid vlan 20
[SW3-Ethernet0/0/2]port hybrid untagged vlan 10 20
[SW3-Ethernet0/0/2]int e0/0/3
[SW3-Ethernet0/0/3]port hybrid pvid vlan 10
[SW3-Ethernet0/0/3]port hybrid untagged vlan 10 20
[SW3-Ethernet0/0/3]int e0/0/4
[SW3-Ethernet0/0/3]port hybrid pvid vlan 20
[SW3-Ethernet0/0/4]port hybrid untagged vlan 10 20
[SW3-Ethernet0/0/4]qu
[SW3]stp mode mstp 	
[SW3]stp region-configuration 	
[SW3-mst-region]region-name huawei
[SW3-mst-region]revision-level 1	
[SW3-mst-region]instance 1 vlan 10
[SW3-mst-region]instance 2 vlan 20
[SW3-mst-region]active region-configuration 
Info: This operation may take a few seconds. Please wait for a moment...done.
[SW3-mst-region]qu

你可能感兴趣的:(eNSP多生成树配置实现链路的负载均衡)