• 全部
  • 经验案例
  • 典型配置
  • 技术公告
  • FAQ
  • 漏洞说明
  • 全部
  • 全部
  • 大数据引擎
  • 知了引擎
产品线
搜索
取消
案例类型
发布者
是否解决
是否官方
时间
搜索引擎
匹配模式
高级搜索

3600堆叠

2021-08-05提问
  • 2关注
  • 1收藏,709浏览
粉丝:0人 关注:0人

问题描述:

您好,MSR 3600怎么做堆叠?帮忙组织下配置。官方文档没怎么看懂。谢谢

组网及组网描述:


最佳答案

粉丝:22人 关注:1人

两种方式,一般使用BFD MAD,因为比较简单,简化设备。

IRF典型配置举例(BFD MAD检测方式)

1. 组网需求

1-14所示,配置Device ADevice B组成IRF设备,接入层设备通过聚合双链路上行。因为成员设备比较少,我们配置BFD MAD进行分裂检测。

2. 组网图

图1-14 IRF典型配置组网图(BFD MAD检测方式)

 

3. 配置步骤

(1)       配置Device A

# 设置Device A的成员编号为1,创建IRF端口2,并将它与物理端口Ten-GigabitEthernet2/0/1Ten-GigabitEthernet3/0/1绑定。

<Sysname> system-view

[Sysname] irf member 1

[Sysname] irf-port 2

[Sysname-irf-port2] port group interface ten-gigabitethernet 2/0/1

[Sysname-irf-port2] port group interface ten-gigabitethernet 3/0/1

[Sysname-irf-port2] quit

# 将当前配置保存到下次启动配置文件。

[Sysname] quit

<Sysname> save

# 将设备的运行模式切换到IRF模式。

<Sysname> system-view

[Sysname] chassis convert mode irf

The device will switch to IRF mode and reboot.

You are recommended to save the current running configuration and specify the configuration file for the next startup. Continue? [Y/N]:y

Please input the file name(*.cfg)[flash:/startup.cfg]

(To leave the existing filename unchanged, press the enter key):

flash:/startup.cfg exists, overwrite? [Y/N]:y

Validating file. Please wait...

Saved the current configuration to mainboard device successfully.

Slot 1:

Save next configuration file successfully.

Do you want to convert the content of the next startup configuration file flash:/startup.cfg to make it available in IRF mode? [Y/N]:y

Now rebooting, please wait...

设备重启后Device A组成了只有一台成员设备的IRF

(2)       配置Device B

# 配置Device B的成员编号为2,创建IRF端口1,并将它与物理端口Ten-GigabitEthernet2/0/1Ten-GigabitEthernet3/0/1绑定。

<Sysname> system-view

[Sysname] irf member 2

[Sysname] irf-port 1

[Sysname-irf-port1] port group interface ten-gigabitethernet 2/0/1

[Sysname-irf-port1] port group interface ten-gigabitethernet 3/0/1

[Sysname-irf-port1] quit

# 将当前配置保存到下次启动配置文件。

[Sysname] quit

<Sysname> save

# 参照图1-14进行物理连线。

# 将设备的运行模式切换到IRF模式。

<Sysname> system-view

[Sysname] chassis convert mode irf

The device will switch to IRF mode and reboot.

You are recommended to save the current running configuration and specify the configuration file for the next startup. Continue? [Y/N]:y

Please input the file name(*.cfg)[flash:/startup.cfg]

(To leave the existing filename unchanged, press the enter key):

flash:/startup.cfg exists, overwrite? [Y/N]:y

Validating file. Please wait...

Saved the current configuration to mainboard device successfully.

Slot 1:

Save next configuration file successfully.

Do you want to convert the content of the next startup configuration file flash:/startup.cfg to make it available in IRF mode? [Y/N]:y

Now rebooting, please wait...

设备B重启后与设备A形成IRF

(3)       配置BFD MAD检测

# 创建三层聚合接口1

<Sysname> system-view

[Sysname] interface route-aggregation 1

[Sysname-Route-Aggregation1] quit

