华为设备配置Smart Link负载分担(华为设备配置ssh)

网友投稿 282 2022-09-15


华为设备配置Smart Link负载分担(华为设备配置ssh)

1. 配置VLAN信息

[LSW1]vlan batch 10 20 30

[LSW1-GigabitEthernet0/0/2]port link-type trunk

[LSW1-GigabitEthernet0/0/2]port trunk allow-pass vlan 10 20 30

[LSW1-GigabitEthernet0/0/3]port link-type trunk

[LSW1-GigabitEthernet0/0/3]port trunk allow-pass vlan 10 20 30

[LSW2]vlan batch 10 20 30

[LSW2-GigabitEthernet0/0/1]port link-type trunk

[LSW2-GigabitEthernet0/0/1]port trunk allow-pass vlan 10 20 30

[LSW2-GigabitEthernet0/0/4]port link-type trunk

[LSW2-GigabitEthernet0/0/4]port trunk allow-pass vlan 10 20 30

[LSW3]vlan batch 10 20 30

[LSW3-GigabitEthernet0/0/1]port link-type trunk

[LSW3-GigabitEthernet0/0/1]port trunk allow-pass vlan 10 20 30

[LSW3-GigabitEthernet0/0/4]port link-type trunk

[LSW3-GigabitEthernet0/0/4]port trunk allow-pass vlan 10 20 30

[LSW4]vlan batch 10 20 30

[LSW4-GigabitEthernet0/0/2]port link-type trunk

[LSW4-GigabitEthernet0/0/2]port trunk allow-pass vlan 10 20 30

[LSW4-GigabitEthernet0/0/3]port link-type trunk

[LSW4-GigabitEthernet0/0/3]port trunk allow-pass vlan 10 20 30

2. 配置VLAN映射

[LSW1]stp region-configuration

[LSW1-mst-region]instance 10 vlan 30

[LSW1-mst-region]active region-configuration

3. 创建Smart Link备份组,并指定端口角色

[LSW1-GigabitEthernet0/0/2]stp disable

[LSW1-GigabitEthernet0/0/3]stp disable

[LSW1]smart-link group 1

[LSW1-smlk-group1]port GigabitEthernet 0/0/2 master

[LSW1-smlk-group1]port GigabitEthernet 0/0/3 slave

4. 配置负载分担功能

[LSW1-smlk-group1]load-balance instance 10 slave

5. 使能回切功能并设置回切时间

[LSW1-smlk-group1]restore enable

[LSW1-smlk-group1]timer wtr 30

6. 使能发送Flush报文功能

[LSW1-smlk-group1]flush send control-vlan 10 password simple 123

7. 使能接收Flush报文功能

[LSW2-GigabitEthernet0/0/1]smart-link flush receive control-vlan 10 password simple 123

[LSW2-GigabitEthernet0/0/1]stp disable

[LSW2-GigabitEthernet0/0/4]smart-link flush receive control-vlan 10 password simple 123

[LSW2-GigabitEthernet0/0/4]stp disable

[LSW3-GigabitEthernet0/0/1]smart-link flush receive control-vlan 10 password simple 123

[LSW3-GigabitEthernet0/0/1]stp disable

[LSW3-GigabitEthernet0/0/4]smart-link flush receive control-vlan 10 password simple 123

[LSW3-GigabitEthernet0/0/4]stp disable

[LSW4-GigabitEthernet0/0/2]smart-link flush receive control-vlan 10 password simple 123

[LSW4-GigabitEthernet0/0/2]stp disable

[LSW4-GigabitEthernet0/0/3]smart-link flush receive control-vlan 10 password simple 123

[LSW4-GigabitEthernet0/0/3]stp disable

6. 使能Smart Link组功能

[LSW1]smart-link group 1

[LSW1-smlk-group1]smart-link enable

7. 验证配置


版权声明:本文内容由网络用户投稿,版权归原作者所有,本站不拥有其著作权,亦不承担相应法律责任。如果您发现本站中有涉嫌抄袭或描述失实的内容,请联系我们jiasou666@gmail.com 处理,核实后本网站将在24小时内删除侵权内容。

上一篇:Java 实战练习之网上电商项目的实现
下一篇:[技术发展-25]:广播电视网、互联网、电信网、电网四网融合技术(广播电视网络技术)
相关文章

 发表评论

暂时没有评论,来抢沙发吧~