A设备
Press ENTER to get started.
#Jan 27 11:51:16:485 2016 H3C SHELL/4/LOGIN:
Trap 1.3.6.1.4.1.2011.10.2.2.1.1.3.0.1: login
from Console
%Jan 27 11:51:16:506 2016 H3C SHELL/5/SHELL_LOGIN: Console logged
in from aux0.
第一步、定义成员
[H3C]irf member 1 配置成员
Info: Member ID change will take effect after the
member reboots and operates in IRF mode.
[H3C]irf priority
10 配置优先级
第二步、关闭堆叠端口
[H3C]int rang Ten-GigabitEthernet 2/0/7 to
Ten-GigabitEthernet 2/0/8
[H3C-if-range]shutdown 关闭接口
[H3C-if-range]quit
第三步、定义irf端口号、并添加堆叠口
[H3C]irf-port
2 配置堆叠端口
[H3C-irf-port2]port group interface Ten-GigabitEthernet
2/0/7 加入堆叠接口
[H3C-irf-port2]port group interface Ten-GigabitEthernet
2/0/8 加入堆叠接口
[H3C-irf-port2]quit
第四步、激活接口
[H3C]int rang Ten-GigabitEthernet 2/0/7 to Ten-GigabitEthernet
2/0/8
[H3C-if-range]undo
shutdown 激活接口
[H3C-if-range]quit
[H3C]irf domain
10 加入域10中(域可以重启之后定义)
[H3C]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.........................
The current configuration is saved to the active
main board successfully.
Configuration is saved to device
successfully.
第五步、模式切换到irf模式
[H3C]chassis convert mode
irf 将设备的运行模式切换到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 flash:/startup.cfg to make it available
in IRF mode? [Y/N]:y
Please wait.....
B设备
system-view
[H3C]irf member 2
Info: Member ID change will take effect after the
member reboots and operates in IRF mode.
[H3C]irf priority 2
[H3C]int rang Ten-GigabitEthernet 2/0/7 to Ten-GigabitEthernet
2/0/8
[H3C-if-range]shutdown
[H3C-if-range]quit
[H3C]irf-port 1
[H3C-irf-port1]port group interface Ten-GigabitEthernet 2/0/7
[H3C-irf-port1]port group interface Ten-GigabitEthernet 2/0/8
[H3C-irf-port1]quit
[H3C]int rang Ten-GigabitEthernet 2/0/7 to Ten-GigabitEthernet
2/0/8
[H3C-if-range]undo shutdown
[H3C-if-range]quit
[H3C]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.........................
The current configuration is saved to the active
main board successfully.
Configuration is saved to device
successfully.
[H3C]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 flash:/startup.cfg to make it available
in IRF mode? [Y/N]:y
删除IRF
reset
saved-configuration 清除配置
undo chassis convert mode 删除堆叠模式
reboot 重启设备
配置mad的bfd检测主备设备运行状况,BFD接口只能用于BFD检测,不能跑其他业务
system-view
vlan 100
interface vlan 100
mad bfd enable
mad ip address 1.1.1.1 255.255.255.0 member
1
mad ip address 1.1.1.2 255.255.255.0 member
2
检测线断开会提示设备
IRF merge occurs and the IRF system does not need to reboot. 无需重启
IRF merge occurs and the IRF system needs a
reboot. 需重启
本文只作参考
原文地址:http://maguangjie.blog.51cto.com/11214671/1748064