《2020网络以太网链路聚合故障排查.docx》由会员分享,可在线阅读,更多相关《2020网络以太网链路聚合故障排查.docx(8页珍藏版)》请在优知文库上搜索。
1、以太网链路聚合故障排查一、开始链路聚合定位故障的思路是:先查聚合状态、聚合正常查看负载是否均衡,聚合异常先排查物理链路及成员端口数是否超规格再根据聚合类型检查本端配置及对端配置,动态聚合可以检查端口LACP报文收发数量。I:Administrator1、2015-12-2011:37:59j动态聚合组中某成员湍口处于未选中状态,可能原因;该端口配置了QinQ,该端口物理状态为DOWN该端口的VLAN属性配置与参考端口不一致D令该洒用双山泡灌围舂与端用不四配例如:通过命令确认二层链路聚合组BAGGl选中端口为2个。成员端口分别为GE1/0/1、GE1/0/2。displayIink-aggreg
2、ationSUInIrlaryAggregationInterfaceType:BAGG-Bridge-AggregationjRAGG-Route-AggregationAggregationMode:S-Static,D-Dynamic1.oadsharingType:SharLoadsharing.NonSNon-LoadsharingActorSystemID:0x8000,0023-893b-7085AGGInterfaceAGGModePartnerIDSelectUnselectShareTypePortsPortsBAGGlSnone20SharBAGG2D0x8000,002
3、3-896a-208a20SharWWH3Cdisplaylink-aggregationverboseAggregationInterface:Bridge-AggregationlAggregationMode:Static1.oadsharingType:PortStatusPriorityOger-KeyGE1O1S327681GE1O2S3276812、检查成员端口OUtboUnd流量检查本端负载是否均衡,需检查本端聚合组内成员端口的出方向流量,或对端入方向流量。命令:displayinterface例如:通过命令显示聚合组成员端口G1O1的出方向流量与G1/0/2进行比较确认负载是
4、否均衡。H3CdisplayinterfaceSUabiTEthernet1/0/11.ast300secondsinput:0packets/sec38bytes/sec0%1.ast300secondsoutput:0pacetssec41bytes/SeCOKInput(total):49packets,11629bytes5Mni25broadcasts,19ult;casts,0pausesInput(noal):49packets,-bytes5Unig第25broadcasts,19ultkt曼,0pausesInput:0inputerrors,0runts.0giants,0
5、throttles0CRC,0frae,-overruns,0abort,-ignoredt-parityerrorsOutput(total):S3pockets.12536bytes712broadcast%34VUIUCUT*,0pause,Output(normal):53packets*-bytes7unicasts,12broadcasts,34cnlticastb0pausesOutput:0outputerrors,-underruns,-bufferfailures0aborts,0deferred,0collisions,0lateCoIlI或One0lostcarrier
6、,nocarrier3、调整负载分担类型检查全局采用的聚合负载分担类型可以通过如下命令查看。配置聚合负载分担类型时有可能出现丢包现象,尽量在无业务时调整。命令:displaylink-aggregationload-sharingmode例如通过命令确认二层报文根据源/目的MAC地址及报文入端口进行聚合负载分担,三层报文根据源/目的IP地址进行聚合负载分担。在系统视图下进行全局聚合负载分担类型配置,根据报文类型、源IP、目的IP、源MAC、目的MAC、源端口、目的端口等不同的组合进行聚合负载分担。H3CdisplayIink-aggregationload-sharingmode1.ink-A
7、ggregationLoad-SharingMode:1.ayer2traffic:ingress-port,destination-macaddress,source-macaddress1.ayer3traffic:destination-以address,source-igaddress4、查看成员端口物理状态查看物理端口状态,确认端口是否UP。命令:displayinterface例如:通过命令确认物理端口是否UP。displayinterfaceGigabitEthernet1/0/1GigabitEthemet1/0/1currentstate:UP5、检查物理链路当端口物理状态不
8、UP时,根据端口类型查自协商、光功率,替换端口、网线、光纤模块。参考以太网口故障排查。6、检查成员端口数量检查链路聚合组成员端口数量,可通过端口替换操作排查可聚合端口数目是否超限制。命令:displaylink-aggregationsummary例如:查看BAGG3选中端口数为8未选中端口为1。断开任一选中端口,未选中端口即变为选中状态,避免业务运行时调整成员端口数量。displaylink-aggregationSUlrenaryAggregationInterfaceType:BAGG-Bridge-Aggregation,RACG-Route-AggregationAggregatio
9、nRode:S-Static9D-Dynamic1.oadsharingType:Shar-Loadsharin,NonS-Non-LoadsharinActorSysteDID:0x8000,0023-893b-7085AGGAGGPartnerIDSelectgwg.tInterfaceIodePortsPortsShareTypeBMX3Snone81Shar7、查看是否动态聚合查看链路聚合组类型。命令:displaylink-aggregationsummary例如:通过命令查看二层链路聚合组BAGGl为静态聚合,BAGG2为动态聚合。displaylink-aggregationSU
10、lnKaryAggregationInterfaceType:BAGG-Bridge-Aggregation,RAGG-Route-AggregationAggregationHode:SStatic,DDynnmc1.oadsharingType:Shar-Loadsharing,NonS-Nan-LoadsharingActorSystenID:0x8000,0023-93b-7085AGGInterfaceXodePartnerIDSelectUnSeleCtShareTypePortsPortsBAGGlSnone20vBAGG2D0x8000,0023-896a-208a20Shar
11、8、检查本端及对端成员端口配置检查本端物理接口与对端物理口配置是否一致检查物理口与逻辑口配置是否一致。命令:displaycurrent-configurationinterface例如:通过命令确认本端选中端口G1O3和G1/0/4配置一致,并与对端保持一致。H3Cdisplaycurrent-configurationinterfacegl/0/3#interfaceGigabitEthemet1/0/3portlink-modebridgepartlinkZiggregatiangroup2#returnH3Cdisplaycurrent-configurationinterfacegl
12、/0/44interfaceGigabitEtheme11/0/4portlink-modebridgeportlinkaggregationgrot29、检查端口收发LACP数量检查本端口和对端端口LACP报文收发数量。命令:displaylink-aggregationmember-port例如:通过命令显示检查聚合成员端口LACP数量是否增长。通过resetIacpStatiStiCS清除所有成员端口上的LACP统计信息。H3Cdisplay1ink-aggregationmember-portFlags:A-LACP_Activity,B-LACP_Tiineout,C-Aggrega
13、tion,D-Synchronization,E-Collecting,F-Distributing,G-Defaulted,H-ExpiredGigabitEthernet1/0/3:AggregationInterface:Bridge-Aggregation2ReceivedLACPPackets:18packet(s)Illegal:0packet(s)SentLACPPackets:41packet(s)GigabitEthernet1/0/4:AggregationInterface:BridgLAggregatiOn2ReceivedLACPPackets:17packet(s)
14、Illegal:0packet(s)SentLACPPackets:43packet(s)10、检查本端成员端口配置静态聚合时务必保证各物理端口配置一致,且物理端口与聚合逻辑口配置一致。命令:displaycurrent-configurationinterface例如:通过命令显示检查链路聚合组逻辑口和聚合组的配置,确认保持一致。displaycurrent-configurationinterfaceBridge-Aggregation1#interfaceBridge-Aggregationl#returndisplaycurrent-configurationinterfaceGigabitEthemet1/0/1#interfaceGigabitEthernet1/0/1portlink-nodebridgeportlink-t!ggrcgatingro1#displaycurrent-configurationinterfaceGigabiTEthernet1/0/2#interfaceGigabitEthernct1/0/2portlink-inodebridgeportlinkaggregationgroi1#