【正文】
nds: accessenable Create a temporary AccessList entry atmsig Execute Atm Signalling Commands cd Change current device clear Reset functions connect Open a terminal connection dir List files on given device disable Turn off privileged mands disconnect Disconnect an existing work connection enable Turn on privileged mands exit Exit from the EXEC help Description of the interactive help system lat Open a lat connection lock Lock the terminal login Log in as a particular user logout Exit from the EXEC More 169。undebug39。 1999, Cisco Systems, Inc. UTStar226 路由器命令行幫助機(jī)制 上下文關(guān)聯(lián)幫助 錯(cuò)誤信息提示 指出所輸入交換機(jī)命令的錯(cuò)誤所在,以便于修改或糾正 . 可以重新調(diào)出一個(gè)較長(zhǎng)或較復(fù)雜的命令或其它內(nèi)容,用來(lái)再次運(yùn)行、查看或修改 . 之前命令保存區(qū) 提供命令清單和與特定命令相關(guān)聯(lián)的參數(shù) . 169。 1999, Cisco Systems, Inc. UTStar228 路由器的上下文相關(guān)聯(lián)幫助 (續(xù) ) Router clok Translating CLOK % Unknown mand or puter name, or unable to find puter address Router clear clock Router % Inplete mand. Router set Set the time and date Router % Inplete mand. Router hh:mm:ss Current Time Router clock set 19:56:00 % Inplete mand. Router clock set 19:56:00 ? 131 Day of the month MONTH Month of the year Router clock set 19:56:00 04 8 ^ % Invalid input detected at the 39。 marker Router clock set 19:56:00 04 August % Inplete mand. Router clock set 19:56:00 04 August ? 19932035 Year ? 命令提示 ? 語(yǔ)法檢查 ? 命令提示 169。 1999, Cisco Systems, Inc. UTStar230 Router$ future of interworking by creating unprecedented op 使用增強(qiáng)的編輯命令 (一行中長(zhǎng)字串會(huì)自動(dòng)滾卷 ). 169。 1999, Cisco Systems, Inc. UTStar232 Router$ value for customers, employees, and partners. 使用增強(qiáng)的編輯命令 (一行中長(zhǎng)字串會(huì)自動(dòng)滾卷 ). CtrlA 光標(biāo)移動(dòng)到命令行的開始位置 . CtrlE 光標(biāo)移動(dòng)到命令行的結(jié)束位置 . 169。 1999, Cisco Systems, Inc. UTStar234 使用增強(qiáng)的編輯命令 (一行中長(zhǎng)字串會(huì)自動(dòng)滾卷 ). CtrlA 光標(biāo)移動(dòng)到命令行的開始位置 . CtrlE 光標(biāo)移動(dòng)到命令行的結(jié)束位置 . EscB 回移一個(gè)單詞 . CtrlF 下移一個(gè)字符 . Router$ value for customers, employees, and partners. 169。 1999, Cisco Systems, Inc. UTStar236 使用增強(qiáng)的編輯命令 (一行中長(zhǎng)字串會(huì)自動(dòng)滾卷 ). CtrlA 光標(biāo)移動(dòng)到命令行的開始位置 . CtrlE 光標(biāo)移動(dòng)到命令行的結(jié)束位置 . EscB 回移一個(gè)單詞 CtrlF 下移一個(gè)字符 . CtrlB 回移一個(gè)字符 . EscF 下移一個(gè)單詞 Router$ value for customers, employees, and partners. 169。 1999, Cisco Systems, Inc. UTStar238 CtrlP or Up arrow 調(diào)出最近 (前一 )使用過(guò)的命令 CtrlN or Down arrow 調(diào)出更近使用過(guò)的命令 Router show history 顯示命令保存區(qū)內(nèi)容 Router terminal history size lines 設(shè)置命令保存區(qū)大小 回覽之前用過(guò)的命令 169。 1999, Cisco Systems, Inc. UTStar240 查看配置情況 控制臺(tái) IOS Setup utility show startupconfig show runningconfig 將配置參數(shù)保存到 NVRAM中 Config Config RAM NVRAM 169。 1999, Cisco Systems, Inc. UTStar242 路由器模式一覽 Router(config) Routerenable Routerconfig term Exit CtrlZ (end) 用戶模式 特權(quán)模式 全局配置模式 配置模式 模式提示 Interface Router(configif) Subinterface Router(configsubif) Controller Router(configcontroller) Line Router(configline) Router Router(configrouter) IPX router Router(configipxrouter) 169。 1999, Cisco Systems, Inc. UTStar244 配置路由器的各種標(biāo)識(shí) 為路由器或其端口設(shè)置標(biāo)識(shí)或信息 路由器名 Router(config)hostname agan agan(config) 開機(jī)時(shí)的固定顯示信息 Agan(config)banner motd Accounting Department You have entered a secured system. Authorized access only! 169。 1999, Cisco Systems, Inc. UTStar246 Router(config)line console 0 Router(configline)login Router(configline)password cisco 控制臺(tái)密碼 虛擬終端密碼 Router(config)line vty 0 4 Router(configline)login Router(configline)password richagan 路由器密碼配置 169。 1999, Cisco Systems, Inc. UTStar248 Router(config)interface type number Router(configif) 端口配置 ? type 包括 serial, ether, token ring, fddi, hssi, loopback, dialer, null, async, atm, bri, and tunnel ? number 用來(lái)識(shí)別具體的單個(gè)端口 Router(configif)exit ? 從當(dāng)前端口配置模式退出 Router(config)interface type slot/port Router(configif) ? 模塊化端口的表示法 169。 1999, Cisco Systems, Inc. UTStar250 配置串口 進(jìn)入全局配置模式 Router(configif)clock rate 64000 Router(configif) Router(config)interface serial 0 Router(configif) Routerconfigure term Router(config) Router(configif)bandwidth 64 Router(configif)exit Router(config)exit Router 指定某個(gè)端口 設(shè)置時(shí)鐘頻率 (只在 DCE端 ) 調(diào)協(xié)波特率 (建議 ) 169。 Total output drops: 0 Queueing strategy: weighted fair Output queue: 0/1000/64/0 (size/max total/threshold/drops) Conversations 0/1/256 (active/max active/max total) Reserved Conversations 0/0 (allocated/max allocated) 5 minute input rate 0 bits/sec, 0 packets/sec 5 minute output rate 0 bits/sec, 0 packets/sec (output omitted) 確認(rèn)參數(shù)修改情況 169。 1999, Cisco Systems, Inc. UTStar253 路由器的 show interfaces 命令 Routershow interfaces Ether0 is up, line protocol is up Hardware is Lance, address is (bia ) Inter address is MTU 1500 bytes, BW 10000 Kbit, DLY 1000 usec, rely 255/255, load 1/