华为7706交换机设置
的有关信息介绍如下:网络拓扑如下图所示:上面两个核心交换机型号为S7706做业务端口的集群堆叠,下边两个交换机为S5700做业务端口的集群堆叠,二者之采用eth-trunk口连接,下边的服务器都是双网卡,都与S5700采用eth-trunk连接。
S7706集群的配置:1.配置集群系统与上、下游设备的Eth-Trunk
[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 1002.配置逻辑集群端口[SwitchA] interface css-port 1[SwitchA-css-port1] port interface xgigabitethernet 1/0/1 to xgigabitethernet 1/0/2 enable[SwitchA-css-port1] quit3.使能集群功能[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
S7706A02配置:1.配置集群连接方式、集群ID及集群优先级HUAWEI> system-view[HUAWEI] sysname S7706A02[S7706A02] set css mode lpu[S7706A02] set css id 2[S7706A02] set css priority 102.配置逻辑集群端口[SwitchB] interface css-port 1[SwitchB-css-port1] port interface xgigabitethernet 1/0/1 to xgigabitethernet 1/0/2 enable[SwitchB-css-port1] quit3.使能集群功能[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
S5700集群的配置:1.配置集群系统与上、下游设备的Eth-Trunk
[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 1002.配置逻辑集群端口[S5700A01] interface css-port 1[S5700A01-css-port1] port interface gigabitethernet 1/0/51 to xgigabitethernet 1/0/52 enable[S5700A01-css-port1] quit3.使能集群功能[S5700A01] 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
S5700A02的配置:1.配置集群连接方式、集群ID及集群优先级HUAWEI> system-view[HUAWEI] sysname S5700A02[S5700A02] set css mode lpu[S5700A02] set css id 2[S5700A02] set css priority 102.配置逻辑集群端口[S5700A02] interface css-port 1[S5700A02-css-port1] port interface gigabitethernet 1/0/51 to xgigabitethernet 1/0/52 enable[S5700A02-css-port1] quit3.使能集群功能[S5700A02] 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