zoukankan      html  css  js  c++  java
  • 华为交换机设备组建堆叠示例(通过业务口普通线缆)

    华为交换机设备组建堆叠示例(通过业务口普通线缆)

    1、配置逻辑堆叠端口并加入物理成员端口

    # 配置SwitchA的业务口GigabitEthernet0/0/27、GigabitEthernet0/0/28为物理成员端口,并加入到相应的逻辑堆叠端口。

    <HUAWEI> system-view
    [HUAWEI] sysname SwitchA
    [SwitchA] interface stack-port 0/1
    [SwitchA-stack-port0/1] port interface gigabitethernet 0/0/27 enable
    Warning: Enabling stack function may cause configuration loss on the interface. Continue? [Y/N]:y
    Info: This operation may take a few seconds. Please wait.  
    [SwitchA-stack-port0/1] quit
    [SwitchA] interface stack-port 0/2
    [SwitchA-stack-port0/2] port interface gigabitethernet 0/0/28 enable
    Warning: Enabling stack function may cause configuration loss on the interface. Continue? [Y/N]:y
    Info: This operation may take a few seconds. Please wait.  
    [SwitchA-stack-port0/2] quit
    

    # 配置SwitchB的业务口GigabitEthernet0/0/27、GigabitEthernet0/0/28为物理成员端口,并加入到相应的逻辑堆叠端口。

    <HUAWEI> system-view
    [HUAWEI] sysname SwitchB
    [SwitchB] interface stack-port 0/1
    [SwitchB-stack-port0/1] port interface gigabitethernet 0/0/27 enable
    Warning: Enabling stack function may cause configuration loss on the interface. Continue? [Y/N]:y
    Info: This operation may take a few seconds. Please wait.  
    [SwitchB-stack-port0/1] quit
    [SwitchB] interface stack-port 0/2
    [SwitchB-stack-port0/2] port interface gigabitethernet 0/0/28 enable
    Warning: Enabling stack function may cause configuration loss on the interface. Continue? [Y/N]:y
    Info: This operation may take a few seconds. Please wait.  
    [SwitchB-stack-port0/2] quit
    

    # 配置SwitchC的业务口GigabitEthernet0/0/27、GigabitEthernet0/0/28为物理成员端口,并加入到相应的逻辑堆叠端口。

    <HUAWEI> system-view
    [HUAWEI] sysname SwitchC
    [SwitchC] interface stack-port 0/1
    [SwitchC-stack-port0/1] port interface gigabitethernet 0/0/27 enable
    Warning: Enabling stack function may cause configuration loss on the interface. Continue? [Y/N]:y
    Info: This operation may take a few seconds. Please wait.  
    [SwitchC-stack-port0/1] quit
    [SwitchC] interface stack-port 0/2
    [SwitchC-stack-port0/2] port interface gigabitethernet 0/0/28 enable
    Warning: Enabling stack function may cause configuration loss on the interface. Continue? [Y/N]:y
    Info: This operation may take a few seconds. Please wait.  
    [SwitchC-stack-port0/2] quit
    

    2、配置堆叠ID和堆叠优先级

    # 配置SwitchA的堆叠优先级为200。

    [SwitchA] stack slot 0 priority 200
    Warning: Please do not frequently modify Priority because it will make the stack split. Continue? [Y/N]:y 
    

    # 配置SwitchB的堆叠ID为1。

    [SwitchB] stack slot 0 renumber 1
    Warning: All the configurations related to the slot ID will be lost after the slot ID is modified.
    Please do not frequently modify slot ID because it will make the stack split. Continue? [Y/N]:y
    Info: Stack configuration has been changed, and the device needs to restart to make the configuration effective.
    

    # 配置SwitchC的堆叠ID为2。

    [SwitchC] stack slot 0 renumber 2
    Warning: All the configurations related to the slot ID will be lost after the slot ID is modified.
    Please do not frequently modify slot ID because it will make the stack split. Continue? [Y/N]:y
    Info: Stack configuration has been changed, and the device needs to restart to make the configuration effective.
    

    3、SwitchA、SwitchB、SwitchC下电,使用SFP+电缆连接后再上电。

    说明:

    • 下电前,建议通过命令save保存配置。
    • 本设备的stack-port 0/1必须连接邻设备的stack-port 0/2,否则堆叠组建不成功。
    • 为保证堆叠组建成功,建议按照以下顺序进行连线上电(如果用户希望某台交换机为主交换机可以先为其上电。例如,按以下顺序连线上电后,SwitchA为主交换机):
      1. 为SwitchA~SwitchC下电;
      2. 连接SwitchA与SwitchB之间的堆叠线缆;
      3. 先为SwitchA上电,SwitchA启动后,再为SwitchB上电;
      4. 检查SwitchA与SwitchB的堆叠组建是否成功,详细检查方法可参见检查堆叠组建是否成功
      5. 与上一步类似:连接SwitchC与SwitchB和SwitchA之间的堆叠线缆,再为SwitchC上电;
      6. 检查SwitchA、SwitchB、SwitchC的堆叠组建是否成功,详细检查方法可参见检查堆叠组建是否成功

    4、配置跨设备Eth-Trunk

    在堆叠系统上行链路上配置跨设备Eth-Trunk,具体配置过程请参见配置堆叠Eth-Trunk示例

    5、验证配置结果

    # 查看堆叠系统的基本信息。

    [SwitchA] display stack
    Stack mode: Service-port
    Stack topology type : Ring
    Stack system MAC: 0018-82d2-2e85
    MAC switch delay time: 10 min
    Stack reserved vlan : 4093
    Slot of the active management port: -- 
    Slot     Role        Mac address      Priority   Device type
    -------------------------------------------------------------
        0     Master      0018-82d2-2e85   200        S5700-28P-LI-AC
        1     Standby     0018-82c6-1f44   100        S5700-28P-LI-AC
        2     Slave       0018-82c6-1f4c   100        S5700-28P-LI-AC
    

    5、参考文档

    华为官网交换机配置文档:https://app.yinxiang.com/Home.action?login=true#n=7c08361c-a4d4-4d63-b48e-ccc7c967d422&s=s18&b=10ea75bf-ebde-4850-a416-5bee6b4d0db6&ses=4&sh=1&sds=5&

  • 相关阅读:
    int 类型 占多少字节是由什么决定的
    layer.js漂亮的弹出框
    jquery分页点击后页面置顶
    动态请求页面生成静态页
    弹出ifame页面(jquery.reveal.js)
    Request.QueryString["id"] 、Request.Params["id"] 的强大
    为什么现在改用int.TryParse了
    时间格式(例如:2015-11-09)
    返回前一页
    sql获得某个时间段的数据
  • 原文地址:https://www.cnblogs.com/yanling-coder/p/12072135.html
Copyright © 2011-2022 走看看