1 / 90

中低端网络产品 常见故障排错

中低端网络产品 常见故障排错. 交换接入技术支持北京分部. 课程介绍 故障排错整体思路 故障定位常用命令和工具 故障相关信息查看及分析 典型案例分析. 目 录. 不是故障案例的穷举、罗列. 课程介绍(一). 哪些常见故障. 会有什么收获. 课程介绍(二). 故障排错的总体思路和方法 常见类型故障排错的方式和手段 典型、常见案例分析. 课程介绍 故障排错整体思路 故障定位常用命令和工具 故障相关信息查看及分析 典型案例分析. 目 录. 经验. 理论分析. 故障点定位. 故障信息搜集. 故障现象观察. 故障排错实施步骤.

Download Presentation

中低端网络产品 常见故障排错

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. 中低端网络产品 常见故障排错 交换接入技术支持北京分部

  2. 课程介绍 故障排错整体思路 故障定位常用命令和工具 故障相关信息查看及分析 典型案例分析 目 录

  3. 不是故障案例的穷举、罗列 课程介绍(一) 哪些常见故障

  4. 会有什么收获 课程介绍(二) 故障排错的总体思路和方法 常见类型故障排错的方式和手段 典型、常见案例分析

  5. 课程介绍 故障排错整体思路 故障定位常用命令和工具 故障相关信息查看及分析 典型案例分析 目 录

  6. 经验 理论分析 故障点定位 故障信息搜集 故障现象观察 故障排错实施步骤

  7. 阶 段 要 点 故障现象观察 • 全面、仔细 故障信息搜集 • 基本信息 • display current-configuration • display version • 相关信息 • display interface、display ip routing等 • 信息的全面性 • 单点无法构成网络 • 双边或多边的互联互通 • 全局思维

  8. 搜集故障信息 排除各种配置错误 认为配置是正确的 查阅相关资料 查看相关的状态及信息 问题解决 经验判断及理论分析 找到故障原因 寻求技术支持 OK,问题解决 故障排错流程图 能否对配置的正确性作出判断 否 是 否 是 是 否 是 否

  9. 故障分类 物理硬件故障 外部线路、传输故障 数据配置故障 设备缺陷、软件故障 设备兼容性故障

  10. 数据配置故障 • 绝大部分的情况 • 不知道配置是否正确 • 感觉配置是正确的,其实不然

  11. 书中自有黄金屋 书中自有............ 能否对配置的正确性作出判断 • 整个排错的知识基础 • 操作手册、命令手册 • 协议、技术原理 配置正确性分析

  12. 查看相关的状态及信息 • 需要查看哪些信息 • 相关的信息 • 例如display interface、display ip routing等 经验判断及理论分析 • 对信息的深入分析 • 信息如何去看、去分析-了解隐藏在信息背后的含义 • 以往案例的比较 • FAQ、技术案例--从网站寻求支持forum.huawei-3com.com • 协议、原理的综合运用 • 知识就是力量 关键点分析

  13. 故障排错总体方法 分层定位方法 • 网络的逻辑层次 • 物理连接、链路协商、网络路由 分段定位方法 • 网络的空间结构 • A——B——C——D • A——B,B——A 两种方法有机结合、综合运用

  14. 课程介绍 故障排错整体思路 故障定位常用命令和工具 故障相关信息查看及分析 典型案例分析 目 录

  15. 常用命令和工具 display-望闻问切 debug-检验分析 ping-投石问路 tracert-无悔追踪 reset counters-云开雾散

  16. disp curr disp ver disp interface disp ip routing disp ospf error . .. ... display命令

  17. debug ppp packet debug ppp event debug ip packet debug ospf packet . .. ... debug——命令种类

  18. Debug信息的输出 debug——信息输出 info-center enable • 打开信息中心输出 [router]info-center console [router]info-center console debug • 输出到Console终端 [router]info-center monitor [router]info-center monitor debug • 输出到Telnet终端 [router]debugging ppp packet • 此处以调试链路层协议ppp数据包为例

  19. 不要轻易使用 • 绝大多数故障可以通过使用display命令定位 • 不要把简单的事情搞复杂 debug——使用分析 分析Debug信息,可以 • 帮助定位配置错在哪里 • 顺藤摸瓜 • 加深对协议的了解 • 自我学习

  20. ping命令 从哪里开始ping • ICMP Echo Request包的源地址 • ICMP Echo Reply包的目的地址 ping到什么地方去 • ICMP Echo Request包的目的地址 • ICMP Echo Reply包的源地址 关注路由 • 去的方向 • 回来的方向

  21. tracert命令 大致定位网络故障点 每一跳返回的地址 • 该跳设备的一个接口地址

  22. reset counters命令 quidway#reset counters interface • 清空所有(指定)端口的统计信息 • 排除以前累积数据的干扰 • 常用于定位链路协议故障

  23. 网络抓包工具 netxray • 对报文进行“解剖” • 微观分析 注:利用抓包工具进行抓 包时,要注意用HUB

  24. 课程介绍 故障排错整体思路 故障定位常用命令和工具 故障相关信息查看及分析 典型案例分析 目 录

  25. 相关信息查看及分析 广域网联调故障 • PPP、HDLC 路由协议故障 • OSPF、RIP 以太网故障 • VLAN

  26. S0 S0 PPP/HDLC/X25/FR RTB RTA 广域网组网模型

  27. 接口信息查询 disp interface [端口号] • 数据包收发通过接口 • 最基本、最常用的查询命令 • 信息量丰富 disp controller E1 [端口号] • E1接口的相关参数配置

  28. 3640#disp int s 0 Serial0 is up, line protocol is up physical layer is synchronous interface is DTE, clock is DTECLK3, cable type is V35 Internet address is 10.98.143.137 255.255.255.252 Encapsulation is PPP LCP opened, IPCP opened, IPXCP initial, CCP initial Description: TO 2630 5 minutes input rate 2.69 bytes/sec, 0.20 packets/sec 5 minutes output rate 2.74 bytes/sec, 0.20 packets/sec Input queue :(size/max/drops) 0/50/0 Queueing strategy: FIFO Output Queue :(size/max/drops) 0/50/0 5201 packets input, 65656 bytes, 0 no buffers 5211 packets output, 67028 bytes, 0 no buffers 15 input errors, 12 CRC, 2 frame errors 0 overrunners, 1 aborted sequences, 0 input no buffers DCD=UP DTR=UP DSR=UP RTS=UP CTS=UP 查看串口的相关信息

  29. 端口的两个状态 Serial0 is up, line protocol is up 端口的物理状态 • V35、V24串口 • 串口到基带Modem之间的信号交互 • E1接口 • E1接口到传输设备之间的信号交互 端口的协议状态 • 与对端设备之间链路协议协商的结果

  30. 端口的物 理层UP 端口的链 路协议UP 端口正常转 发数据包 为什么出现物理口Up、协议Down这种不一致的现象 两个状态的关系 前者是后者的必要条件,不是充分条件!

  31. 指示灯状态 • LINK灯 • RLOS灯 • 4001路由器 DCD=UP DTR=UP DSR=UP RTS=UP CTS=UP • 路由器端口与基带Modem之间的信号交互 • DTE设备与DCE设备之间的信号交互 物理口DOWN • 线缆问题 基带Modem问题

  32. 双方协商不成功 • 配置的正确性 • 相关参数是否一致 • 不同厂商设备对接 • 双方收发包是否正常 • 能否收到包 • 是否是错误的包 链路协议DOWN(一) • 配置问题 物理传输问题

  33. 利用统计信 息分析问题 端口统计信息——含义 5201 packets input • 端口的收包数量 5211 packets output • 端口的发包数量 15 input errors, 12 CRC, 2 frame errors 端口收到错误包的数量

  34. 端口统计信息——分析 收到错误的包 • 数量较多 • 不断增长 • 检查物理线路、误码率 • 光口是否干净 链路协议协商 • 收、发包数量大致相等 • 如果两个数字相差悬殊 • 首先检查外部因素 连续多次查看 • 数字的动态变化 reset counters interface命令 • 排除干扰 全面地看 • 两端设备接口信息结合起来分析

  35. 适用于任何链路层协议 最常使用、最有效 端口统计信息——作用 综合分析端口统计信息 • 排除路由器自身的因素 • 加快问题定位速度 • 线缆故障 • 传输质量差

  36. LCP opened, IPCP opened PPP协议的两个状态——含义 LCP——链路层协商 • MRU、验证、魔术字 IPCP——网络层协商 • 协议类型、地址 IPCP OPEN LCP OPEN 前者是后者的必要条件,不是充分条件!

  37. LCP不OPEN • 端口统计信息方法 • 外部因素 • 验证通不过 • 检查配置 • 出现自环 • Loopback is set LCP OPEN,但IPCP不OPEN • 地址配置问题 PPP协议的两个状态——常见现象

  38. 配置正确性检查——PPP 验证的配置 • PAP验证、CHAP验证 双方IP地址的配置 • 一端配置地址协商,另外一端没有分配IP

  39. 配置正确性检查——HDLC Keepalive参数的配置 • 一端打开、一端关闭 • Quidway默认为打开 • 关闭的一端协议始终为UP • 两边时间不一致 • Quidway默认为10秒 • 时间短的一侧有可能频繁UP、DOWN

  40. LAC(config-if-Serial0)#disp int s 0 Serial0 is up, line protocol is up physical layer is synchronous interface is DTE, clock is DTECLK1, cable type is RS232 Encapsulation HDLC, keepalive set (10 sec) Input keepalive packages:0, Output keepalive packages:0 5 minutes input rate 0.00 bytes/sec, 0.00 packets/sec 5 minutes output rate 0.00 bytes/sec, 0.00 packets/sec Input queue :(size/max/drops) 0/75/0 Queueing strategy: FIFO Output Queue :(size/max/drops) 0/75/0 156 packets input, 12722 bytes, 0 no buffers 118 packets output, 7761 bytes, 0 no buffers 0 input errors, 0 CRC, 0 frame errors 0 overrunners, 0 aborted sequences, 0 input no buffers DCD=DOWN DTR=UP DSR=UP RTS=UP CTS=UP HDLC接口信息查询

  41. 配置正确性检查——X25 地址映射的配置 • 对端IP地址—对端121地址 其它参数的配置 • 窗口大小、呼叫区间 • 向运营商确认

  42. LAC(config-if-Serial0)#disp int s 0 Serial0 is up, line protocol is down physical layer is synchronous interface is DTE, clock is DTECLK1, cable type is RS232 Encapsulation X.25 DTE ietf, address is , state Ready, modulo 8 input/output: window sizes 2/2, packet sizes 128/128 Channels: Incoming-only 0-0, Two-way 1-1024, Outgoing-only 0-0 Timers: T20 180, T21 200, T22 180, T23 180, T28 300, Idle_Timer 0 (seconds) New configuration(will be effective after restart): modulo 8 input/output: window sizes 2/2, packet sizes 128/128 Channels: Incoming-only 0-0, Two-way 1-1024, Outgoing-only 0-0 Statistic: Restarts 0 (Restart Collisions 0) Refused Incoming Call 0, Failing Outgoing Call 0 input/output: RESTART 0/0 CALL 0/0 DIAGNOSE 0/0 DATA 0/0 INTERRUPT 0/0 Bytes 0/0 RR 0/0 RNR 0/0 REJ 0/0 Invalid Pr: 0 Invalid Ps: 0 Unknown: 0 X25接口信息查询

  43. LAPB DTE, module 8, k 7, N1 12056, N2 10 timer: T1 2000, T2 1000, T3 0 (milliseconds) state SABMSENT, VS 0, VR 0, Remote VR 0 IFRAME 0/0, RR 0/0, RNR 0/0, REJ 0/0 FRMR 0/0, SABM 0/4, DM 0/0, UA 0/0 DISC 0/0, invalid ns 0, invalid nr 0, link resets 0 5 minutes input rate 0.00 bytes/sec, 0.00 packets/sec 5 minutes output rate 0.00 bytes/sec, 0.00 packets/sec Input queue :(size/max/drops) 0/75/0 Queueing strategy: FIFO Output Queue :(size/max/drops) 0/75/0 156 packets input, 12722 bytes, 0 no buffers 118 packets output, 7879 bytes, 0 no buffers 0 input errors, 0 CRC, 0 frame errors 0 overrunners, 0 aborted sequences, 0 input no buffers DCD=DOWN DTR=UP DSR=UP RTS=UP CTS=UP X25接口信息查询(续)

  44. 配置正确性检查——帧中继 帧中继封装格式的配置 • Quidway默认为IETF LMI类型的配置 • Quidway默认为Q933a 地址映射的配置 • 对端IP—本端DLCI号

  45. LAC(config-if-Serial0)#disp int s 0 Serial0 is up, line protocol is down physical layer is synchronous interface is DTE, clock is DTECLK1, cable type is RS232 Encapsulation is FRAME-RELAY IETF LMI DLCI 0 LMI type is q933a frame relay DTE LMI status enq sent 2, status received 0 LMI status sent 0, status enq received 0 LMI status discarded 0, status enq discarded 0, status timeouts 0 5 minutes input rate 0.00 bytes/sec, 0.00 packets/sec 5 minutes output rate 0.00 bytes/sec, 0.00 packets/sec Input queue :(size/max/drops) 0/75/0 Queueing strategy: FIFO Output Queue :(size/max/drops) 0/75/0 156 packets input, 12722 bytes, 0 no buffers 118 packets output, 7913 bytes, 0 no buffers 0 input errors, 0 CRC, 0 frame errors 0 overrunners, 0 aborted sequences, 0 input no buffers DCD=DOWN DTR=UP DSR=UP RTS=UP CTS=UP 帧中继接口信息查询

  46. 如果两端E1接口与传输设备连接,一端配置为DCE如果两端E1接口与传输设备连接,一端配置为DCE 端口模式 • E1、CE1 帧校验方式(CE1) • Quidway默认为不校验 • No-CRC4 时钟选择 • CLOCK LINE:默认 • CLOCK DCE 配置正确性检查——E1接口

  47. Quidway(config)#disp con e 0 E1 0 is down. Applique type is E1 - 75 OHM unbalanced Framing is NO-CRC4, Line Code is HDB3, Source Clock is Line. E1物理端口信息查询 Quidway(config)#disp con e 0 E1 0 is down. Applique type is Channelized E1 - 75 OHM unbalanced Framing is NO-CRC4, Line Code is HDB3, Source Clock is Line. 75欧姆——120欧姆 • 转换器

  48. Quidway(config-if-e0)#disp in ser 2:0 Serial2:0 is down, line protocol is down physical layer is E1, baudrate is 2048000 bps Encapsulation is PPP LCP initial, IPCP initial, IPXCP initial, CCP initial 5 minutes input rate 0.00 bytes/sec, 0.00 packets/sec 5 minutes output rate 0.00 bytes/sec, 0.00 packets/sec Input queue :(size/max/drops) 0/75/0 Queueing strategy: FIFO Output Queue :(size/max/drops) 0/75/0 0 packets input, 0 bytes, 0 no buffers 0 packets output, 0 bytes, 0 no buffers 0 input errors, 0 CRC, 0 frame errors 0 overrunners, 0 aborted sequences, 0 input no buffers E1逻辑串口信息查询(E1)

  49. Quidway(config)#disp in ser 2:28 Serial2:28 is down, line protocol is down physical layer is E1, baudrate is 832000 bps Encapsulation is PPP LCP initial, IPCP initial, IPXCP initial, CCP initial 5 minutes input rate 0.00 bytes/sec, 0.00 packets/sec 5 minutes output rate 0.00 bytes/sec, 0.00 packets/sec Input queue :(size/max/drops) 0/75/0 Queueing strategy: FIFO Output Queue :(size/max/drops) 0/75/0 0 packets input, 0 bytes, 0 no buffers 0 packets output, 0 bytes, 0 no buffers 0 input errors, 0 CRC, 0 frame errors 0 overrunners, 0 aborted sequences, 0 input no buffers Timeslot(s) Used: 1-13 E1逻辑串口信息查询(CE1)

  50. 相关信息查询及分析 广域网联调故障 • PPP、HDLC 路由协议故障 • OSPF、RIP 以太网故障 • VLAN

More Related