使用H3C模拟器HCL完成基础的IRF实施

步骤1. 确定IRF设备角色,配置设备的IRF优先级和编号
[IRF2]irf member 1 renumber 2 //将IRF2(即SW2)的成员编号设置为2,默认为1
Renumbering the member ID may result in configuration change or loss. Continue?[Y/N]:y
[IRF2]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.
[IRF2]quit
<IRF2>reboot //必须重启设备
Start to check configuration with next startup configuration file, please wait.........DONE!
This command will reboot the device. Continue? [Y/N]:y
Now rebooting, please wait...
%Nov 25 22:02:11:207 2018 IRF2 DEV/5/SYSTEM_REBOOT: System is rebooting now.


[H3C]sysname IRF1
[IRF1]irf member 1 priority 32 //设置IRF1(SW1)的IRF优先级为32,该值已经最大,保证IRF1设备成为主设备
[IRF1]int r te 1/0/50 to t 1/0/51
[IRF1-if-range]shu //把交换机互联接口关闭,这是必须的一部
[IRF1-if-range]quit
[IRF1]irf-port 1/2 //设置IRF1的逻辑接口2
[IRF1-irf-port1/2]port g int te 1/0/50 //把物理接口加入逻辑接口
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.
[IRF1-irf-port1/2]port g int te 1/0/51 //把物理接口加入逻辑接口
[IRF1-irf-port1/2]quit
[IRF1]int r te 1/0/50 to t 1/0/51
[IRF1-if-range]un sh //开启物理接口

步骤2. Slave设备加入物理成员接口
[IRF2]int r t 2/0/50 to t 2/0/51
[IRF2-if-range]shu //IRF2设备重启后关闭物理接口
[IRF2-if-range]quit
[IRF2]irf-port 2/1 //注意,特别推荐使用交叉互联,请对比IRF1设备,否则可能造成堆叠失败
[IRF2-irf-port2/1]port g int t 2/0/50 //把物理接口加入逻辑接口
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.
[IRF2-irf-port2/1]port g int t 2/0/51 //把物理接口加入逻辑接口
[IRF2-irf-port2/1]quit
[IRF2]int r t 2/0/50 to t 2/0/51
[IRF2-if-range]un shu //开启物理接口
%Nov 25 22:06:39:426 2018 IRF2 IFNET/3/PHY_UPDOWN: Physical state on the interface Ten-GigabitEthernet2/0/50 changed to up.
%Nov 25 22:06:39:474 2018 IRF2 IFNET/5/LINK_UPDOWN: Line protocol state on the interface Ten-GigabitEthernet2/0/50 changed to up.
%Nov 25 22:06:39:495 2018 IRF2 LLDP/6/LLDP_CREATE_NEIGHBOR: Nearest bridge agent neighbor created on port Ten-GigabitEthernet2/0/50 (IfIndex 179), neighbor‘s chassis ID is 90c6-26d7-0100, port ID is Ten-GigabitEthernet1/0/50.

%Nov 25 22:06:39:648 2018 IRF2 IFNET/3/PHY_UPDOWN: Physical state on the interface Ten-GigabitEthernet2/0/51 changed to up.
[IRF2-if-range]%Nov 25 22:06:39:659 2018 IRF2 IFNET/5/LINK_UPDOWN: Line protocol state on the interface Ten-GigabitEthernet2/0/51 changed to up.
%Nov 25 22:06:39:663 2018 IRF2 LLDP/6/LLDP_CREATE_NEIGHBOR: Nearest bridge agent neighbor created on port Ten-GigabitEthernet2/0/51 (IfIndex 180), neighbor‘s chassis ID is 90c6-26d7-0100, port ID is Ten-GigabitEthernet1/0/51.

[IRF2]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):
flash:/startup.cfg exists, overwrite? [Y/N]:y
Validating file. Please wait...
Saved the current configuration to mainboard device successfully.

<IRF1>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.
<IRF1>
步骤3.激活IRF配置

