华为设备配置Smart Link主备备份(华为设备配置ip地址)

网友投稿 339 2022-09-15


华为设备配置Smart Link主备备份(华为设备配置ip地址)

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. 创建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

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

[LSW1-smlk-group1]restore enable

[LSW1-smlk-group1]timer wtr 30

4. 使能发送Flush报文功能

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

5. 使能接收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. 验证配置

[LSW1-GigabitEthernet0/0/2]shutdown

[LSW1-GigabitEthernet0/0/2]undo shutdown


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

上一篇:Java 实战范例之线上新闻平台系统的实现
下一篇:BFD实验演示(Huawei路由器设备配置)(华为路由器bfd配置)
相关文章

 发表评论

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