天选集结号活动中心

天选集结号活动中心

shape
  • Home
  • 展会直击
  • 路由器堆叠

路由器堆叠

  • 2025-10-29 07:55:04
  • admin

您好,请知:

以下是MSR5600的IRF堆叠的举例,请参考:

2.12.1 IRF典型配置举例(LACP MAD检测方式)1. 组网需求为提高网络出口可靠性,使用Device A、Device B做为内网出口设备,为便于对设备Device A与Device B易管理、易维护。使用IRF技术,并使用LACP MAD功能及时发现和处理IRF的分裂事件。

2. 组网图图2-10 IRF典型配置组网图(LACP MAD检测方式)

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

· 为了防止IRF链路故障导致IRF分裂,网络中存在两个配置冲突的IRF,需要启用MAD检测功能。因为网络中有一台中间设备Device C,支持LACP协议,所以我们采用LACP MAD检测。

4. 配置步骤(1) 配置Device A

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

system-view

[Sysname] irf member 1

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

[Sysname] irf-port 2

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

[Sysname-irf-port2] quit

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

[Sysname] quit

save

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

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。

(2) 配置Device B

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

system-view

[Sysname] irf member 2

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

[Sysname] irf-port 1

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

[Sysname-irf-port1] quit

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

[Sysname] quit

save

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

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

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。

(3) 配置LACP MAD检测

# 设置IRF域编号为1。

system-view

[Sysname] irf domain 1

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

[Sysname] interface route-aggregation 2

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

[Sysname-Route-Aggregation2] mad enable

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

[Current domain is: 1]:

The assigned domain ID is: 1

MAD LACP only enable on dynamic aggregation interface.

[Sysname-Route-Aggregation2] quit

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

[Sysname] interface gigabitethernet 1/1/2

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

[Sysname-GigabitEthernet1/1/2] quit

[Sysname] interface gigabitethernet 2/1/2

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

(4) 配置中间设备Device C

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

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

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

system-view

[Sysname] interface Route-aggregation 2

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

[Sysname-Route-Aggregation2] quit

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

[Sysname] interface gigabitethernet 1/0/1

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

[Sysname-GigabitEthernet1/0/1] quit

[Sysname] interface gigabitethernet 1/0/2

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

具体的连接如下:

https://www.h3c.com/cn/d_201510/896518_30005_0.htm#_Toc433269993

<<<
Previous Post
解决有线、无线和蓝牙鼠标无法正常工作的问题

Copyright © 2088 天选集结号活动中心 All Rights Reserved.

友情链接