软件版本: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. 012.Delphi插件之QPlugins,多实例内嵌窗口服务

    这个DEMO中主要是在DLL中建立了一个IDockableControl类,并在DLL的子类中写了具体的实现方法. 在主程序exe中,找到这个服务,然后调用DLL的内嵌方法,把DLL插件窗口内嵌到主程 ...

  2. BAT 五路internet负载均衡

    一个网上下载的bat文件 也不记得从那里下载的了 记得似乎需要管理员权限运行 依稀记得测试有效 放在这里做个记录 @echo off echo. echo ╭─────────╮ echo ╭──── ...

  3. yolov3测试自己的数据

    yolov3测试自己的数据 前言 上一篇我已经介绍了利用yolov3预训练权重文件(只包含卷积层)并训练 只需要进行如下编译: ./darknet detector train cfg/voc.dat ...

  4. 记一次Win上MySQL乱码问题

    Win上MySQL乱码问题 笔记本上的数据库总会时不时的乱码(或者是一直乱码我没注意到?),在谷歌上试了几次错才正确解决,在此记录一下. 在MySQL数据库存储目录找到my.ini,在相应的标签下分别 ...

  5. JS - 获取数组中的最后1个

    arr = [1,2,3,4,5] console.log(arr[arr.length-1])    //输出的为5,即最后一个

  6. tornado5.0+async+await

    不使用数据库的情况下实现异步 使用gen.sleep()模拟阻塞 使用gen.sleep(time) 而不是time.sleep(),time.sleep()阻塞整个进程,看gen.sleep()源码 ...

  7. 八十一、SAP中的ALV的简介(ABAP List Viewer)

    一.ALV是SAP中的一个表格,全称为:ABAP List Viewer或者SAP List Viewer,就是可视化表格. ALV是SAP系统中心的列表标准,可以在ABAP程序中进行报表输出.除去列 ...

  8. 《新标准C++程序设计》3.6-3.7(C++学习笔记9)

    一.成员对象和封闭类 (1)定义 一个类的成员变量如果是另一个类的对象,就称之为“成员对象”. 包含成员对象的类叫封闭类. (2)封闭类构造函数的初始化列表 在构造函数中添加初始化列表的写法: 类名: ...

  9. Node.js NPM Package.json

    章节 Node.js NPM 介绍 Node.js NPM 作用 Node.js NPM 包(Package) Node.js NPM 管理包 Node.js NPM Package.json Nod ...

  10. js 工厂设计模式

    class Product{ constructor(name){ this.name = name; } init(){ alert(this.name); } } function Creator ...