[IRF1]irf-port-configuration active //请在激活IRF配置前确保已经保存配置
[IRF1]%Nov 25 22:08:28:132 2018 IRF1 STM/6/STM_LINK_UP: IRF port 2 came up.
%Nov 25 22:08:45:321 2018 IRF1 STM/4/STM_MERGE: IRF merge occurred.
%Nov 25 22:08:47:660 2018 IRF1 IFNET/3/PHY_UPDOWN: Physical state on the interface Ten-GigabitEthernet1/0/51 changed to down.
%Nov 25 22:08:47:668 2018 IRF1 IFNET/5/LINK_UPDOWN: Line protocol state on the interface Ten-GigabitEthernet1/0/51 changed to down.
%Nov 25 22:08:49:594 2018 IRF1 STM/3/STM_LINK_DOWN: IRF port 2 went down.
%Nov 25 22:08:49:606 2018 IRF1 IFNET/3/PHY_UPDOWN: Physical state on the interface Ten-GigabitEthernet1/0/50 changed to down.
%Nov 25 22:08:49:612 2018 IRF1 IFNET/5/LINK_UPDOWN: Line protocol state on the interface Ten-GigabitEthernet1/0/50 changed to down.

[IRF1]

[IRF2]%Nov 25 22:08:46:254 2018 IRF2 STM/6/STM_LINK_UP: IRF port 1 came up.//已经重启
<IRF2>system-view //在IRF设备重启后,暂时不会完成IRF,此时依旧显示“IRF2”
System View: return to User View with Ctrl+Z.
[IRF2]int r t 2/0/50 to t 2/0/51
[IRF2-if-range]shu
[IRF2-if-range]und shu //收到关闭,开启接口。此时可能已经重启
启动后,如果成功那么IRF2会变成IRF1
步骤4,IRF实施完毕后的验证
[IRF1]display irf
MemberID Role Priority CPU-Mac Description
*+1 Master 32 90c6-26d7-0104 ---
2 Standby 1 90c6-2ea5-0204 ---

  • indicates the device is the master.
  • indicates the device through which the user logs in.

    The bridge MAC of the IRF is: 90c6-26d7-0100
    Auto upgrade : yes
    Mac persistent : 6 min
    Domain ID : 0

[IRF1]dis irf link
Member 1
IRF Port Interface Status
1 disable --
2 Ten-GigabitEthernet1/0/50 UP
Ten-GigabitEthernet1/0/51 UP
Member 2
IRF Port Interface Status
1 Ten-GigabitEthernet2/0/50 UP
Ten-GigabitEthernet2/0/51 DOWN
2 disable --

[IRF1]dis irf topology
Topology Info

           IRF-Port1                IRF-Port2

MemberID Link neighbor Link neighbor Belong To
1 DIS --- UP 2 90c6-26d7-0104
2 UP 1 DIS --- 90c6-26d7-0104
[IRF1]dis irf conf
MemberID NewID IRF-Port1 IRF-Port2
1 1 disable Ten-GigabitEthernet1/0/50
Ten-GigabitEthernet1/0/51
2 2 Ten-GigabitEthernet2/0/50 disable
Ten-GigabitEthernet2/0/51

chassis convert mode irf //切换到IRF工作模式(模拟器不支持)

原文地址:http://blog.51cto.com/enderjoe/2321852

时间: 2024-08-29 12:52:48

使用H3C模拟器HCL完成基础的IRF实施的相关文章

内测 H3C 网络模拟器HCL H3C Cloud Lab

内测时间: 安装界面: 安装还在继续-- 内测 H3C 网络模拟器HCL H3C Cloud Lab

H3C模拟器

华三云实验室(H3C Cloud Lab,HCL)又称为H3C模拟器,是H3C公司推出的界面图形化的全真网络设备模拟软件.用户可以通过该软件实现H3C公司多种型号设备的虚拟组网.配置.调试.该软件具备友好易用的图形界面,可以模拟路由器.交换机等网络设备的全部功能,用户可以使用它在个人电脑上搭建虚拟的网络环境. H3C模拟器的适用对象包括: 网络技术的学习者: 准备参加H3CNE/H3CSE/H3CTE/H3CIE学习和考试者: 希望熟悉基于H3C公司Comware V7平台的网络设备者: 需要虚

H3C模拟器安装

