温馨提示×

温馨提示×

您好,登录后才能下订单哦!

密码登录×
登录注册×
其他方式登录
点击 登录注册 即表示同意《亿速云用户服务条款》

二台H3C (S7003E)做简单的堆叠配置

发布时间:2020-07-21 02:12:54 来源:网络 阅读:1105 作者:wx5b4ff40c65af2 栏目:网络管理

1、先规划好需要做堆叠的端口与准备好堆叠线缆,堆叠口一般都是光口,看设备的情况而定。

2、将设备上电,并且使用堆叠线缆连接需要做堆叠设备与端口。

3、使用console线连接设备的console口开始配置。

4、配置如下:
①配置交换机的成员编号一般主的就是1,备的是2

主:
<H3C>sys
[H3C]irf member 1 renumber 1 选择YES直接回车
[H3C]quit

备:
<H3C>sys
[H3C]irf member 1 renumber 2 选择YES直接回车
[H3C]quit
重启备设备


②配置交换机的成员优先级
主:
<H3C>sys
[H3C]irf member 1 priority 30
[H3C]quit
备:
<H3C>sys
[H3C]irf member 1 priority 15
[H3C]quit


③配置irf端口,进入所需要配置堆叠的物理端口关闭端口
主:
<H3C>sys
[H3C]int range Ten-GigabitEthernet 1/0/49 Ten-GigabitEthernet 1/0/50
[H3C-if-range]shutdown
[H3C-if-range]quit
[H3C]irf-port 1/1
[H3C-irf-port1/1]port group interface Ten-GigabitEthernet 1/0/49
[H3C-irf-port1/1]port group interface Ten-GigabitEthernet 1/0/50
[H3C-irf-port1/1]quit
[H3C]int range Ten-GigabitEthernet 1/0/49 Ten-GigabitEthernet 1/0/50
[H3C-if-range]undo shutdown
[H3C-if-range]quit
[H3C]save
[H3C] irf-port-configuration active

备:
<H3C>sys
[H3C]int range Ten-GigabitEthernet 2/0/49 Ten-GigabitEthernet 2/0/50
[H3C-if-range]shutdown
[H3C-if-range]quit
[H3C]irf-port 1/1
[H3C-irf-port1/1]port group interface Ten-GigabitEthernet 2/0/49
[H3C-irf-port1/1]port group interface Ten-GigabitEthernet 2/0/50
[H3C-irf-port1/1]quit
[H3C]int range Ten-GigabitEthernet 2/0/49 Ten-GigabitEthernet 2/0/50
[H3C-if-range]undo shutdown
[H3C-if-range]quit
[H3C]save
[H3C] irf-port-configuration active

注:配置完成之后会开始竞选master,竞选完成之后slave会自动重启,
使用dis irf     查看堆叠情况 

④配置bfd检测堆叠
配置BFD MAC

[H3C] vlan 3
[H3C-vlan3] port ten-gigabitethernet 1/0/24 ten-gigabitethernet 2/0/24
[H3C-vlan3] quit

[H3C] interface vlan-interface 3
[H3C-Vlan-interface3] mad bfd enable
[H3C-Vlan-interface3] mad ip address 192.168.2.1 24 member 1
[H3C-Vlan-interface3] mad ip address 192.168.2.2 24 member 2
[H3C-Vlan-interface3] quit

#BFD和stp互斥,关闭stp
[H3C] interface gigabitethernet 1/0/24
[H3C-gigabitethernet-1/0/1] undo stp enable
[H3C-gigabitethernet-1/0/1] quit
[H3C] interface gigabitethernet 2/0/24
[H3C-gigabitethernet-2/0/1] undo stp enable
[H3C-gigabitethernet-2/0/1] quit

网络拓扑:
二台H3C (S7003E)做简单的堆叠配置

向AI问一下细节

免责声明:本站发布的内容(图片、视频和文字)以原创、转载和分享为主,文章观点不代表本网站立场,如果涉及侵权请联系站长邮箱:is@yisu.com进行举报,并提供相关证据,一经查实,将立刻删除涉嫌侵权内容。

AI