最佳答案
一、 组网需求:
通过两条10G链路将两台S5820V2虚拟化成一台逻辑设备
二、 组网图:
三、 配置步骤:
1、配置S5820V2_1
# 选择一组SFP+端口作为IRF物理端口,本文中为Ten-GigabitEthernet1/0/1~Ten-GigabitEthernet1/0/4。关闭该组中所有端口。为便于配置,下文中将使用接口批量配置功能关闭和开启物理端口。
[H3C] interface range name irf interface ten-gigabitethernet 1/0/1 to ten-gigabitethernet 1/0/4
[H3C-if-range-irf] shutdown
[H3C-if-range-irf] quit
# 配置IRF端口1/1,并将它与物理端口Ten-GigabitEthernet1/0/1、Ten-GigabitEthernet1/0/2、Ten-GigabitEthernet1/0/3和Ten-GigabitEthernet1/0/4绑定。
[H3C] irf-port 1/1
[H3C-irf-port1/1] port group interface ten-gigabitethernet 1/0/1
[H3C-irf-port1/1] port group interface ten-gigabitethernet 1/0/2
[H3C-irf-port1/1] port group interface ten-gigabitethernet 1/0/3
[H3C-irf-port1/1] port group interface ten-gigabitethernet 1/0/4
[H3C-irf-port1/1] quit
# 开启Ten-GigabitEthernet1/0/1~Ten-GigabitEthernet1/0/4端口,并保存配置。
[H3C] interface range name irf interface ten-gigabitethernet 1/0/1 to ten-gigabitethernet 1/0/4
[H3C-if-range-irf] undo shutdown
[H3C-if-range-irf] quit
[H3C] save
# 激活IRF端口下的配置。
[H3C] irf-port-configuration active
2、 配置S5820V2_2
# 将S5820V2_2的成员编号配置为2,并重启设备使新编号生效。
[H3C] irf member 1 renumber 2
Renumbering the member ID may result in configuration change or loss. Continue? [Y/N]:y
[H3C] quit
选择一组SFP+端口作为IRF物理端口,本文中为Ten-GigabitEthernet2/0/1~Ten-GigabitEthernet2/0/4为例。
# 重新登录到设备,关闭选定端口组中的所有端口。
[H3C] interface range name irf interface ten-gigabitethernet 2/0/1 to ten-gigabitethernet 2/0/4
[H3C-if-range-irf] shutdown
[H3C-if-range-irf] quit
# 配置IRF端口2/2,并将它与物理端口Ten-GigabitEthernet2/0/1和Ten-GigabitEthernet2/0/4绑定。
[H3C] irf-port 2/2
[H3C-irf-port2/2] port group interface ten-gigabitethernet 2/0/1
[H3C-irf-port2/2] port group interface ten-gigabitethernet 2/0/2
[H3C-irf-port2/2] port group interface ten-gigabitethernet 2/0/3
[H3C-irf-port2/2] port group interface ten-gigabitethernet 2/0/4
[H3C-irf-port2/2] quit
# 开启Ten-GigabitEthernet2/0/1~Ten-GigabitEthernet2/0/4端口,并保存配置。
[H3C] interface range name irf interface ten-gigabitethernet 2/0/1 to ten-gigabitethernet 2/0/4
[H3C-if-range-irf] undo shutdown
[H3C-if-range-irf] quit
[H3C] save
# 激活IRF端口下的配置。
[H3C] irf-port-configuration active
3、S5820V2_1和S5820V2_2间将会进行Master竞选,竞选失败的一方将重启,重启完成后,IRF形成。
4、配置验证:
[H3C]display irf
MemberID Role Priority CPU-Mac Description
*1 Master 1 5866-ba8c-142d ---
+2 Standby 1 5866-ba8c-1496 ---
--------------------------------------------------
* indicates the device is the master.
+ indicates the device through which the user logs in.
The Bridge MAC of the IRF is: 5866-ba8c-142c
Auto upgrade : yes
Mac persistent : 6 min
Domain ID : 0
[H3C]display irf link
Member 1
IRF Port Interface Status
1 Ten-GigabitEthernet1/0/1 UP
Ten-GigabitEthernet1/0/2 UP
Ten-GigabitEthernet1/0/3 DOWN
Ten-GigabitEthernet1/0/4 DOWN
2 disable --
Member 2
IRF Port Interface Status
1 disable --
2 Ten-GigabitEthernet2/0/1 UP
Ten-GigabitEthernet2/0/2 UP
Ten-GigabitEthernet2/0/3 DOWN
Ten-GigabitEthernet2/0/4 DOWN
可见堆叠成功。
四、 配置关键点:
1、S5820V2-52QF/S5820V2-54QS-GE交换机上的所有SFP+口/QSFP+口以及S5830V2-24S交换机上的所有SFP+口都可以用于IRF连接。如果选择S5820V2-52QF/S5830V2-24S设备的SFP+口作为IRF物理端口,需要注意的是:
· 设备上的SFP+口根据端口编号进行分组,从编号1开始,按端口编号由小到大的顺序,每4个SFP+口分为一组。同一组中的所有端口用途必须相同,即当某一端口与IRF端口绑定后,该组内其它端口将不能再作为普通业务端口使用,反之亦然。
· 在将某个SFP+口与IRF端口进行绑定或取消绑定之前,必须先对该SFP+口所在组内的所有SFP+口执行shutdown操作;在完成绑定或取消绑定操作后,再对同组内所有SFP+口执行undo shutdown操作。使用接口批量配置功能可以更快捷的完成以上操作。
2、在将物理口跟堆叠逻辑口绑定前,必须将一组的四个端口全部shutdown,否则会报如下错误:
Check Failed For Reason:
Interfaces Ten-GigabitEthernet1/0/1 to Ten-GigabitEthernet1/0/4 belong to a port group,Please shutdown all of them before changing the working mode.
3、堆叠时必须将该组的四个物理口全部跟一个或两个逻辑口绑定,否则会报错:
Bind all interfaces in the same group to one or two IRF ports or cancel the bindings on all of them.Configuration terminated because it failed on Ten-GigabitEthernet1/0/1.
(0)
交换机-1:
irf member 1
irf member 1 priority 32
irf-port 2
port group interface ten-gigabitethernet 0/0/21
port group interface ten-gigabitethernet 0/0/22
port group interface ten-gigabitethernet 0/0/23
port group interface ten-gigabitethernet 0/0/24
save
chassis convert mode irf
交换机-2:
irf member 2
irf member 2 priority 1
irf-port 1
port group interface ten-gigabitethernet 0/0/21
port group interface ten-gigabitethernet 0/0/22
port group interface ten-gigabitethernet 0/0/23
port group interface ten-gigabitethernet 0/0/24
save
chassis convert mode irf
mad配置:
interface Vlan-interface4094
description MAD
mad bfd enable
mad ip address 188.188.188.5 255.255.255.252 member 1
mad ip address 188.188.188.6 255.255.255.252 member 2
interface GigabitEthernet1/10/0/48
port link-mode bridge
description < MAD >
port access vlan 4094
#
interface GigabitEthernet2/10/0/48
port link-mode bridge
description < MAD >
port access vlan 4094
#
(0)
暂无评论
亲~登录后才可以操作哦!
确定你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作
举报
×
侵犯我的权益
×
侵犯了我企业的权益
×
抄袭了我的内容
×
原文链接或出处
诽谤我
×
对根叔社区有害的内容
×
不规范转载
×
举报说明
暂无评论