设为首页收藏本站language 语言切换
查看: 1651|回复: 2
收起左侧

[分享] 华为业务口堆叠配置

[复制链接]
发表于 2021-3-2 20:10:33 | 显示全部楼层 |阅读模式
华为业务口堆叠
2.png
一、配置集群连接方式、集群ID及集群优先级
# 配置SwitchA的集群连接方式为业务口集群,集群优先级为100,集群ID为1(缺省为1无需配置)。

[SwitchA] set css mode lpu

[SwitchA] set css id 1

[SwitchA] set css priority 100
# 配置SwitchB的集群连接方式为业务口集群,集群ID为2,集群优先级为10。

[SwitchB] set css mode lpu

[SwitchB] set css id 2
[SwitchB] set css priority 10
二、配置逻辑集群端口
# 配置SwitchA的业务口XGE1/0/1~XGE1/0/2为集群物理成员端口并加入集群端口1,XGE2/0/1~XGE2/0/2为集群物理成员端口并加入集群端口2。
[SwitchA] interface css-port 1[SwitchA-css-port1] port interface xgigabitethernet 1/0/1 to xgigabitethernet 1/0/2 enable[SwitchA-css-port1] quit[SwitchA] interface css-port 2[SwitchA-css-port2] port interface xgigabitethernet 2/0/1 to xgigabitethernet 2/0/2 enable[SwitchA-css-port2] quit
# 配置SwitchB的业务口XGE1/0/1~XGE1/0/2为集群物理成员端口并加入集群端口1,XGE2/0/1~XGE2/0/2为集群物理成员端口并加入集群端口2。
[SwitchB] interface css-port 1[SwitchB-css-port1] port interface xgigabitethernet 1/0/1 to xgigabitethernet 1/0/2 enable[SwitchB-css-port1] quit[SwitchB] interface css-port 2[SwitchB-css-port2] port interface xgigabitethernet 2/0/1 to xgigabitethernet 2/0/2 enable[SwitchB-css-port2] quit
三、使能集群功能
# 使能SwitchA的集群功能并重新启动SwitchA。
[SwitchA] css enableWarning: The CSS configuration will take effect only after the system is rebooted. The next CSS mode is LPU. Reboot now? [Y/N]:y
# 使能SwitchB的集群功能并重新启动SwitchB。
[SwitchB] css enableWarning: The CSS configuration will take effect only after the system is rebooted. The next CSS mode is LPU. Reboot now? [Y/N]:y


发表于 2021-3-3 09:42:18 | 显示全部楼层
好东西谢谢楼主分享
沙发 2021-3-3 09:42:18 回复 收起回复
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 论坛注册

本版积分规则

QQ|Archiver|手机版|小黑屋|sitemap|鸿鹄论坛 ( 京ICP备14027439号 )  

GMT+8, 2025-2-2 21:50 , Processed in 0.077609 second(s), 14 queries , Redis On.  

  Powered by Discuz!

  © 2001-2025 HH010.COM

快速回复 返回顶部 返回列表