#分别将接口Ten-GigabitEthernet1/2/0/2Ten-GigabitEthernet2/2/0/2加入到聚合组1中。

[Sysname] interface ten-gigabitethernet 1/2/0/2

[Sysname-Ten-GigabitEthernet1/2/0/2] port link-aggregation group 1

[Sysname-Ten-GigabitEthernet1/2/0/2] quit

[Sysname] interface ten-gigabitethernet 2/2/0/2

[Sysname-Ten-GigabitEthernet2/2/0/2] port link-aggregation group 1

[Sysname-Ten-GigabitEthernet2/2/0/2] quit

#配置三层聚合接口1MAD IP地址。

[Sysname] interface route-aggregation 1

[Sysname-Route-Aggregation1] mad bfd enable

[Sysname-Route-Aggregation1] mad ip address 192.168.2.1 24 member 1

[Sysname-Route-Aggregation1] mad ip address 192.168.2.2 24 member 2

[Sysname-Route-Aggregation1] quit

暂无评论

2 个回答
粉丝:1人 关注:0人


https://mp.weixin.qq.com/s?__biz=MzAwMjUwODQzMw==&mid=2650467967&idx=1&sn=d0e2a4991741f4277e05b97b2c684755#rd

暂无评论

粉丝:39人 关注:7人

以下是堆叠的配置举例,请参考:

1.9  IRF典型配置举例

1.9.1  IRF典型配置举例(LACP MAD检测方式)

1. 组网需求

由于公司人员激增,接入层交换机提供的端口数目已经不能满足PC的接入需求。现需要在保护现有投资的基础上扩展端口接入数量,并要求网络易管理、易维护。

2. 组网图

图1-13 IRF典型配置组网图(LACP MAD检测方式)

 

3. 配置思路

·     Device A提供的接入端口数目已经不能满足网络需求,需要另外增加一台设备Device B。(本文以两台设备组成IRF为例,在实际组网中可以根据需要,将多台设备组成IRF,配置思路和配置步骤与本例类似)

·     鉴于第二代智能弹性架构IRF技术具有管理简便、网络扩展能力强、可靠性高等优点,所以本例使用IRF技术构建接入层(即在Device A和Device B上配置IRF功能)。

·     为了防止万一IRF链路故障导致IRF分裂、网络中存在两个配置冲突的IRF,需要启用MAD检测功能。因为接入层设备较多,我们采用LACP MAD检测。

4. 配置步骤

说明

为便于区分,下文配置中假设IRF形成前Device A的系统名称为DeviceA,Device B的系统名称为Device B;中间设备Device C的系统名称为DeviceC。

 

(1)     配置设备编号

# Device A保留缺省编号为1,不需要进行配置。

# 在Device B上将设备的成员编号修改为2。

<DeviceB> system-view

[DeviceB] irf member 1 renumber 2

Warning: Renumbering the switch number may result in configuration change or loss. Continue? [Y/N]:y

[DeviceB]

(2)     将两台设备断电后,按图1-13所示连接IRF链路,然后将两台设备上电。

# 在Device A上创建设备的IRF端口2,与物理端口Ten-GigabitEthernet1/1/2绑定,并保存配置。

<DeviceA> system-view

[DeviceA] interface ten-gigabitethernet 1/1/2

[DeviceA-Ten-GigabitEthernet1/1/2] shutdown

[DeviceA-Ten-GigabitEthernet1/1/2] quit

[DeviceA] irf-port 1/2

[DeviceA-irf-port1/2] port group interface ten-gigabitethernet 1/1/2

[DeviceA-irf-port1/2] quit

[DeviceA] interface ten-gigabitethernet 1/1/2

[DeviceA-Ten-GigabitEthernet1/1/2] undo shutdown

[DeviceA-Ten-GigabitEthernet1/1/2] save

# 在Device B上创建设备的IRF端口1,与物理端口Ten-GigabitEthernet2/1/1绑定,并保存配置。

<DeviceB> system-view

[DeviceB] interface ten-gigabitethernet 2/1/1

[DeviceB-Ten-GigabitEthernet2/1/1] shutdown

[DeviceB-Ten-GigabitEthernet2/1/1] quit

