• 华为设备配置Smart Link主备备份


    在这里插入图片描述

    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

    在这里插入图片描述

  • 相关阅读:
    Koa全栈登录鉴权
    Frp内网穿透部署
    手机桌面待办事项APP推荐
    技术分享| anyRTC之RTN网络
    NXP实战笔记(七):S32K3xx基于RTD-SDK在S32DS上配置ICU输入捕获
    react 18新特性 了解一下
    Java项目论文+PPT+源码等]S2SH+mysql的报刊订阅系统
    【设计模式】设计模式的七大原则
    Elasticsearch:不用高深的数学知识来理解 LLMs 是如何工作的
    秒懂双亲委派机制
  • 原文地址:https://blog.csdn.net/Tony_long7483/article/details/126178993