路由器基本配置BasicConfigurationofRouter_第1頁
路由器基本配置BasicConfigurationofRouter_第2頁
路由器基本配置BasicConfigurationofRouter_第3頁
路由器基本配置BasicConfigurationofRouter_第4頁
路由器基本配置BasicConfigurationofRouter_第5頁
已閱讀5頁,還剩22頁未讀, 繼續(xù)免費(fèi)閱讀

下載本文檔

版權(quán)說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請進(jìn)行舉報(bào)或認(rèn)領(lǐng)

文檔簡介

1、路由器基本配置Basic Configuration of Router教學(xué)目標(biāo)( Objectives )1. 路由器功能( Function of Router )2.路由器組成(Router Components )3.超級終端會(huì)話屬性(HyperTerminal Session Properties)4. Router配置模式(Router Configuration Mode ) 5.路由器基本配置(Basic Configuration of Router)Router功能(Function of Router )Router是第三層的網(wǎng)絡(luò)設(shè)備(Router is layer 3

2、device):1. 路由選擇和交換(Routing and Switching)2. 網(wǎng)絡(luò)分段(Network Segment)3. 流量控制(Flow Control)4. 隔離廣播(Isolate Broadcast)5. 廣域網(wǎng)連接(WAN Connection)路由選擇和交換(Routing and Switching)網(wǎng)絡(luò)分段(Network Segment)廣域網(wǎng)連接(WAN Connection)路由器內(nèi)部組成(Router Internal Components )2600系列路由器內(nèi)部構(gòu)成(Internal Components of 2600 Router )2600系列

3、路由器外觀(External Connectors on 2600 Router )計(jì)算機(jī)連接到控制臺接口(Computer Connect to Console Port)在計(jì)算機(jī)上配置超級終端軟件(Configure HyperTerminal software on the PC) 超級終端會(huì)話屬性(HyperTerminal Session Properties)Router配置模式(Router Configuration Mode )1.用戶模式 (user mode) 2.特權(quán)模式 (privileged mode) # 3.全局模式 (global config mode) r

4、outer(config)# 4.子模式(sub-mode) 接口模式(interface mode): router(config-if)# 線路模式(line mode): router(config-line)# 路由模式(router mode): router(config-router)#5.Setup模式6.RXBOOT 模式7.ROMMON模式Router工作模式轉(zhuǎn)換(Change Router Configuration Mode)RouterRouterenableRouter#Router# configure terminalRouter(config)#Router(

5、config)# interface fa0/0Router(config-if)#exitRouter(config)#router ripRouter(config-router)#endRouter# disableRouter工作模式切換命令注釋( Notes of Changing Router Mode Command )進(jìn)入特權(quán)命令狀態(tài) enable 退出特權(quán)命令狀態(tài) disable 進(jìn)入設(shè)置對話狀態(tài) setup 進(jìn)入全局設(shè)置狀態(tài) config terminal 退出全局設(shè)置狀態(tài) end 進(jìn)入端口設(shè)置狀態(tài) interface type slot/number 進(jìn)入線路設(shè)置狀態(tài) l

6、ine type slot/number 進(jìn)入路由設(shè)置狀態(tài) router protocol 退出局部設(shè)置狀態(tài) exit 命名路由器(Name the Router)Router(config)#hostname Lab-A配置enable密碼(Configuring Enable Passwords ) Lab-A(config)#enable password ciscoshow runenable password cisco (明文,未加密)Results in:配置enable密碼(Configuring Enable Passwords )Lab-A(config)#enable s

7、ecret ciscoShow runenable secret 5 $1$emBK$WxqLahy7YO(密碼被加密)Results in:配置串行口(Configuring a Serial Interface )1. Rouer1 # config t2. Router1(config)# interface s0/0(serial 0)進(jìn)入串行口模式(Enter Serial Interface Mode )3. Router1(config-if)# clock rate 64000DCE端配置時(shí)鐘(Set clock rate if a DCE cable is connected

8、 )4. Router1(config-if)# ip address 192.168.100.1 255.255.255.0配置接口IP地址和網(wǎng)絡(luò)掩碼(Specify the Interface Address and Subnet Mask )5. Router1(config-if)# no shut開啟接口(Turn on the Interface )配置以太口(Configuring an Ethernet Interface )1. Router1# config t2. Router1(config)# interface fa0/0(ethernet 0)進(jìn)入以太口模式(En

9、ter Ethernet Interface Mode )3. Router1(config-if)# ip address 10.1.1.1 255.255.255.0配置接口IP地址和網(wǎng)絡(luò)掩碼(Specify the Interface Address and Subnet Mask )4. Router1(config-if)# no shut開啟接口(Turn on the Interface ) 配置接口描述(Configuring Interface Description )1. 接口描述可以幫助網(wǎng)絡(luò)用戶記住特定的關(guān)于接口的信息A description of an interf

10、ace can help a network user remember specific information about the interface.2. 描述僅僅是對接口的一個(gè)標(biāo)記。The description is meant solely as a comment about the interface. Eg1 interface fa0/0description LAN Engineering, Bldg.2Eg2 interface serial 0/0description ABC network 1, Circuit 1Router 端口狀態(tài)(Status of Int

11、erface)配置登錄提示信息(Configuring Login Banners )Router1(config)#banner motd #Welcome to coreyard#“#”:特定的分隔符號“#”:a space and a delimiting character Show命令(Show Command)1.show version 這個(gè)命令可以查看IOS版本號,已啟動(dòng)時(shí)間 ,flash中的IOS的文件名,router里面共有什 么的端口,寄存器的值等等。2.show protocol 顯示與ip 有關(guān)的路由協(xié)議信息,各個(gè)端口的 情況。3.show flash 查看flash

12、中的內(nèi)容,IOS的長度,文件名, 剩余空間,總共空間。4.show running-config 查看路由器當(dāng)前的配置信息。5.show interface 查看路由器上的各個(gè)端口的狀態(tài)信息。6.show controller 查看接口控制器的狀態(tài),可看到連接的是 DTE還是DCE8.show history 查看history buffer 里面的命令列表terminal history size 設(shè)置history buffer 里面保存命令的個(gè)數(shù)。最 大允許值為256高級組合命令(Enhanced Editing Commands )Ctrl+A:光標(biāo)回到命令行的最開頭(move to

13、the beginning of the command line)Ctrl+E:光標(biāo)回到命令行的最后(move to theend of the command line)Ctrl+B:光標(biāo)向左移一字符位置(move back one character)Ctrl+F:光標(biāo)向右移一字符位置(move froward one character)Ctrl+P(or 上箭頭):使用上一條用過的命令(recall previous command)Ctrl+N(or下箭頭):使用下一條用過的命令(recall most recent command)使用“?”(use “?”)clockclock ?clock set ?clock set 10:30:30 ?clock set 10:30:30 20 oct ?clock set 10:30:30 20 oct 2002?show clock1.保存配置文件(Save configuration file

溫馨提示

  • 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請下載最新的WinRAR軟件解壓。
  • 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
  • 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁內(nèi)容里面會(huì)有圖紙預(yù)覽,若沒有圖紙預(yù)覽就沒有圖紙。
  • 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
  • 5. 人人文庫網(wǎng)僅提供信息存儲空間,僅對用戶上傳內(nèi)容的表現(xiàn)方式做保護(hù)處理,對用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對任何下載內(nèi)容負(fù)責(zé)。
  • 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請與我們聯(lián)系,我們立即糾正。
  • 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時(shí)也不承擔(dān)用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。

最新文檔

評論

0/150

提交評論