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