取消
显示结果 
搜索替代 
您的意思是: 
cancel
公告

December 2020

413
查看次数
5
有帮助
3
回复
jialingwang4038
Beginner

交换机环路问题

无标题.jpg

环路报错在2台交换机上都有,2台交换机上配置是一样的,Host e007.1bf2.ff42 , Host e007.1bf2.0f96 应该就是2台服务器地址吧?

2台服务器都打环了?那么怎么检查是交换机配置问题,还是网卡配置问题?

 

报错:

 

vlan 20 is flapping between port Po1 and port Gi0/20
Jul 19 2020 21:11:57.365: %SW_MATM-4-MACFLAP_NOTIF: Host e007.1bf2.0f96 in vlan 20 is flapping between port Po1 and port Gi0/20
Jul 19 2020 21:11:57.633: %SW_MATM-4-MACFLAP_NOTIF: Host e007.1bf2.ff42 in vlan 20 is flapping between port Po1 and port Gi0/19
Jul 20 2020 00:16:18.382: %SW_MATM-4-MACFLAP_NOTIF: Host e007.1bf2.ff42 in vlan 20 is flapping between port Po1 and port Gi0/19
Jul 20 2020 00:16:18.382: %SW_MATM-4-MACFLAP_NOTIF: Host e007.1bf2.0f96 in vlan 20 is flapping between port Po1 and port Gi0/20
Jul 20 2020 02:19:12.010: %SW_MATM-4-MACFLAP_NOTIF: Host e007.1bf2.ff42 in vlan 20 is flapping between port Po1 and port Gi0/19
Jul 20 2020 03:20:39.600: %SW_MATM-4-MACFLAP_NOTIF: Host e007.1bf2.ff42 in vlan 20 is flapping between port Po1 and port Gi0/19
Jul 20 2020 04:22:05.848: %SW_MATM-4-MACFLAP_NOTIF: Host e007.1bf2.ff42 in vlan 20 is flapping between port Po1 and port Gi0/19
Jul 20 2020 04:22:06.183: %SW_MATM-4-MACFLAP_NOTIF: Host e007.1bf2.0f96 in vlan 20 is flapping between port Po1 and port Gi0/20
Jul 20 2020 05:23:32.674: %SW_MATM-4-MACFLAP_NOTIF: Host e007.1bf2.ff42 in vlan 20 is flapping between port Po1 and port Gi0/19
Jul 20 2020 06:24:59.937: %SW_MATM-4-MACFLAP_NOTIF: Host e007.1bf2.0f96 in vlan 20 is flapping between port Po1 and port Gi0/20
Jul 20 2020 07:26:27.066: %SW_MATM-4-MACFLAP_NOTIF: Host e007.1bf2.0f96 in vlan 20 is flapping between port Po1 and port Gi0/20
Jul 20 2020 08:27:53.741: %SW_MATM-4-MACFLAP_NOTIF: Host e007.1bf2.ff42 in vlan 20 is flapping between port Po1 and port Gi0/19
Jul 20 2020 08:27:53.943: %SW_MATM-4-MACFLAP_NOTIF: Host e007.1bf2.0f96 in vlan 20 is flapping between port Po1 and port Gi0/20
Jul 20 2020 09:29:20.837: %SW_MATM-4-MACFLAP_NOTIF: Host e007.1bf2.ff42 in vlan 20 is flapping between port Po1 and port Gi0/19
Jul 20 2020 09:29:21.315: %SW_MATM-4-MACFLAP_NOTIF: Host e007.1bf2.0f96 in vlan 20 is flapping between port Po1 and port Gi0/20
Jul 20 2020 10:30:47.865: %SW_MATM-4-MACFLAP_NOTIF: Host e007.1bf2.ff42 in vlan 20 is flapping between port Po1 and port Gi0/19
Jul 20 2020 10:30:48.167: %SW_MATM-4-MACFLAP_NOTIF: Host e007.1bf2.0f96 in vlan 20 is flapping between port Po1 and port Gi0/20

 

配置:

