标签:available png 创建 res 设置 sys stp eth release
软件版本: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]destination 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
标签:available png 创建 res 设置 sys stp eth release
原文地址:https://www.cnblogs.com/paddingtoneyes/p/11862635.html