设为首页收藏本站language→→ 语言切换

鸿鹄论坛

 找回密码
 论坛注册

QQ登录

先注册再绑定QQ

查看: 2437|回复: 5
收起左侧

[求助] 华为7706交换机配置,牛刀小试,请大家指导

[复制链接]
发表于 2016-12-1 14:06:34 | 显示全部楼层 |阅读模式
本帖最后由 甜美慢节奏~ 于 2016-12-1 16:41 编辑

网络拓扑如下图所示:上面两个核心交换机型号为S7706做业务端口的集群堆叠,下边两个交换机为S5700做业务端口的集群堆叠,二者之采用eth-trunk口连接,下边的服务器都是双网卡,都与S5700采用eth-trunk连接,配置如下,大家看看给给意见



QQ图片20161201140138.png

S7706集群的配置
1.配置集群系统与上、下游设备的Eth-Trunk
<S7706A01> system-view
[S7706A01] sysname ZAHD-S7706-01              //给集群系统重新命名
[ZAHD-S7706-01] interface eth-trunk 10
[ZAHD-S7706-01-Eth-Trunk10] quit
[ZAHD-S7706-01] interface xgigabitethernet 1/1/0/3
[ZAHD-S7706-01-XGigabitEthernet1/1/0/3] eth-trunk 10
[ZAHD-S7706-01-XGigabitEthernet1/1/0/3] quit
[ZAHD-S7706-01] interface xgigabitethernet 2/1/0/4
[ZAHD-S7706-01-XGigabitEthernet2/1/0/4] eth-trunk 10
[ZAHD-S7706-01-XGigabitEthernet2/1/0/4] quit


[ZAHD-S7706-01] interface eth-trunk 20
[ZAHD-S7706-01-Eth-Trunk20] quit
[ZAHD-S7706-01] interface xgigabitethernet 1/1/0/4
[ZAHD-S7706-01-XGigabitEthernet1/1/0/4] eth-trunk 10
[ZAHD-S7706-01-XGigabitEthernet1/1/0/4] quit
[ZAHD-S7706-01] interface xgigabitethernet 2/1/0/3
[ZAHD-S7706-01-XGigabitEthernet2/1/0/3] eth-trunk 20
[ZAHD-S7706-01-XGigabitEthernet2/1/0/3] quit

两套集群系统互为代理
在每个集群系统上
执行命令system-view,进入系统视图。
执行命令mad domain domain-id,配置集群系统MAD域值。
缺省情况下,集群系统MAD域值为0。
说明:
设备支持两套集群系统互为代理进行多主检测,此时必须通过配置保证两套集群系统的MAD域值不同。

执行命令interface eth-trunk trunk-id,进入Eth-Trunk接口视图。
执行命令mad relay,在Eth-Trunk接口上启用代理功能。
执行命令mad detect mode relay,配置Eth-Trunk接口的代理方式多主检测功能。
S7706A01的配置:
1.配置集群连接方式、集群ID及集群优先级
HUAWEI> system-view
[HUAWEI] sysname S7706A01
[S7706A01] set css mode lpu
[S7706A01] set css id 1
[S7706A01] set css priority 100
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
3.使能集群功能
[SwitchA] css enable
Warning: The CSS configuration will take effect only after the system is rebooted. T
he next CSS mode is LPU. Reboot now? [Y/N]:y
S7706A02配置:

1.配置集群连接方式、集群ID及集群优先级
HUAWEI> system-view
[HUAWEI] sysname S7706A02
[S7706A02] set css mode lpu
[S7706A02] set css id 2
[S7706A02] set css priority 10
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
3.使能集群功能
[SwitchA] css enable
Warning: The CSS configuration will take effect only after the system is rebooted. T
he next CSS mode is LPU. Reboot now? [Y/N]:y
S5700集群的配置:
1.配置集群系统与上、下游设备的Eth-Trunk
<S7706A01> system-view
[S7706A01] sysname ZAHD-S7706-01              //给集群系统重新命名
[ZAHD-S7706-01] interface eth-trunk 10
[ZAHD-S7706-01-Eth-Trunk10] quit
[ZAHD-S7706-01] interface xgigabitethernet 1/1/0/3
[ZAHD-S7706-01-XGigabitEthernet1/1/0/3] eth-trunk 10
[ZAHD-S7706-01-XGigabitEthernet1/1/0/3] quit
[ZAHD-S7706-01] interface xgigabitethernet 2/1/0/4
[ZAHD-S7706-01-XGigabitEthernet2/1/0/4] eth-trunk 10
[ZAHD-S7706-01-XGigabitEthernet2/1/0/4] quit