[DeviceB] irf-port 2/1

[DeviceB-irf-port2/1] port group interface ten-gigabitethernet 2/1/1

[DeviceB-irf-port2/1] quit

[DeviceB] interface ten-gigabitethernet 2/1/1

[DeviceB-Ten-GigabitEthernet2/1/1] undo shutdown

[DeviceB-Ten-GigabitEthernet2/1/1] save

# 激活DeviceA的IRF端口配置。

[DeviceA-Ten-GigabitEthernet1/1/2] quit

[DeviceA] irf-port-configuration active

激活DeviceBIRF端口配置。

[DeviceB-Ten-GigabitEthernet2/1/1] quit

[DeviceB] irf-port-configuration active

(3)     两台设备间会进行Master竞选,竞选失败的一方将自动重启,重启完成后,IRF形成,系统名称统一为DeviceA。

(4)     配置LACP MAD检测

创建一个动态聚合端口,并使能LACP MAD检测功能,由于并不是在两个IRF之间配置LACP MAD检测,因此在系统提示输入IRF域ID时,可以保持为默认值0。

<DeviceA> system-view

[DeviceA] interface bridge-aggregation 2

[DeviceA-Bridge-Aggregation2] link-aggregation mode dynamic

[DeviceA-Bridge-Aggregation2] mad enable

 You need to assign a domain ID (range: 0-4294967295)

 [Current domain is: 0]:

 The assigned  domain ID is: 0

 Info: MAD LACP only enable on dynamic aggregation interface.

[DeviceA-Bridge-Aggregation2] quit

# 在聚合端口中添加成员端口GigabitEthernet1/0/1和GigabitEthernet2/0/1,专用于两台IRF成员设备与中间设备进行LACP MAD检测。

[DeviceA] interface gigabitethernet 1/0/1

[DeviceA-GigabitEthernet1/0/1] port link-aggregation group 2

[DeviceA-GigabitEthernet1/0/1] quit

[DeviceA] interface gigabitethernet 2/0/1

[DeviceA-GigabitEthernet2/0/1] port link-aggregation group 2

(5)     中间设备Device C的配置

Device C作为一台中间设备需要支持LACP功能,用来转发、处理LACP协议报文,协助Device A和Device B进行多Active检测。从节约成本的角度考虑,使用一台支持LACP功能的交换机即可。

创建一个动态聚合端口。

<DeviceC> system-view

[DeviceC] interface bridge-aggregation 2

[DeviceC-Bridge-Aggregation2] link-aggregation mode dynamic

[DeviceC-Bridge-Aggregation2] quit

在聚合端口中添加成员端口GigabitEthernet1/0/1GigabitEthernet1/0/2,用于进行LACP MAD检测。

[DeviceC] interface gigabitethernet 1/0/1

[DeviceC-GigabitEthernet1/0/1] port link-aggregation group 2

[DeviceC-GigabitEthernet1/0/1] quit

[DeviceC] interface gigabitethernet 1/0/2

[DeviceC-GigabitEthernet1/0/2] port link-aggregation group 2

图1-13所示连接LACP MAD链路。

1.9.2  IRF典型配置举例(BFD MAD检测方式)

说明

本例仅适用于S5500-EI系列交换机。

 

1. 组网需求

由于网络规模迅速扩大,当前中心交换机(Device A)转发能力已经不能满足需求,现需要在保护现有投资的基础上将网络转发能力提高一倍,并要求网络易管理、易维护。

2. 组网图

图1-14 IRF典型配置组网图(BFD MAD检测方式)

 

3. 配置思路

·     Device A处于局域网的汇聚层,为了将汇聚层的转发能力提高一倍,需要另外增加一台设备Device B。

·     鉴于第二代智能弹性架构IRF技术具有管理简便、网络扩展能力强、可靠性高等优点,所以本例使用IRF技术构建网络汇聚层(即在Device A和Device B上配置IRF功能),接入层设备通过聚合双链路上行。

·     为了防止万一IRF链路故障导致IRF分裂、网络中存在两个配置冲突的IRF,需要启用MAD检测功能。因为成员设备比较少,我们采用BFD MAD检测方式来监测IRF的状态。

