IRF的配置

news/2024/11/26 11:45:34/

IRF的堆叠

智能弹性架构技术(H3C开发的软件虚拟化技术)

将多台设备堆叠在一起,在逻辑上形成一台虚拟的逻辑主设备。主设备的运行状态与从设备的运行状态保持同步。提高了高可靠性。实现了多台设备的协同管理,统一工作,和不间断维护。

优点:简化管理、提高性能、弹性扩展、高可靠性。

成员:masterslave

在配置成功后需要进行重启才能狗正常运作。

缺省情况下,设备的成员优先级均为1。priority值越大表示优先级越高。 

 

H3C的基本配置:

 

此处的两个设备变一个设备是指在逻辑上变成一台设备

基本命令配置:

S1:

[H3C]int ten1/0/49

[H3C-Ten-GigabitEthernet1/0/49]shu

[H3C-Ten-GigabitEthernet1/0/49]shutdown

[H3C-Ten-GigabitEthernet1/0/49]qu

[H3C]irf domain 10

[H3C]irf member 1 renumber 1

Renumbering the member ID may result in configuration change or loss. Continue?[Y/N]y

[H3C]irf-port 1/1

[H3C-irf-port1/1]port group interface Ten-GigabitEthernet 1/0/49

[H3C-irf-port1/1]qu

[H3C]irf-port-configuration active

[H3C]save

The current configuration will be written to the device. Are you sure? [Y/N]:n

[H3C]int ten1/0/49

[H3C-Ten-GigabitEthernet1/0/49]undo shutdown

[H3C-Ten-GigabitEthernet1/0/49]qu

[H3C]save

The current configuration will be written to the device. Are you sure? [Y/N]:y

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

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

Validating file. Please wait...

Saved the current configuration to mainboard device successfully.

S2:

<H3C>system-view

System View: return to User View with Ctrl+Z.

[H3C]INT TEN1/0/49

[H3C-Ten-GigabitEthernet1/0/49]shu

[H3C-Ten-GigabitEthernet1/0/49]shutdown

%Nov 13 14:08:50:039 2016 H3C IFNET/3/PHY_UPDOWN: Physical state on the interface Ten-GigabitEthernet1/0/49 changed to down.

%Nov 13 14:08:50:044 2016 H3C IFNET/5/LINK_UPDOWN: Line protocol state on the interface Ten-GigabitEthernet1/0/49 changed to down.

[H3C-Ten-GigabitEthernet1/0/49]qu

[H3C]irf domain 10

[H3C]irf member 1 renumber 2

Renumbering the member ID may result in configuration change or loss. Continue?[Y/N]y

[H3C]irf-port 1/2

[H3C-irf-port1/2]port group interface Ten-GigabitEthernet 1/0/49

You must perform the following tasks for a successful IRF setup:

Save the configuration after completing IRF configuration.

Execute the "irf-port-configuration active" command to activate the IRF ports.

[H3C-irf-port1/2]qu

[H3C]int ten1/0/49

[H3C-Ten-GigabitEthernet1/0/49]un shutdown

[H3C-Ten-GigabitEthernet1/0/49]%Nov 13 14:10:26:230 2016 H3C IFNET/3/PHY_UPDOWN: Physical state on the interface Ten-GigabitEthernet1/0/49 changed to up.

%Nov 13 14:10:26:232 2016 H3C IFNET/5/LINK_UPDOWN: Line protocol state on the interface Ten-GigabitEthernet1/0/49 changed to up.

[H3C-Ten-GigabitEthernet1/0/49]qu

[H3C]save

The current configuration will be written to the device. Are you sure? [Y/N]:y

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

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

Validating file. Please wait...

Saved the current configuration to mainboard device successfully.

<H3C>reboot

验证:

[H3C]dis cu

#

 version 7.1.059, Alpha 7159

#

 sysname H3C

#

 irf domain 10

 irf mac-address persistent timer

 irf auto-update enable

 undo irf link-delay

 irf member 1 priority 1

 irf member 2 priority 1

#

 lldp global enable

