show,ping,trace and debug 命令介紹
show命令: show interface---顯示接口統(tǒng)計信息. 一些常用的show interface命令:
show interface ethernet show interface tokenring show interface serial
show controllers---顯示接口卡控制器統(tǒng)計信息.
一些常用的show controllers命令:
show controllers cxbus
show controllers e1
show running-config---顯示當前路由器正在運行的配置.
show startup-config---顯示存在NVRAM配置.
show flash---Flash memory內(nèi)容.
show buffers---顯示路由器中buffer pools統(tǒng)計信息.
show memory---路由器使用內(nèi)存情況的統(tǒng)計信息,包括空閑池統(tǒng)計信息.
show processes---路由器活動進程信息.
show version---顯示系統(tǒng)硬件,軟件版本,配置文件和啟動的系統(tǒng)映象.
用 debug 命令
在超級用戶模式下的debug命令能夠提供端口傳輸信息,節(jié)點產(chǎn)生的錯誤消息,診斷
協(xié)議包和其它有用的troubleshooting數(shù)據(jù).
注意:使用debug命令要注意,它會占用系統(tǒng)資源,引起一些不可預測現(xiàn)象.終止使
用debug命令請用no debug all命令.
Debug命令默認是顯示在控制臺端口上的,可用log buffer命令把輸出定向到buff
ers里面.若是telnet過去的,可用Router#terminal monitor監(jiān)控到控制臺信息.
用ping命令
Ping確定網(wǎng)絡連通.
用 trace 命令
Trace命令跟蹤路由器包傳輸. |
|