软件版本:Version 7.1.070, Release 7585P05

1、配置SW1
#设置SW1的成员编号为1,创建IRF端口2,并将它与物理接口Ten-G0/0/45、Ten-G0/0/46、Ten-G0/0/47、Ten-G0/0/48绑定。

<H3C>system-view
System View: return to User View with Ctrl+Z.
[H3C]sysname A
[A]irf member 1
[A]int range Ten-GigabitEthernet 0/0/45 to Ten-GigabitEthernet 0/0/48
[A-if-range]shutdown
[A-if-range]quit
[A]irf-port 2
[A-irf-port2]port group interface Ten-GigabitEthernet0/0/45
[A-irf-port2]port group interface Ten-GigabitEthernet0/0/46
[A-irf-port2]port group interface Ten-GigabitEthernet0/0/47
[A-irf-port2]port group interface Ten-GigabitEthernet0/0/48
[A-irf-port2]int range Ten-GigabitEthernet 0/0/45 to Ten-GigabitEthernet 0/0/48
[A-if-range]undo shutdown

# 将当前配置保存到下次启动配置文件。
<A>sa
The current configuration will be written to the device. Are you sure? [Y/N]:y
Please input the file name(*.cfg)[cfa0:/startup.cfg]
(To leave the existing filename unchanged, press the enter key):
Validating file. Please wait...
Configuration is saved to device successfully.

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

[A]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 cfa0:/startup.cfg to make it available in IRF mode? [Y/N]:y
Now rebooting, please wait...
%Jun 19 16:39:42:065 2015 A DEV/5/SYSTEM_REBOOT: System is rebooting now.
设备重启后Device A组成了只有一台成员设备的IRF。

1、配置SW2
#设置SW2的成员编号为2,创建IRF端口1,并将它与物理接口Ten-G0/0/45、Ten-G0/0/46、Ten-G0/0/47、Ten-G0/0/48绑定。
<H3C>system-view 
System View: return to User View with Ctrl+Z.
[H3C]sysname B
[B]irf member 2
[B]int range Ten-GigabitEthernet 0/0/45 to Ten-GigabitEthernet 0/0/48
[B-if-range]shutdown 
[B-if-range]quit
[B]irf-port 1
[B-irf-port2]port group interface Ten-GigabitEthernet0/0/45
[B-irf-port2]port group interface Ten-GigabitEthernet0/0/46
[B-irf-port2]port group interface Ten-GigabitEthernet0/0/47
[B-irf-port2]port group interface Ten-GigabitEthernet0/0/48
[B-irf-port2]int range Ten-GigabitEthernet 0/0/45 to Ten-GigabitEthernet 0/0/48
[B-if-range]undo shutdown

# 将当前配置保存到下次启动配置文件。
<B>sa
The current configuration will be written to the device. Are you sure? [Y/N]:y
Please input the file name(*.cfg)[cfa0:/startup.cfg]
(To leave the existing filename unchanged, press the enter key):
Validating file. Please wait...
Configuration is saved to device successfully.

进行物理连线。
将设备的运行模式切换到IRF模式。

[B]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 cfa0:/startup.cfg to make it available in IRF mode? [Y/N]:y
Now rebooting, please wait...
%Jun 19 16:41:29:433 2015 B DEV/5/SYSTEM_REBOOT: System is rebooting now.

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

[B]dis irf
MemberID Slot Role Priority CPU-Mac Description
*1 6 Master 1 00e0-fc0f-8c07 ---
1 7 Standby 1 00e0-fc0f-8c08 ---
+2 6 Standby 1 00e0-fc0f-8c19 ---
2 7 Standby 1 00e0-fc0f-8c1a ---
--------------------------------------------------
* indicates the device is the master.
+ indicates the device through which the user logs in.

The bridge MAC of the IRF is: 0868-8d62-7200
Auto upgrade : yes
Mac persistent : always
Domain ID : 0
Auto merge : yes
IRF mode : normal

(3) 配置BFD MAD检测

[A]vlan 4090
[A-vlan4090]description mad-bfd

[A-vlan4090]port Ten-GigabitEthernet 1/0/0/43 Ten-GigabitEthernet 1/0/0/44 Ten

-GigabitEthernet 2/0/0/43 Ten-GigabitEthernet 2/0/0/44
[A-vlan4090]int vlan 4090
[A-Vlan-interface4090]mad bfd enable 
[A-Vlan-interface4090]mad ip address 1.1.1.1 30 member 1
[A-Vlan-interface4090]mad ip address 1.1.1.2 30 member 2

