两台华三S5560X-30F-EI(210235A1XJ9206Q00021/210235A1XJ9206Q00092),进行堆叠后下联接一台思科C2960楼层交换机,测试中当S5560X堆叠分裂后,C2960设备无法ping通核心网关,请问如何能够排查问题
(0)
最佳答案
怀疑现场未配置mad导致双主:
如图1-15所示,配置Device A、Device B、Device C和Device D组成IRF设备。配置BFD MAD进行分裂检测。
图1-15 IRF典型配置组网图(BFD MAD检测方式)
(1) 配置Device A
[Sysname] interface range ten-gigabitethernet 1/0/49 to ten-gigabitethernet 1/0/52
[Sysname-if-range] shutdown
[Sysname-if-range] quit
# 配置IRF端口1/1,并将它与物理端口Ten-GigabitEthernet1/0/49和Ten-GigabitEthernet1/0/50绑定。
[Sysname-irf-port1/1] port group interface ten-gigabitethernet 1/0/49
[Sysname-irf-port1/1] port group interface ten-gigabitethernet 1/0/50
[Sysname-irf-port1/1] quit
# 配置IRF端口1/2,并将它与物理端口Ten-GigabitEthernet1/0/51和Ten-GigabitEthernet1/0/52绑定。
[Sysname-irf-port1/2] port group interface ten-gigabitethernet 1/0/51
[Sysname-irf-port1/2] port group interface ten-gigabitethernet 1/0/52
[Sysname-irf-port1/2] quit
# 开启Ten-GigabitEthernet1/0/49~Ten-GigabitEthernet1/0/52端口,并保存配置。
[Sysname] interface range ten-gigabitethernet 1/0/49 to ten-gigabitethernet 1/0/52
[Sysname-if-range] undo shutdown
[Sysname-if-range] quit
[Sysname] save
# 激活IRF端口下的配置。
[Sysname] irf-port-configuration active
# 将Device B的成员编号配置为2,并重启设备使新编号生效。
[Sysname] irf member 1 renumber 2
Renumbering the member ID may result in configuration change or loss. Continue? [Y/N]:y
[Sysname] quit
<Sysname> reboot
# 重新登录到设备,关闭选定的所有IRF物理端口。
[Sysname] interface range ten-gigabitethernet 2/0/49 to ten-gigabitethernet 2/0/52
[Sysname-if-range] shutdown
[Sysname-if-range] quit
# 配置IRF端口2/1,并将它与物理端口Ten-GigabitEthernet2/0/49和Ten-GigabitEthernet2/0/50绑定。
[Sysname-irf-port2/1] port group interface ten-gigabitethernet 2/0/49
[Sysname-irf-port2/1] port group interface ten-gigabitethernet 2/0/50
[Sysname-irf-port2/1] quit
# 配置IRF端口2/2,并将它与物理端口Ten-GigabitEthernet2/0/51和Ten-GigabitEthernet2/0/52绑定。
[Sysname-irf-port2/2] port group interface ten-gigabitethernet 2/0/51
[Sysname-irf-port2/2] port group interface ten-gigabitethernet 2/0/52
# 开启Ten-GigabitEthernet2/0/49~Ten-GigabitEthernet2/0/52端口,并保存配置。
[Sysname] interface range ten-gigabitethernet 2/0/49 to ten-gigabitethernet 2/0/52
[Sysname-if-range] undo shutdown
[Sysname-if-range] quit
[Sysname] save
# 激活IRF端口下的配置。
[Sysname] irf-port-configuration active
(3) Device A和Device B间将会进行主设备竞选,竞选失败的一方将重启,重启完成后,IRF形成。
# 将Device C的成员编号配置为3,并重启设备使新编号生效。
[Sysname] irf member 1 renumber 3
Renumbering the member ID may result in configuration change or loss. Continue? [Y/N]:y
[Sysname] quit
<Sysname> reboot
# 重新登录到设备,关闭选定的所有IRF物理端口。
[Sysname] interface range ten-gigabitethernet 3/0/49 to ten-gigabitethernet 3/0/52
[Sysname-if-range] shutdown
[Sysname-if-range] quit
# 配置IRF端口3/1,并将它与物理端口Ten-GigabitEthernet3/0/49和Ten-GigabitEthernet3/0/50绑定。
[Sysname-irf-port3/1] port group interface ten-gigabitethernet 3/0/49
[Sysname-irf-port3/1] port group interface ten-gigabitethernet 3/0/50
[Sysname-irf-port3/1] quit
# 配置IRF端口3/2,并将它与物理端口Ten-GigabitEthernet3/0/51和Ten-GigabitEthernet3/0/52绑定。
[Sysname-irf-port3/2] port group interface ten-gigabitethernet 3/0/51
[Sysname-irf-port3/2] port group interface ten-gigabitethernet 3/0/52
[Sysname-irf-port3/2] quit
# 开启Ten-GigabitEthernet3/0/49~Ten-GigabitEthernet3/0/52端口,并保存配置。
[Sysname] interface range ten-gigabitethernet 3/0/49 to ten-gigabitethernet 3/0/52
[Sysname-if-range] undo shutdown
[Sysname-if-range] quit
[Sysname] save
# 激活IRF端口下的配置。
[Sysname] irf-port-configuration active
(5) Device C将自动重启,加入Device A和Device B已经形成的IRF。
# 将Device D的成员编号配置为4,并重启设备使新编号生效。
[Sysname] irf member 1 renumber 4
Renumbering the member ID may result in configuration change or loss. Continue? [Y/N]:y
[Sysname] quit
<Sysname> reboot
# 重新登录到设备,关闭选定的所有IRF物理端口。
[Sysname] interface range ten-gigabitethernet 4/0/49 to ten-gigabitethernet 4/0/52
[Sysname-if-range] shutdown
[Sysname-if-range] quit
# 配置IRF端口4/1,并将它与物理端口Ten-GigabitEthernet4/0/49和Ten-GigabitEthernet4/0/50绑定。
[Sysname-irf-port4/1] port group interface ten-gigabitethernet 4/0/49
[Sysname-irf-port4/1] port group interface ten-gigabitethernet 4/0/50
[Sysname-irf-port4/1] quit
# 配置IRF端口4/2,并将它与物理端口Ten-GigabitEthernet4/0/51和Ten-GigabitEthernet4/0/52绑定。
[Sysname-irf-port4/2] port group interface ten-gigabitethernet 4/0/51
[Sysname-irf-port4/2] port group interface ten-gigabitethernet 4/0/52
[Sysname-irf-port4/2] quit
# 开启Ten-GigabitEthernet4/0/49~Ten-GigabitEthernet4/0/52端口,并保存配置。
[Sysname] interface range ten-gigabitethernet 4/0/49 to ten-gigabitethernet 4/0/52
[Sysname-if-range] undo shutdown
[Sysname-if-range] quit
[Sysname] save
# 激活IRF端口下的配置。
[Sysname] irf-port-configuration active
(7) Device D将自动重启,加入Device A、Device B和Device C已经形成的IRF。
# 创建VLAN 3,并将端口GigabitEthernet1/0/1、GigabitEthernet2/0/1、GigabitEthernet3/0/1和GigabitEthernet4/0/1加入VLAN 3中。
[Sysname] vlan 3
[Sysname-vlan3] port gigabitethernet 1/0/1 gigabitethernet 2/0/1 gigabitethernet 3/0/1 gigabitethernet 4/0/1
[Sysname-vlan3] quit
# 创建VLAN接口3,并配置MAD IP地址。
[Sysname] interface vlan-interface 3
[Sysname-Vlan-interface3] mad bfd enable
[Sysname-Vlan-interface3] mad ip address 192.168.2.1 24 member 1
[Sysname-Vlan-interface3] mad ip address 192.168.2.2 24 member 2
[Sysname-Vlan-interface3] mad ip address 192.168.2.3 24 member 3
[Sysname-Vlan-interface3] mad ip address 192.168.2.4 24 member 4
[Sysname-Vlan-interface3] quit
# 因为BFD MAD和生成树功能互斥,所以在GigabitEthernet1/0/1、GigabitEthernet2/0/1、GigabitEthernet3/0/1和GigabitEthernet4/0/1端口上关闭生成树协议。
[Sysname] interface range gigabitethernet 1/0/1 gigabitethernet 2/0/1 gigabitethernet 3/0/1 gigabitethernet 4/0/1
[Sysname-if-range] undo stp enable
[Sysname-if-range] quit
Device E作为中间设备来透传BFD MAD报文,协助IRF中的四台成员设备进行多Active检测。
# 创建VLAN 3,并将端口GigabitEthernet1/0/1~GigabitEthernet1/0/4加入VLAN 3中,用于转发BFD MAD报文。
<DeviceE> system-view
[DeviceE] vlan 3
[DeviceE-vlan3] port gigabitethernet 1/0/1 to gigabitethernet 1/0/4
[DeviceE-vlan3] quit
(0)
您好,目前该组设备是做汇聚,网关在核心上,请问汇聚上也需要做int vlan的mad bfd enable吗?
S5560X堆叠分裂后 是双线上联还是单线
(0)
您好,目前该组设备是做汇聚,网关在核心上,两台核心做vrrp,请问汇聚上也需要做int vlan的mad bfd enable吗?
您好,目前该组设备是做汇聚,网关在核心上,两台核心做vrrp,请问汇聚上也需要做int vlan的mad bfd enable吗?
检测机制做了吗?
例如BFD检测
配置BFD MAD
# 创建VLAN 3,并将端口Ten-GigabitEthernet1/0/1、Ten-GigabitEthernet2/0/1、Ten-GigabitEthernet3/0/1和Ten-GigabitEthernet4/0/1加入VLAN 3中。
[Sysname] vlan 3
[Sysname-vlan3] port ten-gigabitethernet 1/0/1 ten-gigabitethernet 2/0/1 ten-gigabitethernet 3/0/1 ten-gigabitethernet 4/0/1
[Sysname-vlan3] quit
# 创建VLAN接口3,并配置MAD IP地址。
[Sysname] interface vlan-interface 3
[Sysname-Vlan-interface3] mad bfd enable
[Sysname-Vlan-interface3] mad ip address 192.168.2.1 24 member 1
[Sysname-Vlan-interface3] mad ip address 192.168.2.2 24 member 2
[Sysname-Vlan-interface3] mad ip address 192.168.2.3 24 member 3
[Sysname-Vlan-interface3] mad ip address 192.168.2.4 24 member 4
[Sysname-Vlan-interface3] quit
# 因为BFD MAD和生成树功能互斥,所以在Ten-GigabitEthernet1/0/1、Ten-GigabitEthernet2/0/1、Ten-GigabitEthernet3/0/1和Ten-GigabitEthernet4/0/1端口上关闭生成树协议。
[Sysname] interface gigabitethernet 1/0/1
[Sysname-gigabitethernet-1/0/1] undo stp enable
[Sysname-gigabitethernet-1/0/1] quit
[Sysname] interface gigabitethernet 2/0/1
[Sysname-gigabitethernet-2/0/1] undo stp enable
[Sysname-gigabitethernet-2/0/1] quit
[Sysname] interface gigabitethernet 3/0/1
[Sysname-gigabitethernet-3/0/1] undo stp enable
[Sysname-gigabitethernet-3/0/1] quit
[Sysname] interface gigabitethernet 4/0/1
[Sysname-gigabitethernet-4/0/1] undo stp enable
(0)
哪里做irf,哪里做BFD检测
您好,目前该组设备是做汇聚,网关在核心上,两台核心做vrrp,请问汇聚上也需要做int vlan的mad bfd enable吗?
哪里做irf,哪里做BFD检测
亲~登录后才可以操作哦!
确定你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作
举报
×
侵犯我的权益
×
侵犯了我企业的权益
×
抄袭了我的内容
×
原文链接或出处
诽谤我
×
对根叔社区有害的内容
×
不规范转载
×
举报说明
您好,目前该组设备是做汇聚,网关在核心上,请问汇聚上也需要做int vlan的mad bfd enable吗?