#

 system-working-mode standard

 xbar load-single

 password-recovery enable

 lpu-type f-series

#

vlan 1

#

irf-port 1/1

 port group interface Ten-GigabitEthernet1/0/49

#

irf-port 2/2

 port group interface Ten-GigabitEthernet2/0/49

#

 stp global enable

#

interface NULL0

#

interface FortyGigE1/0/53

 port link-mode bridge

#

interface FortyGigE1/0/54

 port link-mode bridge

#

interface FortyGigE2/0/53

 port link-mode bridge

#

interface FortyGigE2/0/54

 port link-mode bridge

#

interface GigabitEthernet1/0/1

 port link-mode bridge

 combo enable fiber

#

interface GigabitEthernet1/0/2

 port link-mode bridge

 combo enable fiber

#

interface GigabitEthernet1/0/3

 port link-mode bridge

 combo enable fiber

#

interface GigabitEthernet1/0/4

 port link-mode bridge

 combo enable fiber

#

interface GigabitEthernet1/0/5

 port link-mode bridge

 combo enable fiber

#

interface GigabitEthernet1/0/6

 port link-mode bridge

 combo enable fiber

#

interface GigabitEthernet1/0/7

 port link-mode bridge

 combo enable fiber

#

interface GigabitEthernet1/0/8

 port link-mode bridge

 combo enable fiber

#

interface GigabitEthernet1/0/9

 port link-mode bridge

 combo enable fiber

#

interface GigabitEthernet1/0/10

 port link-mode bridge

 combo enable fiber

#

interface GigabitEthernet1/0/11

 port link-mode bridge

 combo enable fiber

#

interface GigabitEthernet1/0/12

 port link-mode bridge

 combo enable fiber

#

interface GigabitEthernet1/0/13

 port link-mode bridge

 combo enable fiber

#

interface GigabitEthernet1/0/14

 port link-mode bridge

 combo enable fiber

#

interface GigabitEthernet1/0/15

 port link-mode bridge

 combo enable fiber

#

interface GigabitEthernet1/0/16

 port link-mode bridge

 combo enable fiber

#

interface GigabitEthernet1/0/17

 port link-mode bridge

 combo enable fiber

#

interface GigabitEthernet1/0/18

 port link-mode bridge

 combo enable fiber

#

interface GigabitEthernet1/0/19

 port link-mode bridge

 combo enable fiber

#

interface GigabitEthernet1/0/20

 port link-mode bridge

 combo enable fiber

#

interface GigabitEthernet1/0/21

 port link-mode bridge

 combo enable fiber

#

interface GigabitEthernet1/0/22

 port link-mode bridge

 combo enable fiber

#

interface GigabitEthernet1/0/23

 port link-mode bridge

 combo enable fiber

#

interface GigabitEthernet1/0/24

 port link-mode bridge

 combo enable fiber

#

interface GigabitEthernet1/0/25

 port link-mode bridge

 combo enable fiber

#

interface GigabitEthernet1/0/26

 port link-mode bridge

 combo enable fiber

#

interface GigabitEthernet1/0/27

 port link-mode bridge

 combo enable fiber

#

interface GigabitEthernet1/0/28

 port link-mode bridge

 combo enable fiber

#

interface GigabitEthernet1/0/29

 port link-mode bridge

 combo enable fiber

#

interface GigabitEthernet1/0/30

 port link-mode bridge

 combo enable fiber

#

interface GigabitEthernet1/0/31

 port link-mode bridge

 combo enable fiber

#

interface GigabitEthernet1/0/32

 port link-mode bridge

 combo enable fiber

#

interface GigabitEthernet1/0/33

 port link-mode bridge

 combo enable fiber

#

interface GigabitEthernet1/0/34

 port link-mode bridge

 combo enable fiber

#

interface GigabitEthernet1/0/35

 port link-mode bridge

 combo enable fiber

#

interface GigabitEthernet1/0/36

 port link-mode bridge

 combo enable fiber

#

interface GigabitEthernet1/0/37

 port link-mode bridge

 combo enable fiber

#

