首页 > 其他分享 >H3C-IRF(堆叠)配置

H3C-IRF(堆叠)配置

时间:2023-01-05 15:01:17浏览次数:47  
标签:H3C 端口 堆叠 range irf DeviceA IRF DeviceB

H3C-IRF(堆叠)配置_重启

(1) 配置 Device A

将用作 IRF 物理端口的 FortyGigE1/0/53~FortyGigE1/0/54 的手工关闭。 <DeviceA> system-view [DeviceA] interface range fortygige 1/0/53 to fortygige 1/0/54 [DeviceA-if-range] shutdown [DeviceA-if-range] quit
创建 IRF 端口 1,与端口 FortyGigE1/0/53 和 FortyGigE1/0/54 绑定。[DeviceA] irf-port 1/1
[DeviceA-irf-port1/1] port group interface fortygige 1/0/53
[DeviceA-irf-port1/1] port group interface fortygige 1/0/54
[DeviceA-irf-port1/1] quit


# 开启 FortyGigE1/0/53~FortyGigE1/0/54 端口。

[DeviceA] interface range fortygige 1/0/51 to fortygige 1/0/54

[DeviceA-if-range] undo shutdown

[DeviceA-if-range] quit


# 配置 Device A 的成员优先级为 31,以保证其成为 IRF 中的主设备。

[DeviceA] irf member 1 priority 31


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

[DeviceA] quit

<DeviceA> save


# 激活 IRF 端口的配置。

<DeviceA> system-view

[DeviceA] irf-port-configuration active



(2)  配置 Device B

# 配置 Device B 的成员编号为 2,并重启设备使配置生效。

<DeviceB> system-view

[DeviceB] irf member 1 renumber 2

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

[DeviceB] quit

<DeviceB> reboot


# 将用作 IRF 物理端口的 FortyGigE2/0/53~FortyGigE2/0/54 的手工关闭。

<DeviceB> system-view

[DeviceB] interface range fortygige 2/0/53 to fortygige 2/0/54

[DeviceB-if-range] shutdown

[DeviceB-if-range] quit


# 创建 IRF 端口 1,与端口 FortyGigE2/0/53 和 FortyGigE2/0/54 绑定。

[DeviceB] irf-port 2/2

[DeviceB-irf-port2/2] port group interface fortygige 2/0/51

[DeviceB-irf-port2/2] port group interface fortygige 2/0/52

[DeviceB-irf-port2/2] quit


# 开启 FortyGigE2/0/53~FortyGigE2/0/54 端口。

[DeviceB] interface range fortygige 2/0/53 to fortygige 2/0/54

[DeviceB-if-range] undo shutdown

[DeviceB-if-range] quit


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

[DeviceB] quit

<DeviceB> save


# 激活 IRF 端口的配置。

<DeviceB> system-view

[DeviceB] irf-port-configuration active

# 系统会提示发生 IRF 合并,由于 DeviceB 的 IRF 优先级为缺省值 1,低于

DeviceA,因此会在竞选中失败而自动重启,重启后两台设备形成一个 IRF。


注意

irf-port 2/2  第一个2是设备成员编号,第二个2是IRF端口。IRF端口1只能和IRF端口2连接。



(3)BFD 分裂检测,选配

​使用网线Device A上的端口GigabitEthernet1/0/1和Device B上的端口GigabitEthernet2/0/1连接起来。


# 创建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


# 因为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





标签:H3C,端口,堆叠,range,irf,DeviceA,IRF,DeviceB
From: https://blog.51cto.com/u_13212728/5991170

相关文章

  • SQL堆叠注入及waf绕过注入;SQL注入之SQLMAP绕过WAF
    堆叠查询注入Stackedinjections(堆叠注入)从名词的含义就可以看到应该是一堆sql语句(多条)一起执行。而在真实的运用中也是这样的,我们知道在mysql中,主要是命令......
  • VGG中堆叠多个3x3卷积核的说明
    在VGG中,使用了3个3x3卷积核来代替7x7卷积核,使用了2个3x3卷积核来代替5x5卷积核,这样做的主要目的是在保证具有相同感知野的条件下,提升了网络的深度。3x3卷积的作用:https:/......
  • H3C交换机无Console线配置
    很多时候,需要配置H3C交换机时,并不一定带了电脑,更不一定带Console接口线,那么我们是不是不能临时配置交换机呢,答案当然不是。A.看H3C交换机帮助文档,出厂缺省IP地址为192.168......
  • 交换机堆叠和级联的区别
    一、指代不同 1、堆叠:可以将多台交换机组成一个单元,从而增大端口密度和提高端口的性能。 2、级联:可以实现多台交换机之间的互连。 二、特点不同 1、堆叠:通......
  • 图形查看器丨IrfanView功能简介
    IrfanView是一款快速、紧凑和创新的图形查看器,适用于WindowsXP、Vista、7、8、10和11。 IrfanView寻求创建独特、新颖和有趣的功能,与其他一些图形查看器不同,它......
  • Rebecca Wirfs-Brock-"对象设计的艺术"UMLChina讲座-音频和幻灯
    时间2006年8月8日(周二)上午10:00-12:00演讲人RebeccaWirfs-Brock(http://www.wirfs-brock.com),对象技术专家,面向对象设计技术的先驱。她在1990年出版的”DesigningObject-Ori......
  • Rebecca Wirfs-Brock--"职责驱动设计"讲座-音频和幻灯
    时间2004年8月25日(周三)上午10:00-12:00演讲人RebeccaWirfs-Brock,对象技术专家,面向对象设计技术的先驱。她在1990年出版的”DesigningObject-OrientedSoftware”是最早的......
  • linux(centos)创建虚拟环境并部署airflow
    一、创建虚拟环境1.安装virtualenv,virtualenvwrapperpipinstallvirtualenvvirtualenvwrapper安装好之后创建存放虚拟环境目录,这里我存在~/pythonvenv里,查看当前......
  • 三、教你搞懂渐变堆叠面积图《手把手教你 ECharts 数据可视化详解》
    注:本系列教程需要对应JavaScript、html、css基础,否则将会导致阅读时困难,本教程将会从ECharts的官方示例出发,详解每一个示例实现,从中学习ECharts。ECharts官方示例:h......
  • 力扣每日一题2022.12.10---1691. 堆叠长方体的最大高度
    给你n个长方体cuboids,其中第i个长方体的长宽高表示为cuboids[i]=[widthi,lengthi,heighti](下标从0开始)。请你从cuboids选出一个子集,并将它们堆叠起来。如......