4. 配置步骤

说明

为便于区分,下文配置中假设IRF形成前Device A的系统名称为DeviceA,Device B的系统名称为Device B。

(1)     配置设备编号

# Device A保留缺省编号为1,不需要进行配置。

# 在Device B上将设备的成员编号修改为2。

<DeviceB> system-view

[DeviceB] irf member 1 renumber 2

Warning: Renumbering the switch number may result in configuration change or loss. Continue? [Y/N]:y

[DeviceB]

(2)     将两台设备断电后,按图1-14所示连接IRF链路,然后将两台设备上电。

# 在Device A上创建设备的IRF端口2,与物理端口Ten-GigabitEthernet1/1/2绑定,并保存配置。

<DeviceA> system-view

[DeviceA] interface ten-gigabitethernet 1/1/2

[DeviceA-Ten-GigabitEthernet1/1/2] shutdown

[DeviceA-Ten-GigabitEthernet1/1/2] quit

[DeviceA] irf-port 1/2

[DeviceA-irf-port1/2] port group interface ten-gigabitethernet 1/1/2

[DeviceA-irf-port1/2] quit

[DeviceA] interface ten-gigabitethernet 1/1/2

[DeviceA-Ten-GigabitEthernet1/1/2] undo shutdown

[DeviceA-Ten-GigabitEthernet1/1/2] save

# 在Device B上创建设备的IRF端口1,与物理端口Ten-GigabitEthernet2/1/1绑定,并保存配置。

<DeviceB> system-view

[DeviceB] interface ten-gigabitethernet 2/1/1

[DeviceB-Ten-GigabitEthernet2/1/1] shutdown

[DeviceB-Ten-GigabitEthernet2/1/1] quit

[DeviceB] irf-port 2/1

[DeviceB-irf-port2/1] port group interface ten-gigabitethernet 2/1/1

[DeviceB-irf-port2/1] quit

[DeviceB] interface ten-gigabitethernet 2/1/1

[DeviceB-Ten-GigabitEthernet2/1/1] undo shutdown

[DeviceB-Ten-GigabitEthernet2/1/1] save

# 激活DeviceA的IRF端口配置。

[DeviceA-Ten-GigabitEthernet1/1/2] quit

[DeviceA] irf-port-configuration active

激活DeviceBIRF端口配置。

[DeviceB-Ten-GigabitEthernet2/1/1] quit

[DeviceB] irf-port-configuration active

(3)     两台设备间将会进行Master竞选,竞选失败的一方将自动重启,重启完成后,IRF形成,系统名称统一为DeviceA。

(4)     配置BFD MAD检测

# 创建VLAN 3,并将Device A上的端口GigabitEthernet1/0/1和Device B上的端口GigabitEthernet2/0/1加入VLAN中。

<DeviceA> system-view

[DeviceA] vlan 3

[DeviceA-vlan3] port gigabitethernet 1/0/1 gigabitethernet 2/0/1

[DeviceA-vlan3] quit

# 创建VLAN接口3,并配置MAD IP地址。

[DeviceA] interface vlan-interface 3

[DeviceA-Vlan-interface3] mad bfd enable

[DeviceA-Vlan-interface3] mad ip address 192.168.2.1 24 member 1

[DeviceA-Vlan-interface3] mad ip address 192.168.2.2 24 member 2

[DeviceA-Vlan-interface3] quit

# 按图1-14所示连接BFD MAD链路。

# 因为BFD MAD和生成树功能互斥,所以在GigabitEthernet1/0/1和GigabitEthernet2/0/1上关闭生成树协议。

[DeviceA] interface gigabitethernet 1/0/1

[DeviceA-Gigabitethernet1/0/1] undo stp enable

[DeviceA-Gigabitethernet1/0/1] quit

[DeviceA] interface gigabitethernet 2/0/1

[DeviceA-Gigabitethernet2/0/1] undo stp enable

1.9.3  IRF典型配置举例(ARP MAD检测方式)

1. 组网需求

