首页 科技问答 V5版本的设备,S7506E,想要2台设备做堆叠。 V5的堆叠命令是什么?

V5版本的设备,S7506E,想要2台设备做堆叠。 V5的堆叠命令是什么?

科技问答 128
1689952661,执笔画卿颜 执笔画卿颜 八段 粉丝:11人 关注:4人

问题描述:

V5版本的设备,S7506E,想要2台设备做堆叠
V5的堆叠命令是什么?

组网及组网描述:

4小时前提问

参考下文档吧

https://www.h3c.com/cn/d_

3小时前回答

暂无


您好,请知:

以下是S7500E系列的IRF配置举例及IRF用户手册连接,请参考:

1.13  IRF典型配置举例

1.13.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形成过程中系统重启的次数,可以在独立运行模式下预配置IRF端口、成员编号、以及成员优先级,配置保存后切换运行模式到IRF模式,可直接与其它设备形成IRF。

5. 配置步骤

      配置Device A

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

<Sysname> system-view

[Sysname] irf member 1

 Info: Member ID change will take effect after the member reboots and operates in IRF mode.

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

[Sysname-Ten-GigabitEthernet3/0/1] shutdown

[Sysname-Ten-GigabitEthernet3/0/1] quit

[Sysname] irf-port 2

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

[Sysname-irf-port2] quit

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

[Sysname-Ten-GigabitEthernet3/0/1] undo shutdown

[Sysname-Ten-GigabitEthernet3/0/1] 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

 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

 Please wait...

 Saving the converted configuration file to the main board succeeded.

Slot 1:

 Saving the converted configuration file succeeded.

 Now rebooting, please wait...

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

      配置Device B

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

<Sysname> system-view

[Sysname] irf member 2

 Info: Member ID change will take effect after the member reboots and operates in IRF mode.

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

[Sysname-Ten-GigabitEthernet3/0/1] shutdown

[Sysname-Ten-GigabitEthernet3/0/1] quit

[Sysname] irf-port 1

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

[Sysname-irf-port1] quit

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

[Sysname-Ten-GigabitEthernet3/0/1] undo shutdown

[Sysname-Ten-GigabitEthernet3/0/1] quit

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

[Sysname] quit

<Sysname> save

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

# 将设备的运行模式切换到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

 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

 Please wait...

 Saving the converted configuration file to the main board succeeded.

Slot 1:

 Saving the converted configuration file succeeded.

 Now rebooting, please wait...

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

      配置LACP MAD检测

# 设置IRF域编号为1。

<Sysname> system-view

[Sysname] irf domain 1

# 创建一个动态聚合接口,并使能LACP MAD检测功能。

<Sysname> system-view

[Sysname] interface bridge-aggregation 2

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

[Sysname-Bridge-Aggregation2] mad enable

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

 [Current domain is: 1]:

 The assigned  domain ID is: 1

 Info: MAD LACP only enable on dynamic aggregation interface.

[Sysname-Bridge-Aggregation2] quit

# 在聚合接口中添加成员端口1/4/0/2和2/4/0/2,专用于Device A和Device B实现LACP MAD检测。

[Sysname] interface gigabitethernet 1/4/0/2

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

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

[Sysname] interface gigabitethernet 2/4/0/2

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

(4)      配置中间设备Device C

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

如果中间设备是一个IRF系统,则必须通过配置确保其IRF域编号与被检测的IRF系统不同。

 

# 创建一个动态聚合接口。

<Sysname> system-view

[Sysname] interface bridge-aggregation 2

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

[Sysname-Bridge-Aggregation2] quit

# 在聚合接口中添加成员端口GigabitEthernet4/0/1和GigabitEthernet4/0/2,用于LACP MAD检测。

[Sysname] interface gigabitethernet 4/0/1

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

[Sysname-GigabitEthernet4/0/1] quit

[Sysname] interface gigabitethernet 4/0/2

[Sysname-GigabitEthernet4/0/2] port link-aggregation group 2

(5)      当IRF链路出现故障后,系统将输出IRF链路状态错误提示,以及单板失效提示。

#May  7 09:13:42:388

 Trap 1.3.6.1.4.1.

#May  7 09:13:42:7

# 由于DeviceB的成员编号为2,因此在MAD冲突后将变为Recovery状态,设备上除保留端口之外的端口都会处于关闭状态。

# 如果此时Master设备也发生了故障,您可以登录到DeviceB的Console口,使用mad restore命令先将DeviceB恢复为Active状态,启动被关闭的接口。

<Sysname> system-view

[Sysname] mad restore

This command will restore the device from multi-active conflict state. Continue? [Y/N]:y

Restoring from multi-active conflict state, please wait...

[Sysname]

#May  7 09:23:16:050

 Trap 1.3.6.1.6.3.1.1.5.4<linkUp>: Interface 277872640 is Up, ifAdminStatus is 1, ifOperStatus is 1

%May  7 09:23:16:069

#May  7 09:23:16:302

 Trap 1.3.6.1.4.1.

%May  7 09:23:16:322

%May  7 09:23:16:370

%May  7 09:23:16:381

%May  7 09:23:16:391

通过以上信息可以得知,DeviceB已经恢复在网络中的功能,此时您可以修复DeviceA设备及IRF链路。

当DeviceA设备及IRF链路均已修复后,重启DeviceA设备,DeviceB上将输出IRF端口状态恢复及插入新单板的提示信息。

%May  7 09:30:12:122

 IRF port 2 is up.

#May  7 09:30:36:566

此时通过display irf命令的显示信息,可以看到IRF系统已经恢复,DeviceB为Master设备,DeviceA变为Slave。

<Sysname> display irf

MemberID  Slot  Role   Priority  CPU-Mac         Description

   1      1    Slave   1         00e0-fc0f-8c02  -----

 *+2      1    Master  1         00e0-fc0f-8c

--------------------------------------------------

 

 * indicates the device is the master.

 + indicates the device through which the user logs in.

 

 The Bridge MAC of the IRF is: 0023-895f-954f

 Auto upgrade                : yes

 Mac persistent              : always

 Domain ID                   : 0

 Auto merge                  : no


https://www.h3c.com/cn/d_


3小时前回答

暂无

H3C V5版本的设备,S7506E,是一款高端多业务路由交换机,支持Comware V5/V7操作系统,以IRF2(Intelligent Resilient Framework 2,第二代智能弹性架构)和IRF3(Intelligent Resilient Framework3,第三代智能弹性架构)技术为系统基石的虚拟化软件系统1。 IRF是H3C自主研发的软件虚拟化技术,其核心思想是将多台设备通过IRF物理端口连接在一起,进行必要的配置后,虚拟化成一台“分布式设备”2。 S7506E的堆叠命令主要包括以下几个步骤23: 配置IRF的成员号和优先级,确定主从设备。 配置IRF自动更新功能,使得主设备的配置可以同步到从设备。 关闭物理端口,并将其绑定到IRF逻辑端口上,形成堆叠链路。 保存配置,并将设备切换到IRF模式,设备会自动重启并加入堆叠。 (可选)配置BFD链路检测IRF心跳线,提高堆叠的可靠性。

具体的配置命令和示例可以参考以下链接:

H3C S7500E系列高端多业务路由交换机 H3C华三S7506E系列交换机万兆IRF堆叠虚拟化 12-堆叠管理配置

希望这些信息对您有帮助。如果您还有其他问题,欢迎继续提问。

2小时前回答

暂无

你正在内容来源:知了社区,V5版本的设备,S7506E,想要2台设备做堆叠。 V5的堆叠命令是什么?