华为交换机堆叠配置

一、CSS堆叠集群配置(框式交换机)

1、通过集群卡连接方式组建集群

SwitchA set css mode css-card \\配置集群卡连接方式

SwitchA set css id 1 \\配置成员交换机的集群ID(缺省值为1)

SwitchA set css priority 100 \\配置设备的群集优先级

SwitchA css enable \\使能交换机的集群功能

2、通过业务口连接方式组建集群

SwitchA set css mode lpu \\配置业务口连接方式

SwitchA set css id 1 \\配置成员交换机的集群ID

SwitchA set css priority 100 \\配置设备的集群优先级

SwitchA interface css-port 1 \\进入逻辑集群端口视图

SwitchA-css-port1 port interface xgigabitethernet 1/0/1 to xgigabitethernet 1/0/2 enable

\\配置业务口为物理成员端口,并将物理成员端口加入到逻辑集群端口中

SwitchA interface css-port 2

SwitchA-css-port2 port interface xgigabitethernet 2/0/1 to xgigabitethernet 2/0/2 enable

SwitchA css enable \\使能交换机的集群功能

3、配置多主检测功能(此处选择代理方式进行配置,将SwitchC作为代理设备)

在集群系统上配置Eth-Trunk接口的代理方式多主检测功能。

<CSS> system-view

CSS interface eth-trunk 20

CSS-Eth-Trunk20 mad detect mode relay

CSS-Eth-Trunk20 quit

CSS quit

配置代理设备SwitchC的代理功能。

SwitchC interface eth-trunk 20

SwitchC-Eth-Trunk20 mad relay

SwitchC-Eth-Trunk20 quit

SwitchC quit

4、 检查配置结果。

在集群系统上查看集群多主检测的配置信息。

<CSS> display mad

Current MAD domain: 0

MAD direct detection enabled: NO

MAD relay detection enabled: YES

在SwitchC上查看配置的代理信息。

<SwitchC> display mad proxy

Mad relay interfaces configured:

Eth-Trunk20

二、iStack堆叠配置(盒式交换机)

1、通过堆叠卡连接方式组建堆叠

SwitchA stack slot 0 priority 200

\\配置成员交换机的堆叠优先级,缺省情况下,成员交换机优先级为100

SwitchB stack slot 0 remumber 1

\\配置设备堆叠ID

2、通过业务口连接方式组建堆叠

SwitchA interface stack-port 0/1

SwitchA-stack-port0/1 port interface gigabitethernet 0/0/27 enable

\\配置业务口物理成员端口并将其加到逻辑堆叠端口中,交换机B同理

SwitchA interface stack-port 0/2

SwitchA-stack-port0/2 port interface gigabitethernet 0/0/28 enable

SwitchA stack slot 0 priority 200

配置SwitchA的去堆叠优先级为200

SwitchB stack slot 0 renumber 1

\\配置SwitchB设备堆叠ID为1

SwitchB interface stack-port 0/1

SwitchB-stack-port0/1 port interface gigabitethernet 0/0/28 enable

\\配置业务口物理成员端口并将其加到逻辑堆叠端口中,交换机B同理

SwitchB interface stack-port 0/2

SwitchB-stack-port0/2 port interface gigabitethernet 0/0/27 enable

相关推荐
熊猫钓鱼>_>16 小时前
平行视界兼容模式与魔法变量配置避坑【鸿蒙心迹】
运维·服务器·开发语言·笔记·华为·harmonyos·openharmony
李&@杰17 小时前
小型园区网从零到精通
网络·tcp/ip·华为
redtank20001 天前
纯血鸿蒙学习效率三件套实测:背单词艾宾浩斯曲线、时间记录与睡眠辅助
学习·华为·harmonyos
打工仔折腾 AI1 天前
鸿蒙移动端直连 Windows 远程桌面配置与性能调优实践
人工智能·windows·后端·python·华为·性能优化·harmonyos
罗四强1 天前
第7篇:常用组件:Text/Image/Button/List 实战拼页面
华为·harmonyos
OH_TPC2 天前
HarmonyOS APP开发---“动效君“UI动效素材库App,需要用到这个库
ui·华为·harmonyos·鸿蒙
万物智能信息科技2 天前
指纹识别传感器驱动开发—【万物智能之开源鸿蒙OpenHarmony系统实战开发系列教程】
驱动开发·华为·开源·harmonyos·鸿蒙
2601_949480063 天前
开源鸿蒙平台 CMP 三方库「shadcn」适配全流程
华为·开源·harmonyos
redtank20003 天前
纯血鸿蒙本地电子书阅读器实测:九格式支持、沉浸阅读与零联网隐私设计
华为·harmonyos
huainingning3 天前
华为E1专线使用与配置案例
华为