HCL是H3C目前官方唯一出品的模拟器,整个产品的界面设计和性能比行业的其他H3C模拟器都要强大.华三云实验室(H3C Cloud Lab,简称HCL)是一款界面图形化的全真网络模拟软件,用户可以通过该软件实现H3C公司多个型号的虚拟设备的组网,是用户学习.测试基于H3C公司Comware V7平台的网络设备的必备工具.H3C Cloud Lab安装的需求:CPU:主频不低于1.2GHz,内核数目不低于2核,支持VT-x或AMD-V硬件虚拟技术.内存不低于4GB,硬盘不低于80GB.操作系统不低

H3C模拟器ping,tel,ssh配置

本周学习了H3C的一些基础配置,比如ping,telnet,ssh的配置,以下是具体配置方法.(PS:需要在物理机的设备管理中添加一块网卡,并把模拟器中设备与主机相连的网卡改为次网卡,物理机配置IP均在次网卡上设置) 本次配置需要一台路由器和一台主机拓扑图如下H3C模拟器ping,tel,ssh配置 一,ping配置 (1)进入接口,配置接口ip和网关H3C模拟器ping,tel,ssh配置(2)配置本机IP地址并且验证H3C模拟器ping,tel,ssh配置 二,Telnet配置 (1)开启T

H3C模拟器里的F1060防火墙如何开启WEB界面

大家都知道H3C(新华三)旗下有一款设备模拟器,该模拟器可以完全模拟H3C的路由交换和防火墙设备(仅限支持的型号),但是很多新手不知道怎么开启F1060防火墙的web访问.本篇文章将教大家如何开启F1060的WEB访问,同时本文也适用于物理机配置WEB访问. 1 准备工作 1.1 配置基本的拓扑图 注意:本篇文章只要配置红色线框内的两台设备,防火墙网口为GE_0/1,HOST桥接虚拟机网卡. 1.2 安装虚拟机并选择正确的网卡 提示:网卡要选择正确,推荐系统为windows系统.这里你可以选择直

使用H3C模拟器配置VLAN

任务 组网需求:如下图所示,办公区的主机属于不同的网段 192.168.5.0/24 和192.168.50.0/24,Device C 在收到来自办公区主机的报文时,根据报文的源IP 地址,使来自不同网段主机的报文分别在指定的VLAN中传输.试验拓扑图如下:使用H3C模拟器配置VLAN相关项目2.配置步骤:(1) 配置 Device C配置子网192.168.5.0/24 与VLAN 100 关联.<DeviceC> system-view[DeviceC] vlan 100[DeviceC

华三H3C官方模拟器HCL从入门到精通视频教程(9课时)

课程介绍 HCL-华三云实验室是一款界面图形化的全真网络模拟软件用户可以通过该软件实现H3C公司多个型号的虚拟设备的组网是用户学习.测试基于H3C公司Conware V7平台的网络设备的必备工具 课程目录 1<HCL从入门到精通>课程介绍2 HCL模拟器介绍介绍3 HCL安装与调试4 HCL软件界面介绍5 使用HCL创建网络拓扑6 使用Putty登陆并管理设备7 保存并导出HCL项目8 SecureCRT管理HCL设备9 Wireshark与HCL关联抓包 需要的朋友,可以加QQ:800579

华三模拟器HCL安装

1.首先打开HCL安装包,进入安装界面. 2.通过安装向导选择下一步,进入选择界面,选择同意. 3.选择文件保存的l路径,文件路径不能含有中文字符,以及其他特殊字符 4.如果没安装过Oracle VM Virtualbox,会提示安装.运行HCL模拟器会用到. 5.选择Oracle VM Virtualbox安装路径. 6.HCL安装完成,进入界面测试. 原文地址:https://blog.51cto.com/14220631/2359191

在安装和使用H3C模拟器时遇到的问题

1.在安装完HCL启动时,提示我"当前系统用户名中包含非ASC||字符".我当时一看就有点懵逼,然后去问了同学,才知道HCL不能安装在中文路径下,只能安装在英文路径下.2.HCL安装完成后启动失败,提示:simwaremulticc(地址127.0.0.1/端口:16500).出现了这个问题,我上百度查了一下,解决办法是先卸载模拟器,然后在命令行中输入netshwinsock reset,再重新安装模拟器就行了. 原文地址:https://blog.51cto.com/14228245