interface GigabitEthernet1/0/38

 port link-mode bridge

 combo enable fiber

#

interface GigabitEthernet1/0/39

 port link-mode bridge

 combo enable fiber

#

interface GigabitEthernet1/0/40

 port link-mode bridge

 combo enable fiber

#

interface GigabitEthernet1/0/41

 port link-mode bridge

 combo enable fiber

#

interface GigabitEthernet1/0/42

 port link-mode bridge

 combo enable fiber

#

interface GigabitEthernet1/0/43

 port link-mode bridge

 combo enable fiber

#

interface GigabitEthernet1/0/44

 port link-mode bridge

 combo enable fiber

#

interface GigabitEthernet1/0/45

 port link-mode bridge

 combo enable fiber

#

interface GigabitEthernet1/0/46

 port link-mode bridge

 combo enable fiber

#

interface GigabitEthernet1/0/47

 port link-mode bridge

 combo enable fiber

#

interface GigabitEthernet1/0/48

 port link-mode bridge

 combo enable fiber

#

interface GigabitEthernet2/0/1

 port link-mode bridge

 combo enable fiber

#

interface GigabitEthernet2/0/2

 port link-mode bridge

 combo enable fiber

#

interface GigabitEthernet2/0/3

 port link-mode bridge

 combo enable fiber

#

interface GigabitEthernet2/0/4

 port link-mode bridge

 combo enable fiber

#

interface GigabitEthernet2/0/5

 port link-mode bridge

 combo enable fiber

#

interface GigabitEthernet2/0/6

 port link-mode bridge

 combo enable fiber

#

interface GigabitEthernet2/0/7

 port link-mode bridge

 combo enable fiber

#

interface GigabitEthernet2/0/8

 port link-mode bridge

 combo enable fiber

#

interface GigabitEthernet2/0/9

 port link-mode bridge

 combo enable fiber

#

interface GigabitEthernet2/0/10

 port link-mode bridge

 combo enable fiber

#

interface GigabitEthernet2/0/11

 port link-mode bridge

 combo enable fiber

#

interface GigabitEthernet2/0/12

 port link-mode bridge

 combo enable fiber

#

interface GigabitEthernet2/0/13

 port link-mode bridge

 combo enable fiber

#

interface GigabitEthernet2/0/14

出现2/0/X说明堆叠成功

IRF MAD BFD 多活检测配置案例

 

配置:

R1:

[H3C]int g1/0/1

[H3C-GigabitEthernet1/0/1]port link-mode route

[H3C-GigabitEthernet1/0/1]ip add 1.1.1.1 24

[H3C]int ten 1/0/50

[H3C-Ten-GigabitEthernet1/0/50]shut

[H3C-Ten-GigabitEthernet1/0/50]qui

[H3C]irf member 1 renumber 1

Renumbering the member ID may result in configuration change or loss. Continue?[Y/N]y

[H3C]irf domain 10

[H3C]irf-port 1/1

[H3C-irf-port1/1]po g in ten 1/0/50

[H3C-irf-port1/1]qui

[H3C]int ten 1/0/50

[H3C-Ten-GigabitEthernet1/0/50]un sh

[H3C-Ten-GigabitEthernet1/0/50]qui

[H3C]irf-port-configuration ac

[H3C]save

[H3C]vlan 3

[IRF-vlan3]por g1/0/1

[IRF-vlan3]por g2/0/1

[IRF]int vlan 3

[IRF-Vlan-interface3]mad bfd enable

[IRF-Vlan-interface3]mad ip address 1.1.1.1  24 member 1

[IRF-Vlan-interface3]mad ip address 1.1.1.2  24 member 2

[IRF-Vlan-interface3]quit

[IRF-GigabitEthernet1/0/1]un stp en

[IRF-GigabitEthernet1/0/1]qui

[IRF]int g2/0/1

[IRF-GigabitEthernet2/0/1]un stp en

[IRF-GigabitEthernet2/0/1]qui

R2:

<H3C>sys

[H3C]int g1/0/1

[H3C-GigabitEthernet1/0/1]port link-mode route