[A]int Ten-GigabitEthernet 1/0/0/43
[A-Ten-GigabitEthernet1/0/0/43]undo stp enable
[A-Ten-GigabitEthernet1/0/0/43]int Ten-GigabitEthernet 1/0/0/44
[A-Ten-GigabitEthernet1/0/0/44]undo stp enable
[A-Ten-GigabitEthernet1/0/0/44]int Ten-GigabitEthernet 2/0/0/43
[A-Ten-GigabitEthernet2/0/0/43]undo stp enable
[A-Ten-GigabitEthernet2/0/0/44]int Ten-GigabitEthernet 2/0/0/43
[A-Ten-GigabitEthernet2/0/0/43]undo stp enable

[A]dis bfd session
Total Session Num: 1 Up Session Num: 0 Init Mode: Active

IPv4 session working in control packet mode:

LD/RD SourceAddr DestAddr State Holdtime Interface
4097/0 1.1.1.1 1.1.1.2 Down / Vlan4090

 

 

H3C S10512虚拟化配置的更多相关文章

  1. H3C S5120-52P-WiNet交换机配置

    配置console口登录验证密码 <H3C>system-view [H3C]user-interface aux 0 [H3C-ui-aux0]authentication-mode p ...

  2. KVM虚拟化配置

    KVM虚拟化 虚拟化概念 KVM虚拟化概念详讲 虚拟化配置 首先开启虚拟化的支持 并且增加一个50g的硬盘 free查看内存 grep -Ei 'vmx|svm' /proc/cpuinfo查看虚拟机 ...

  3. H3C远程登陆配置

    1.配置本地用户(默认权限 level 1) [H3C]local-user admin [H3C-luser-admin]password cipher [H3C]super password le ...

  4. H3C S3100交换机配置VLAN和远程管理

    一.基本设置 1. console线连接成功 2. 进入系统模式 <H3C>system-view //提示符由<H3C> 变为 [H3C] 3. 更改设备名称 [H3C]sy ...

  5. 飞鱼星、H3C企业路由器配置

    飞鱼星企业路由器配置外网访问IIS 只配置端口映射就行,配置好了,如果不立即重启,需要等几分钟才能生效 H3C路由器配置虚拟服务器即可

  6. ESXi 嵌套KVM虚拟化 配置

    VMware ESXi5.x默认不支持嵌套虚拟化,需要修改相关配置才能支持   1.ESXi5.1主机开通ssh,修改VMware ESXi配置文件使之嵌套虚拟化. 在配置文件后面加入如下配置:vhv ...

  7. 批量备份H3C交换机路由器配置

    第一种(使用ftp下载配置文件): #!/bin/bash datetime=`date +%Y%m%d` BAKTIME=`date +%Y%m%d%H%M%S` user="admin& ...

  8. H3C交换机SNMP配置

    1.启动/关闭SNMP Agent服务 在系统视图模式下: 启用:snmp-agent 关闭:undo snmp-agent 注:缺省情况下snmp agent是关闭的 2. 使能或禁止SNMP相应版 ...

  9. H3C/华为交换机配置NTP客户端

    H3C clock timezone UTC add ntp-service unicast-server 1.1.1.1 //ntp服务器地址 clock protocol ntp ntp-serv ...

随机推荐

  1. 从MSSQL表中删除重复项

    declare @ids int=1 declare @count int while @ids<471 begin select @count=COUNT(*) From LotNO wher ...

  2. react 如何引入打印控件 CLodop

    下载插件,官网地址 http://www.lodop.net/download.html  ,选择综合版,解压下载的文件.直接点击 安装,很简单,就不一一说明了. 复制下面几个文件,到react项目中 ...

  3. javascript判断数组是否包含了指定的元素

    jQuery写法: var arr = [ "xml", "html", "css", "js" ]; $.inArra ...

  4. Linux下Tomcat带日志启动命令

    在Linux环境下,启动Tomcat时我们需要在启动过程中看到日志信息.可以通过下面命令启动Tocmat. ./startup.sh; tailf ../logs/catalina.out或者 ./s ...

  5. gerrit 版本下载

    链接:https://gerrit-releases.storage.googleapis.com 如下载gerrit-2.12.2.war https://gerrit-releases.stora ...

  6. Python基础笔记:input()输入与数据类型转换

    input就是个万能输入,不过input输入的元素都是以str形式保存的,如果要他作为一个整数的话,就需要进行数据类型转换. input的使用 name=input('please input you ...

  7. ORIGIN(起源属性)路由起源骗术

    ORIGIN(起源属性)配置: ①:抓取感兴趣流量——prefix.access ②:创建route-map 流量地图——permit 10 ③:匹配感兴趣流量——match ④:设置起源属性——se ...

  8. 八十二、SAP中的ALV创建之一,新建一个程序

    一.创建一个ALV的程序 二.填写程序属性 三.保存到本地对象 四.来到代码区,这样一个新工程就创建好了,我们后续来写相关的创建代码

  9. 二十、SAP中定义内表

    一.内表相当于传统语言的多维数组的东西,定义一个内表有以下2个方式

  10. Zookeeper 在 Kafka 中的作用

    https://www.jianshu.com/p/a036405f989c 待整理...