排錯小技巧

 1. 判斷以太端口故障 ide

 
  對於以太端口故障的診斷,能夠用show interface fastFastethernet 0/0(對於以太端口0的診斷)命令,它用來檢查一條鏈路的狀態,可能出現的結果以下: 
 
  若是以太網端口工做正常,則出現以下顯示:Fastethernet 0/0 is up, line protocol is up; 
 
  若是存在鏈接故障,好比路由器未接到LAN上,則出現:Fastethernet 0/0 is up, line protocol is down; 
 
  若是接口出現故障,則出現:Fastethernet 0/0 is down, line protocol is down (disable) ; 
 
  接口被人爲地關閉,則出現:Fastethernet 0/0 is administratively down, line protocol is down; 
 
  此外,當懷疑端口有物理性故障時,可用show version命令,該命令將顯示出物理性正常的端口,而出現物理性故障的端口將不被顯示出來。 
 
  2. 判斷同步串行端口故障 
 
  咱們能夠用show interface serial 0/0命令檢查一條鏈路的狀態,如出現Serial 0/0 is up, line protocol is up字樣,則表示工做正常;如出現serial 0/0 is up, line protocol is down字樣,則表示端口無物理故障,但上層協議未通(IP、IPX、X25等,此時應查看路由器的配置命令,檢查地址是否匹配);如出現Serial 0/0 is down, line protocol is down (disable) 字樣,則表示端口出現物理性故障,此時應更換端口;如出現Serial 0/0 is down, line protocol is down字樣,則表示DCE設備(Modem/DTU)未送來載波/時鐘信號;如出現Serial 0/0 is administratively down, line protocol is down字樣,則表示接口被人爲地關閉,可在配置狀態中interface_mode下去掉shutdown命令。 
相關文章
相關標籤/搜索