以下是配置:
!
spanning-tree mode pvst
spanning-tree extend system-id
spanning-tree vlan 10,20 priority 24576
!
vlan internal allocation policy ascending
!
ip ssh authentication-retries 5
ip ssh version 2
!
!
!
interface Port-channel1
switchport trunk encapsulation dot1q
switchport mode trunk
!
interface GigabitEthernet0/1
switchport access vlan 10
switchport mode access
speed 1000
duplex full
!
interface GigabitEthernet0/2
switchport access vlan 10
switchport mode access
speed 1000
duplex full
!
interface GigabitEthernet0/3
switchport access vlan 10
switchport mode access
speed 1000
duplex full
!
interface GigabitEthernet0/4
switchport access vlan 10
switchport mode access
speed 1000
duplex full
!
interface GigabitEthernet0/5
switchport access vlan 10
switchport mode access
speed 1000
duplex full
!
interface GigabitEthernet0/6
switchport access vlan 10
switchport mode access
speed 1000
duplex full
!
interface GigabitEthernet0/7
switchport access vlan 10
switchport mode access
speed 1000
duplex full
!
interface GigabitEthernet0/8
switchport access vlan 10
switchport mode access
speed 1000
duplex full
!
interface GigabitEthernet0/9
switchport access vlan 10
switchport mode access
speed 1000
duplex full
!
interface GigabitEthernet0/10
switchport access vlan 10
switchport mode access
speed 1000
duplex full
!
interface GigabitEthernet0/11
switchport access vlan 10
switchport mode access
speed 1000
duplex full
!
interface GigabitEthernet0/12
switchport access vlan 10
switchport mode access
speed 1000
duplex full
!
interface GigabitEthernet0/13
switchport access vlan 10
switchport mode access
speed 1000
duplex full
!
interface GigabitEthernet0/14
switchport access vlan 10
switchport mode access
speed 1000
duplex full
!
interface GigabitEthernet0/15
switchport access vlan 10
switchport mode access
speed 1000
duplex full
!
interface GigabitEthernet0/16
switchport access vlan 10
switchport mode access
speed 1000
duplex full
!
interface GigabitEthernet0/17
switchport access vlan 10
switchport mode access
speed 1000
duplex full
!
interface GigabitEthernet0/18
switchport access vlan 10
switchport mode access
speed 1000
duplex full
!
interface GigabitEthernet0/19
switchport access vlan 20
switchport mode access
speed 1000
duplex full
!
interface GigabitEthernet0/20
switchport access vlan 20
switchport mode access
speed 1000
duplex full
!
interface GigabitEthernet0/21
switchport access vlan 20
switchport mode access
speed 1000
duplex full
!
interface GigabitEthernet0/22
switchport access vlan 20
switchport mode access
speed 1000
duplex full
!
interface GigabitEthernet0/23
switchport trunk encapsulation dot1q
switchport mode trunk
channel-group 1 mode desirable
!
interface GigabitEthernet0/24
switchport trunk encapsulation dot1q
switchport mode trunk
channel-group 1 mode desirable
!
interface GigabitEthernet0/25
!
interface GigabitEthernet0/26
!
interface GigabitEthernet0/27
!
interface GigabitEthernet0/28
!
interface Vlan1
no ip address
!
interface Vlan10
description link DB-NETWORK
ip address 172.16.1.2 255.255.255.0
!
interface Vlan20
description link RAC-Heart-Network
no ip address

3 条回复3
wyc_chao
Beginner

1. 检查三台交换机的生成树,让最上面的交换机为根桥,配置中没有看到两台交换机上联到最上面交换机的配置,是trunk 还是三层路由,如果是三层路由,那和最上面的交换机没有关系

2.检查服务器的binding配置

一般问题会出在服务器上binding的配置上

三层路由,最上面的画错了,是防火墙

ilay
Rising star

这个一般是服务器端网卡绑定的问题,服务器跨交换机接两条线需要使用Active/Standby的模式,只使用一条链路发动数据,另一条纯作为备份使用。如果配置不当,两个接口都应答请求,就会出现这种mac地址flapping的情况。