[ZAHD-S7706-01] interface eth-trunk 20
[ZAHD-S7706-01-Eth-Trunk20] quit
[ZAHD-S7706-01] interface xgigabitethernet 1/1/0/4
[ZAHD-S7706-01-XGigabitEthernet1/1/0/4] eth-trunk 10
[ZAHD-S7706-01-XGigabitEthernet1/1/0/4] quit
[ZAHD-S7706-01] interface xgigabitethernet 2/1/0/3
[ZAHD-S7706-01-XGigabitEthernet2/1/0/3] eth-trunk 20
[ZAHD-S7706-01-XGigabitEthernet2/1/0/3] quit


两套集群系统互为代理
在每个集群系统上
执行命令system-view,进入系统视图。
执行命令mad domain domain-id,配置集群系统MAD域值。
缺省情况下,集群系统MAD域值为0。
说明:
设备支持两套集群系统互为代理进行多主检测,此时必须通过配置保证两套集群系统的MAD域值不同。


执行命令interface eth-trunk trunk-id,进入Eth-Trunk接口视图。
执行命令mad relay,在Eth-Trunk接口上启用代理功能。
执行命令mad detect mode relay,配置Eth-Trunk接口的代理方式多主检测功能。

S5700A01的配置:

1.配置集群连接方式、集群ID及集群优先级
HUAWEI> system-view
[HUAWEI] sysname S5700A01
[S5700A01] set css mode lpu
[S5700A01] set css id 1
[S5700A01] set css priority 100
2.配置逻辑集群端口
[S5700A01] interface css-port 1
[S5700A01-css-port1] port interface gigabitethernet 1/0/51 to xgigabitethernet 1/0/52 enable
[S5700A01-css-port1] quit
3.使能集群功能
[S5700A01] css enable
Warning: The CSS configuration will take effect only after the system is rebooted. T
he next CSS mode is LPU. Reboot now? [Y/N]:y

S5700A02的配置:
1.配置集群连接方式、集群ID及集群优先级
HUAWEI> system-view
[HUAWEI] sysname S5700A02
[S5700A02] set css mode lpu
[S5700A02] set css id 2
[S5700A02] set css priority 10
2.配置逻辑集群端口
[S5700A02] interface css-port 1
[S5700A02-css-port1] port interface gigabitethernet 1/0/51 to xgigabitethernet 1/0/52 enable
[S5700A02-css-port1] quit
3.使能集群功能
[S5700A02] css enable
Warning: The CSS configuration will take effect only after the system is rebooted. T
he next CSS mode is LPU. Reboot now? [Y/N]:y


发表于 2017-2-4 17:31:59 | 显示全部楼层
  配置好CSS 重启生效后如何查看配置
地板 2017-2-4 17:31:59 回复 收起回复
回复 支持 反对

使用道具 举报

 楼主| 发表于 2017-5-12 14:02:53 | 显示全部楼层
已经没问题了上线了
5# 2017-5-12 14:02:53 回复 收起回复
回复 支持 反对

使用道具 举报

发表于 2017-6-1 17:33:59 | 显示全部楼层
7706 5700都是基于业务口的集群。
6# 2017-6-1 17:33:59 回复 收起回复
回复 支持 反对

使用道具 举报

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

本版积分规则

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

GMT+8, 2024-4-27 18:55 , Processed in 0.063748 second(s), 10 queries , Redis On.  

  Powered by Discuz!

  © 2001-2024 HH010.COM

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