由于网络规模迅速扩大,当前中心交换机(Device A)转发能力已经不能满足需求,现需要在保护现有投资的基础上将网络转发能力提高一倍,并要求网络易管理、易维护。

2. 组网图

图1-15 IRF典型配置组网图(ARP MAD检测方式)

 

3. 配置思路

·     Device A处于局域网的汇聚层,为了将汇聚层的转发能力提高一倍,需要另外增加一台设备Device B。

·     鉴于第二代智能弹性架构IRF技术具有管理简便、网络扩展能力强、可靠性高等优点,所以本例使用IRF技术构建网络接入层(即在Device A和Device B上配置IRF功能),IRF通过双链路上行。

·     为了防止万一IRF链路故障导致IRF分裂、网络中存在两个配置冲突的IRF,需要启用MAD检测功能。因为成员设备比较少,我们采用ARP MAD检测方式来监测IRF的状态,复用链路上行传递ARP MAD报文。为防止环路发生,在IRF和Device C上启用生成树功能。

4. 配置步骤

说明

为便于区分,下文配置中假设IRF形成前Device A的系统名称为DeviceA,Device B的系统名称为Device B;中间设备Device C的系统名称为DeviceC。

 

(1)     配置设备编号

# Device A保留缺省编号为1,不需要进行配置。

# 在Device B上将设备的成员编号修改为2。

<DeviceB> system-view

[DeviceB] irf member 1 renumber 2

Warning: Renumbering the switch number may result in configuration change or loss. Continue? [Y/N]:y

[DeviceB]

(2)     将两台设备断电后,按图1-14所示连接IRF链路,然后将两台设备上电。

# 在Device A上创建设备的IRF端口2,与物理端口Ten-GigabitEthernet1/1/2绑定,并保存配置。

<DeviceA> system-view

[DeviceA] interface ten-gigabitethernet 1/1/2

[DeviceA-Ten-GigabitEthernet1/1/2] shutdown

[DeviceA-Ten-GigabitEthernet1/1/2] quit

[DeviceA] irf-port 1/2

[DeviceA-irf-port1/2] port group interface ten-gigabitethernet 1/1/2

[DeviceA-irf-port1/2] quit

[DeviceA] interface ten-gigabitethernet 1/1/2

[DeviceA-Ten-GigabitEthernet1/1/2] undo shutdown

[DeviceA-Ten-GigabitEthernet1/1/2] save

# 在Device B上创建设备的IRF端口1,与物理端口Ten-GigabitEthernet2/1/1绑定,并保存配置。

<DeviceB> system-view

[DeviceB] interface ten-gigabitethernet 2/1/1

[DeviceB-Ten-GigabitEthernet2/1/1] shutdown

[DeviceB-Ten-GigabitEthernet2/1/1] quit

[DeviceB] irf-port 2/1

[DeviceB-irf-port2/1] port group interface ten-gigabitethernet 2/1/1

[DeviceB-irf-port2/1] quit

[DeviceB] interface ten-gigabitethernet 2/1/1

[DeviceB-Ten-GigabitEthernet2/1/1] undo shutdown

[DeviceB-Ten-GigabitEthernet2/1/1] save

# 激活DeviceA的IRF端口配置。

[DeviceA-Ten-GigabitEthernet1/1/2] quit

[DeviceA] irf-port-configuration active

激活DeviceBIRF端口配置。

[DeviceB-Ten-GigabitEthernet2/1/1] quit

[DeviceB] irf-port-configuration active

(3)     两台设备间将会进行Master竞选,竞选失败的一方将自动重启,重启完成后,IRF形成,系统名称统一为DeviceA。

(4)     配置ARP MAD

IRF上全局使能MSTP,以防止环路的发生。

<DeviceA> system-view

[DeviceA] stp enable

图1-15所示连接ARP MAD检测链路。

IRF配置为MAC地址立即改变。

[DeviceA] undo irf mac-address persistent

# 创建VLAN 3,并将Device A(成员编号为1)上的端口GigabitEthernet1/0/1和Device B(成员编号为2)上的端口GigabitEthernet2/0/1加入VLAN中。

