2017年2月胡慎余故障经验排错法排除网络故障除了扎实的理论知识,还需要经验的积累故障经验排错(1)先看症状。(2)列出引起该症状的尽可能多的原因。(3)然后针对每个原因进行排查。(4)找到原因。(5)解决问题。故障分层排除法故障分层排除法1)自下而上故障排除法:2)自上而下故障排除法:3)分层故障排除法:故障分段排除法排除故障无法确定故障点时,可以采用分段排除法1.按二层互联分段排除故障2.按三层互联分段排除故障3.按路由分段排除故障城域网基本拓扑1.查看是否学习到MAC2.查看是否上下放通VLAN3.组播VLAN配置4.组播二层转发表项5.专线查看网关配置6.专线查看ARP7.专线路由发布8.核心路由器查看路由IPIP-PREFIXSTATIC_ROUTEINDEX131PERMIT120.234.41.5230IPIP-PREFIXSTATIC_ROUTEINDEX132PERMIT120.234.41.5629IPIP-PREFIXSTATIC_ROUTEINDEX140PERMIT120.234.41.6428IPIP-PREFIXDIRECT_ROUTEINDEX10PERMIT183.233.78.6830IPIP-PREFIXDIRECT_ROUTEINDEX20PERMIT183.233.78.6030IPIP-PREFIXDIRECT_ROUTEINDEX30PERMIT183.238.13.15630IPIP-PREFIXDIRECT_ROUTEINDEX50PERMIT183.238.22.19230IPIP-PREFIXDIRECT_ROUTEINDEX60PERMIT183.238.11.030IPIP-PREFIXDIRECT_ROUTEINDEX100PERMIT183.238.148.16430IPIP-PREFIXDIRECT_ROUTEINDEX110PERMIT120.197.110.112309.BRAS查看WLAN故障10.AC查看WLAN故障查看AP在线情况查看模板配置wlanservice-template1clearssidCMCC-WEBbindWLAN-ESS1clientmax-count124user-isolationenableservice-templateenableinterfaceWLAN-ESS1descriptionTO-[CMCC-WEB]portaccessvlan1010interfaceVlan-interface1010descriptionTO-[CMCC-ShengPortal]undoipv6ndrahaltipv6ndautoconfigmanaged-address-flagipv6ndautoconfigother-flagipv6address2409:88A9:8401:8001:0:1:0:1/96ipaddress10.61.0.1255.255.240.0portalcontrol-modemacportalservergmcc-mac-portalmethoddirectportalserveripv6methoddirectportalnas-id5019075520000460portalnas-port-typewirelessportalnas-ip120.196.170.64access-userdetecttypearpretransmit5interval60portalmac-triggerenableperiod60threshold1024ipv6dhcpserverapplypool1查看用户网关配置替换排除法1.替换光模块2.替换尾纤3.替换板卡4.替换CFCARD5.替换IP地址6.替换接口数据比较法1.配置比较2.端口信息比较3.Debug信息比较故障处理流程图华为设备信息采集命令disdevice查看板卡简要信息和状态华为设备信息采集命令disdevicepic-status查看子卡简要信息和状态华为设备信息采集命令diselabel查看板卡详细信息华为设备信息采集命令disint端口类型端口号查看端口信息和状态华为设备信息采集命令distransceiverint端口类型端口号[ver]交换机设备查看端口光功率华为设备信息采集命令disvlanvlanid交换机设备查看vlan华为设备信息采集命令disportvlan端口类型端口号交换机设备查看端口vlan关联信息华为设备信息采集命令disarpint端口类型端口号查看接口ARP缓存表华为设备信息采集命令resetarpint端口类型端口号清空接口ARP缓存表华为设备信息采集命令disvrrpint端口类型端口号查看端口VRRP信息和状态华为设备信息采集命令disvrrpbindingadmin-vrrpinterface端口类型端口号查看绑定管理VRRP接口专线华为设备信息采集命令disdomain查看BRAS域名用户在线信息华为设备信息采集命令disaccess-userint端口类型端口号查看接口在线用户信息华为设备信息采集命令disaaaonline-rail-recordint端口类型端口号查看接口用户认证失败信息华为设备信息采集命令disaaaabnormal-offline-recordint端口类型端口号查看接口用户异常下线信息华为设备信息采集命令disnatsessiontablesourceinside用户IP查看用户NAT转换信息华为设备信息采集命令disnataddress-usageinstanceinstance-nameaddress-groupgroup-id查看用户NAT地址池使用率华为设备信息采集命令disnatstatisticsaddress-pool-usage查看所有的NAT地址使用率华为设备信息采集命令disnatstatisticspayload查看用户NAT地址池负荷GDSZH-MS-IPMAN-BRAS01-BT-HWdisnatstatisticspayloadThisoperationwilltakeafewminutes.Press'Ctrl+C'tobreak...Slot:6Engine:0currentreceivepacketspeed(pps):1655863currentreceivepacketbitspeed(bps):10662311088currenttransmitpacketspeed(pps):1648954currenttransmitpacketbitspeed(bps):10653392544currentfirstpacketspeed(pps):10795currentfirstpacketbitspeed(bps):1186136currentreversefirstpacketspeed(pps):1886currentreversefirstpacketbitspeed(bps):1824204historicalmaximumreceivepacketspeed(pps):5674190historicalmaximumreceivepacketspeedtime:2017-02-1204:28:36historicalmaximumreceivepacketbitspeed(bps):26678791656historicalmaximumreceivepacketbitspeedtime:2017-02-2521:45:37historicalmaximumtransmitpacketspeed(pps):4293992historicalmaximumtransmitpacketspeedtime:2017-02-2521:45:37historicalmaximumtransmitpacketbitspeed(bps):26659051000historicalmaximumtransmitpacketbitspeedtime:2017-02-2521:45:37华为设备信息采集命令disip-poolpool-usage[domaindomain-name]/[all]/[pool-namepool-name]查看用户地址池使用率华为设备信息采集命令disippool[namepool-name]/[all]/[conflict]/[idle]/[reserved]/[used]/[static-bind]查看dhcp地址池IP等相关信息GDSZH-MS-IPMAN-BRAS01-BT-HWdisippoolnamepppoe_nat_privatePool-Name:pppoe_nat_privatePool-No:65Pool-constant-index:-Lease:3Days0Hours0MinutesFrameip-Lease-Manage:disableNetBiosType:N-NodeAutorecycle:30Option3:EnableDNS-Suffix:-Dom-Search-List0:-Dom-Search-List1:-Dom-Search-List2:-Dom-Search-List3:-Option-Code125:enterprise-code:2011,string:-DNS1:120.196.165.24DNS2:211.136.192.6Position:LocalStatus:UnlockedRUI-Flag:-Attribute:PrivateGateway:172.20.0.1Mask:255.255.0.0Vpninstance:--Unnumberedgateway:-Profile-Name:-Server-Name:-TotalIdle:37836HaveDhcpIP:1Timeouts:0TimeoutCount:0SubOptionCount:0OptionCount:0Force-replyCount:0Codes:CFLCT(conflicted)---------------------------------------------------------------------------------------IDstartendtotalusedidleCFLCTdisablereservedstatic-bind---------------------------------------------------------------------------------------0172.20.0.2172.20.255.2546553327697378360000华为设备信息采集命令disradius-serverconfiguration[groupradiusgroup_name查看不同业务的radius服务器状态信息华为设备信息采集命令disisispeer查看ISIS邻居信息华为设备信息采集命令disisisint查看ISIS接口信息华为设备信息采集命令disbgppeer查看bgp邻居信息华为设备信息采集命令displaybgprouting-tablepeeripv4-addressadvertised-routes显示给指定邻居发布的路由华为设备信息采集命令displaybgprouting-tablepeeripv4-addressreceived-routes显示从指定邻居接收的路由华为设备信息采集命令dismplsldppeer查看mplsldp邻居状态华为设备信息采集命令dismplsldpremote-peer查看mplsldp远端邻居状态信息华为设备信息采集命令dismplsl