【正文】
t want to configure BRI. [1] basic1tr6....1TR6 switch type for Germany [2] basic5ess....ATT 5ESS switch type for the US/Canada [3] basicdms100..Northern DMS100 switch type for US/Canada [4] basic3....NET3 switch type for UK and Europe [5] basicni......National ISDN switch type [6] basicts013...TS013 switch type for Australia [7] ntt...........NTT switch type for Japan [8] vn3...........VN3 and VN4 switch types for France Choose ISDN BRI Switch Type [2]: Configuring interface parameters: Do you want to configure BRI0 (BRI dchannel) interface? [no]: Do you want to configure Ether0 interface? [no]: y Configure IP on this interface? [no]: y IP address for this interface: Sub mask for this interface [] : Class A work is , 24 sub bits。 for help. Use ctrlc to abort configuration dialog at any prompt. Default settings are in square brackets 39。) delete Delete a file dir List files on a filesystem disable Turn off privileged mands disconnect Disconnect an existing work connection enable Turn on privileged mands erase Erase a filesystem exit Exit from the EXEC help Description of the interactive help system More 路由器在特權模式下的命令清單 只要輸入部分命令串 (唯一表示某個命令 ),緊接著按 tab鍵就可以完整地輸入一個命令 路由器命令行幫助機制 上下文關聯(lián)幫助 錯誤信息提示 指出所輸入交換機命令的錯誤所在,以便于修改或糾正 . 可以重新調(diào)出一個較長或較復雜的命令或其它內(nèi)容,用來再次運行、查看或修改 . 之前命令保存區(qū) 提供命令清單和與特定命令相關聯(lián)的參數(shù) . 路由器的上下文相關聯(lián)幫助 Router clok Translating CLOK % Unknown mand or puter name, or unable to find puter address Router cl? clear clock Router clock % Inplete mand. Router clock ? set Set the time and date Router clock set % Inplete mand. Router CtrlPclock set ? hh:mm:ss Current Time ? 符號解析 ?命令提示 ?調(diào)出最近用過的內(nèi)容 路由器的上下文相關聯(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。[ ]39。 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) 確認參數(shù)修改情況 以太網(wǎng)的 mediatype 命令 Router(config)interface ether 2 Router(configif)mediatype 10baset 為以太網(wǎng)端口選擇適當?shù)慕橘|(zhì)類型 開啟或關閉端口 Routerconfigure term Router(config)interface serial 0 Router(configif)no shutdown %LINK3UPDOWN: Interface Seria0, changed state to up %LINEPROTO5UPDOWN: Line Protocol on Interface Serial0, changed state to up 開啟已經(jīng)關閉的端口 Routerconfigure term Router(config)interface serial 0 Router(configif)shutdown %LINK5CHANGED: Interface Serial0, changed state to administratively down %LINEPROTO5UPDOWN: Line protocol on Interface Serial0, changed state to down 人工關閉端口 路由器的 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/255 Encapsulation ARPA, loopback not set, keepalive set (10 sec) ARP type: ARPA, ARP Timeout 04:00:00 Last input 00:00:07, output 00:00:08, output hang never Last clearing of show interface counters never Queueing strategy: fifo Output queue 0/40, 0 drops。本章目標 通過本章的學習,您應該掌握以下內(nèi)容 : ? 開啟交換機和路由器并觀察其啟動過程 ? 注意交換機的出廠初始配置情況,完成路由器的初始參數(shù)配置 ? 在網(wǎng)絡設備上進入并辨識不同的命令模式 本章目標 (續(xù) ) ? 在不同的用戶界面下應用各種幫助和命令行編輯功能 ? 查看并確認并于各網(wǎng)絡設備的基本信息 Cisco IOS 軟件提供多種網(wǎng)絡服務進而支持各種網(wǎng)絡應用 . Cisco 互連網(wǎng)操