『Troubleshooting的系統方法』 STEP1: Define the PRoblem you are eXPeriencing
STEP2: Gather relevant facts about the situation
STEP3: Consider the possibilities.Use the information you have and your knowledge of Cisco prodUCts to isolate the problem
STEP4: Formulate an action plan to solve this problem
STEP5: Implement your action plan and attempt to fix the problem
STEP6: What were the resuls of your implementation?Did it fix the problem?List your results and observations below
STEP7: If you solution did not fix the problem,repeat the process again.If your solution did fix the problem,ducoment your fix below
請牢記上面的系統排錯程序,進行下面的TroubleShooting練習。
CASE Ⅰ: 實驗拓撲: 描述: 某公司核心運行的是OSPF路由協議。如上述實驗拓撲所示,核心路由CORE的所有端口都屬于OSPF Area 0。公司的兩個分支機構Branch1、Branch2,由于設備陳舊,只能運行Rip路由協議,并最終接入公司核心網絡。(每個分支機構下,還有多個部門,因此有多個網段,在實驗中我們使用loopback端口來模擬這些網段。)
下面以CASE Ⅰ為例,用cisco的TroubleingShooting的系統方法進行排錯。 步驟一. 經驗判定(Define the problem you are experiencing) 公司總部的用戶不能連接兩個分支機構的任何一臺服務器及主機,由此判定這不是工作站出現故障造成的。
步驟二.
收集路由相關信息(Gather relevant facts about the situation.) 登陸CORE路由器,測試基本的連通性。 1.Ping命令檢查Branch的WAN、LAN接口: 2.檢查CORE的路由表 CORE#show ip route 發現沒有任何RIP網段的路由信息。 步驟三. 故障定位(Consider the possibilities.Use the information you haveyou’re your knowledge of Cisco products to isolate the problem.) 故障與routing protocol有關,可能是RIP路由信息沒有被重發布到OSPF域中。
步驟四. 提出解決方案(Formulate an action plan to solve this problem) 獲得更多其它路由信息,檢查重發布是否正確配置
步驟五. 實施方案,記錄所有的更改(Implement your action plan and attempt to fix the problem.Log all changes made.remember!) 使用show ip interface brief show ip route show ip protocols show ip ospf database 發現是由于RIP網絡的子網信息沒有發布到OSPF域中,因為在ospf redistribute命令行中少了subnets的要害字。 修改路由配置: Branch1(config)#router ospf 1 Branch1(config-router)#redistribute rip subnets
步驟六. 檢查修改配置后的結果是否解決故障(What were the resuls of your implementation?Did it fix the problem?List your results and observations below) 使用show ip route Ping