您的位置:首页 > 其它

华为路由交换堆叠(通过堆叠卡)

2016-12-17 00:00 302 查看
摘要: 设备组建堆叠示例

组网需求

在一个新建的企业网络中,要求接入设备具有充足的端口数目,并且希望网络结构简单,易于配置和管理。

图1所示,根据用户需求,SwitchA、SwitchB和SwitchC三台接入交换机采用环形堆叠组网,并通过跨设备Eth-Trunk连接上层设备SwitchD。其中,SwitchA、SwitchB和SwitchC的角色分别为主、备、从,堆叠ID分别为0、1、2,优先级分别为200、100、100。由于组成堆叠的成员交换机在逻辑上是一个整体,所以整个网络在扩展了端口数量的同时也方便了用户对网络的管理和维护。

现网设备以S5700-EI交换机为例,S5700-EI交换机支持通过堆叠卡连接方式组建堆叠。

1堆叠组建后的组网



配置思路

采用如下的思路配置:

1. 设备先下电,安装ES5D00ETPC00堆叠后插卡后,再将设备上电。

说明:

· ES5D00ETPC00堆叠后插卡不支持热插拔,如果设备处于上电状态,安装前需要先将设备下电。

· 堆叠卡安装完成之后,才能进行相关软件配置。

2. 使能堆叠功能。

3. 为方便用户管理,配置成员交换机的堆叠ID和优先级。

4. SwitchA、SwitchB、SwitchC下电。按照图1所示,使用PCIe线缆连接各堆叠端口并上电。

说明:

堆叠连接时一台交换机的STACK 1端口只能与另一台交换机的STACK 2端口相连接。

5. 为提高可靠性、增加上行链路带宽,配置跨设备Eth-Trunk。

操作步骤

1. 安装ES5D00ETPC00堆叠后插卡

为SwitchA、SwitchB、SwitchC安装ES5D00ETPC00堆叠后插卡,详细安装说明可参见安装堆叠卡

2. 使能堆叠功能

# 使能SwitchA的堆叠功能。

<HUAWEI> system-view

[HUAWEI] sysname SwitchA

[SwitchA] stack enable

Warning: All the configurations related to the slot ID will be lost after the stack function is enabled. Continue?[Y/N]: y

Info: Stack configuration has been changed, need reboot to take effect.

# 使能SwitchB的堆叠功能。

<HUAWEI> system-view

[HUAWEI] sysname SwitchB

[SwitchB] stack enable

Warning: All the configurations related to the slot ID will be lost after the stack function is enabled. Continue?[Y/N]: y

Info: Stack configuration has been changed, need reboot to take effect.

# 使能SwitchC的堆叠功能。

<HUAWEI> system-view

[HUAWEI] sysname SwitchC

[SwitchC] stack enable

Warning: All the configurations related to the slot ID will be lost after the stack function is enabled. Continue?[Y/N]: y

Info: Stack configuration has been changed, need reboot to take effect.

说明:

堆叠功能生效后才能配置堆叠ID和堆叠优先级。因此,如果当前堆叠功能未使能,使能堆叠功能之后,配置堆叠ID和堆叠优先级之前,需要重启设备,使堆叠功能生效。

3. 配置堆叠ID和堆叠优先级

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

[SwitchA] stack slot 0 priority 200

Warning:Please do not frequently modify Priority, 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, it will make the stack split. Continue?[Y/N]:y

Info: Stack configuration has been changed, need reboot to take effect.

# 配置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, it will make the stack split. Continue?[Y/N]:y

Info: Stack configuration has been changed, need reboot to take effect.

4. SwitchA、SwitchB、SwitchC下电,使用PCIe线缆连接各堆叠端口并上电。

说明:

· 下电前,建议通过命令save保存配置。

· 一台交换机的STACK 1端口只能与另一台交换机的STACK 2端口相连接,否则堆叠组建不成功。

· 为保证堆叠组建成功,建议按照以下顺序进行连线上电(如果用户希望某台交换机为主交换机可以先为其上电。例如,按以下顺序连线上电后,SwitchA为主交换机):

a. 为SwitchA~SwitchC下电;

b. 连接SwitchA与SwitchB之间的堆叠线缆;

c. 先为SwitchA上电,SwitchA启动后,再为SwitchB上电;

d. 检查SwitchA与SwitchB的堆叠组建是否成功,详细检查方法可参见检查堆叠组建是否成功

e. 与上一步类似:连接SwitchC与SwitchB和SwitchA之间的堆叠线缆,再为SwitchC上电;

f. 检查SwitchA、SwitchB、SwitchC的堆叠组建是否成功,详细检查方法可参见检查堆叠组建是否成功

5. 配置跨设备Eth-Trunk

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

6. 验证配置结果

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

<SwitchA> display stack

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        S5728C-EI

1     Standby     0018-82c6-1f4c   100        S5728C-EI

2     Slave       0018-82b1-6eb8   100        S5728C-EI
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  华为路由 交换