软件版本: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. 【LeetCode】101. 对称二叉树

    题目 给定一个二叉树,检查它是否是镜像对称的. 例如,二叉树 [1,2,2,3,4,4,3] 是对称的. 1 / \ 2 2 / \ / \ 3 4 4 3 但是下面这个 [1,2,2,null,3, ...

  2. C++ Winsock

    由于兼容的问题更新下winsock,有较好的移植性:客户端是非阻塞的,服务器是阻塞的! Win32控制台: 数据收发: 服务器向客户端发送一个txt文本内容和一个结构体数据: 服务器代码: #incl ...

  3. net GC 学习以及问题

    引用对象必要空间开销:对象指针.同步块索引 GC重要点: 每个应用程序包含一组根,每个根都是一个存储位置,其中包含指向引用类型对象的一个指针,该指针要么指向托管堆中的要给对象,要么为null.(这句话 ...

  4. spring教程

    Spring框架是Java EE开发中最流行的框架,已经成为JEE事实上的标准,全世界的开发人员都在使用Spring框架开发各种应用.随着Spring boot,Spring cloud新版本的不断推 ...

  5. Django template配置

    TEMPLATES = [ { 'BACKEND': 'django.template.backends.django.DjangoTemplates', 'DIRS': [os.path.join( ...

  6. python-模块安装

    首先到这个网址https://www.lfd.uci.edu/~gohlke/pythonlibs/ 找到自己想要用的模块,然后下载下来, 回到桌面找到文件所在位置进入cmd中, pip instal ...

  7. Fragment 知识巩固

    重新学习 Fragment 1.Fragment 的生命周期 想要熟练使用 Fragment,那么必须要弄懂它的生命周期. 我们可以先看一下 Fragment 生命周期和 Activity 生命周期的 ...

  8. Arduino - -- 串口双向通信

    需要用到Arduino UNO的串口双向通信功能,以下源码: int val; void setup() {   Serial.begin(9600); // opensserial port, se ...

  9. java课程之团队开发冲刺阶段2.8

    昨日总结: 1.具体情况已经写在了昨天的当日总结当中 遇到的问题: 1.toolbar的返回键与菜单键冲突,导致无法同时使用 今天的任务: 1.完整实现课程查询任务 当日总结: 1.完整实现,唯一的遗 ...

  10. stm32f4 dma + uart idle + double 调试小记

    使用 stm32f4 调试uart 接收, 使用 空闲中断,dma 双缓冲模式,有以下几点需要注意的. 调试的时候断点不要打在 if (USART_GetITStatus(USART6, USART_ ...