本文作者:chenzj

H3C交换机堆叠简单案例

chenzj 2021-12-17 2157 抢沙发
H3C交换机堆叠简单案例摘要: 模拟器版本:HCL 5.6.0 模拟交换机型号:S6850 堆叠口:FGE 0/53 和FGE 0/54 ...

模拟器版本:HCL 5.6.0

模拟交换机型号:S6850

堆叠口:FGE 0/53 和FGE 0/54 

网络图

image.png

S6850_1交换机配置

<H3C>system-view
System View: return to User View with Ctrl+Z.
[H3C]sysname HX1
[HX1]undo info-center en
[HX1]undo info-center enable
[HX1]irf member 1 priority 10   ##配置交换机优先级
[HX1]int range FortyGigE 1/0/53 to FortyGigE 1/0/54
[HX1-if-range]shutdown
[HX1-irf-port1/1]port group interface FortyGigE 1/0/53
You must perform the following tasks for a successful IRF setup:
Save the configuration after completing IRF configuration.
Execute the "irf-port-configuration active" command to activate the IRF ports.
[HX1-irf-port1/1]port group interface FortyGigE 1/0/54
[HX1]int range FortyGigE 1/0/53 to FortyGigE 1/0/54
[HX1-if-range]no shutdown
[HX1-if-range]irf-port-configuration active   
[HX1]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...
Saved the current configuration to mainboard device successfully.

S6850_2交换机配置


<H3C>system-view
System View: return to User View with Ctrl+Z.
[H3C]sysname HX2
[HX2]undo info-center enable
Information center is disabled.
[HX2]irf member 1 renumber 2   ##重命名设备号,重启后生效
Renumbering the member ID may result in configuration change or loss. Continue?[Y/N]:y
Please reboot the device for the new member ID to take effect.
[HX2]qu
<HX2>reboot
<HX2>system-view
[HX2]int range FortyGigE 2/0/53 to FortyGigE 2/0/54
[HX2-if-range]shutdown
[HX2-if-range]qu
[HX2]irf-port 2/2
[HX2-irf-port2/2]port group interface FortyGigE 2/0/53
You must perform the following tasks for a successful IRF setup:
Save the configuration after completing IRF configuration.
Execute the "irf-port-configuration active" command to activate the IRF ports.
[HX2-irf-port2/2]port group interface FortyGigE 2/0/54


建议先删除连线

[HX2]int range FortyGigE 2/0/53 to FortyGigE 2/0/54
[HX2-if-range]no shutdown
[HX2-if-range]qu
[HX2]irf-port-configuration active
[HX2]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 startup.cfg file already exists.
Compared with the startup.cfg file, The current configuration adds 59 commands and deletes 58 commands.
If you want to see the configuration differences, please cancel this operation, and then use the display diff command to show the details.
If you continue the save operation, the file will be overwritten.
Are you sure you want to continue the save operation? [Y/N]:y
Saving the current configuration to the file. Please wait...
Saved the current configuration to mainboard device successfully.


最后连线,S6850_2交换机进行重启同步

image.png


文章版权及转载声明

作者:chenzj本文地址:https://www.it-js.net/166.html发布于 2021-12-17
文章转载或复制请以超链接形式并注明出处IT技术

阅读
分享

发表评论

快捷回复:

评论列表 (暂无评论,2157人围观)参与讨论

还没有评论,来说两句吧...