show,ping,trace&debug 命令

show命令:
show interface---顯示接口統計信息.
一些常用的show interface命令:

show interface ethernet
show interface tokenring
show interface serial

show controllers---顯示接口卡控制器統計信息.

一些常用的show controllers命令:

show controllers cxbus

show controllers e1

show running-config---顯示當前路由器正在運行的配置.

show startup-config---顯示存在NVRAM配置.

show flash---Flash memory內容.

show buffers---顯示路由器中buffer pools統計信息.

show memory---路由器使用內存情況的統計信息,包括空閒池統計信息.

show processes---路由器活動進程信息.

show version---顯示系統硬件,軟件版本,配置文件和啓動的系統映象.

用 debug 命令

在超級用戶模式下的debug命令能夠提供端口傳輸信息,節點產生的錯誤消息,診斷

協議包和其它有用的troubleshooting數據.

注意:使用debug命令要注意,它會佔用系統資源,引起一些不可預測現象.終止使

用debug命令請用no debug all命令.

Debug命令默認是顯示在控制檯端口上的,可用log buffer命令把輸出定向到buff

ers裏面.若是telnet過去的,可用Router#terminal monitor監控到控制檯信息.

用ping命令

Ping確定網絡連通.

用 trace 命令

Trace命令跟蹤路由器包傳輸.

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章