[DeviceA] vlan 3

[DeviceA-vlan3] port gigabitethernet 1/0/1 gigabitethernet 2/0/1

[DeviceA-vlan3] quit

# 创建VLAN-interface3,并配置IP地址,使能ARP MAD检测功能,由于并不是在两个IRF之间配置ARP MAD检测,因此在系统提示输入IRF域ID时,可以保持为默认值0。

[DeviceA] interface vlan-interface 3

[DeviceA-Vlan-interface3] ip address 192.168.2.1 24

[DeviceA-Vlan-interface3] mad arp enable

 You need to assign a domain ID (range: 0-4294967295)

 [Current domain is: 0]:

 The assigned  domain ID is: 0

(5)     配置Device C

在全局使能MSTP,以防止环路的发生。

<DeviceC> system-view

[DeviceC] stp enable

# 创建VLAN 3,并将端口GigabitEthernet1/0/1和GigabitEthernet1/0/2加入VLAN 3中,用于转发ARP MAD报文。

[DeviceC] vlan 3

[DeviceC-vlan3] port gigabitethernet 1/0/1 gigabitethernet 1/0/2

[DeviceC-vlan3] quit

 


暂无评论

编辑答案

你正在编辑答案

如果你要对问题或其他回答进行点评或询问,请使用评论功能。

分享扩散:

提出建议

    +

亲~登录后才可以操作哦!

确定

亲~检测到您登陆的账号未在http://hclhub.h3c.com进行注册

注册后可访问此模块

跳转hclhub

你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作

举报

×

侵犯我的权益 >
对根叔社区有害的内容 >
辱骂、歧视、挑衅等(不友善)

侵犯我的权益

×

泄露了我的隐私 >
侵犯了我企业的权益 >
抄袭了我的内容 >
诽谤我 >
辱骂、歧视、挑衅等(不友善)
骚扰我

泄露了我的隐私

×

您好,当您发现根叔知了上有泄漏您隐私的内容时,您可以向根叔知了进行举报。 请您把以下内容通过邮件发送到pub.zhiliao@h3c.com 邮箱,我们会尽快处理。
  • 1. 您认为哪些内容泄露了您的隐私?(请在邮件中列出您举报的内容、链接地址,并给出简短的说明)
  • 2. 您是谁?(身份证明材料,可以是身份证或护照等证件)

侵犯了我企业的权益

×

您好,当您发现根叔知了上有关于您企业的造谣与诽谤、商业侵权等内容时,您可以向根叔知了进行举报。 请您把以下内容通过邮件发送到 pub.zhiliao@h3c.com 邮箱,我们会在审核后尽快给您答复。
  • 1. 您举报的内容是什么?(请在邮件中列出您举报的内容和链接地址)
  • 2. 您是谁?(身份证明材料,可以是身份证或护照等证件)
  • 3. 是哪家企业?(营业执照,单位登记证明等证件)
  • 4. 您与该企业的关系是?(您是企业法人或被授权人,需提供企业委托授权书)
我们认为知名企业应该坦然接受公众讨论,对于答案中不准确的部分,我们欢迎您以正式或非正式身份在根叔知了上进行澄清。

抄袭了我的内容

×

原文链接或出处

诽谤我

×

您好,当您发现根叔知了上有诽谤您的内容时,您可以向根叔知了进行举报。 请您把以下内容通过邮件发送到pub.zhiliao@h3c.com 邮箱,我们会尽快处理。
  • 1. 您举报的内容以及侵犯了您什么权益?(请在邮件中列出您举报的内容、链接地址,并给出简短的说明)
  • 2. 您是谁?(身份证明材料,可以是身份证或护照等证件)
我们认为知名企业应该坦然接受公众讨论,对于答案中不准确的部分,我们欢迎您以正式或非正式身份在根叔知了上进行澄清。

对根叔社区有害的内容

×

垃圾广告信息
色情、暴力、血腥等违反法律法规的内容
政治敏感
不规范转载 >
辱骂、歧视、挑衅等(不友善)
骚扰我
诱导投票

不规范转载

×

举报说明