[H3C-GigabitEthernet1/0/1]ip add 1.1.1.2 24

[H3C]int ten 1/0/50

[H3C-Ten-GigabitEthernet1/0/50]shu

[H3C-Ten-GigabitEthernet1/0/50]qui

[H3C]irf do 10

[H3C]irf m 1 re 2

Renumbering the member ID may result in configuration change or loss. Continue?[Y/N]y

[H3C]irf-p 1/2

[H3C-irf-port1/2]po g in ten 1/0/50

[H3C-irf-port1/2]qui

[H3C]irf-port-configuration active


http://www.ppmy.cn/news/513738.html

相关文章

IR2127/IR2128典型接线图

[导读] IR2127典型接线图 图一给出了 IR2127/IR2128 的典型接线图。CS 脚即是用来检测电流的。检测电路有一段间隙时间以确定在器件开通时 CS 不被误触发&#xff08;在紧接输出变高后的一段与间隙时间相等的时间里&#xff0c;标么值为 750nS&#xff0c;IC 最初忽略 CS 脚上的…

IRF100P218 INFINEON 英飞凌

IRF100P218是一款N沟道功率MOSFET&#xff0c;主要用于高速开关和功率放大器应用。以下是IRF100P218的详细参数&#xff1a; Vds&#xff08;漏极-源极电压&#xff09;&#xff1a;100V Id&#xff08;漏极电流&#xff09;&#xff1a;20A Vgs&#xff08;栅极-源极电压&…

STM32—驱动RFID-RC522模块

文章目录 一.S50&#xff08;M1&#xff09;卡介绍1.S50&#xff08;M1&#xff09;卡基础知识2.内部信息3.存取控制4.数据块的存取控制5.控制块的存取控6.工作原理7.M1与读卡器的通信 二.RC522工程代码详解1.RC522与M1通信2.STM32对RC522寄存器的操作3.STM32对RC522的基础通信…

PHY6222能替代NRF51822、NRF52832超低功耗BLE 5.2芯片

PHY6222是一款支持BLE 5.2功能和IEEE 802.15.4通信协议的系统级芯片&#xff08;SoC&#xff09;&#xff0c;集成了超低功耗的高性能多模射频收发机&#xff0c;搭载32-bit ARMCortex™-M0处理器&#xff0c;提供64K retention SRAM、可选128K-8M Flash、96KB ROM以及256bit e…

IRF2

网络虚拟化IRF2技术架构 虚拟化技术是当前企业IT技术领域的关注焦点&#xff0c;采用虚拟化来优化IT架构、提升IT系统运行效率是当前技术发展的方向。 对于服务器或应用的虚拟化架构&#xff0c;IT行业相对比较熟悉&#xff1a;在服务器上采用虚拟化软件运行多台虚拟机(VM---Vi…

IRF

IRF IRF技术具有管理渐变、网络扩展能力强、可靠性高等优点。 前提条件 两个系统启动后 配置swi-2 1、线路连接好&#xff0c;修改主机名 [H3C]sysname swi-1 [swi-1]2、shutdown 用于IRF的端口 [swi-1]interface range Ten-GigabitEthernet 1/0/49 to Ten-GigabitEthe…

关于程序员的工作总结

程序员工作总结篇1 从我x月x日进入公司到现在已经过去一年了&#xff0c;从一名刚刚结束实习的学生到一名独立的开发人员&#xff0c;角色改变了&#xff0c;职责也改变了。虽然已经预计了工作之中会有很多困难&#xff0c;可是在实际的项目开发中&#xff0c;自己所遇到远远不…

Sqoop的简单使用案例之数据导入

Sqoop的简单使用案例之数据导入 文章目录 Sqoop的简单使用案例之数据导入写在前面导入数据的演示说明RDBMS到HDFSRDBMS到HiveRDBMS到Hbase 写在前面 Hadoop版本&#xff1a;Hadoop-3.1.3Linux版本&#xff1a;CentOS7.5Sqoop版本&#xff1a;Sqoop-1.4.6MySQL版本&#xff1a;…