思科網(wǎng)絡(luò)技術(shù)學(xué)院教程(第六章 配置路由器)_第1頁
思科網(wǎng)絡(luò)技術(shù)學(xué)院教程(第六章 配置路由器)_第2頁
思科網(wǎng)絡(luò)技術(shù)學(xué)院教程(第六章 配置路由器)_第3頁
思科網(wǎng)絡(luò)技術(shù)學(xué)院教程(第六章 配置路由器)_第4頁
思科網(wǎng)絡(luò)技術(shù)學(xué)院教程(第六章 配置路由器)_第5頁
已閱讀5頁,還剩26頁未讀 繼續(xù)免費閱讀

下載本文檔

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

文檔簡介

1、ICRC_revision_11.3配置路由器配置路由器第六章第六章Copyright ?1998 Cisco Systems, Inc.ICRC_revision_11.3加載配置文件加載配置文件Copyright ?1998, Cisco Systems, Inc.3Copyright ?1998, Cisco Systems, Inc.ICRC_revision_11.3路由器配置概覽路由器配置概覽加載配置文件參數(shù)到加載配置文件參數(shù)到RAM給路由器命名給路由器命名分配訪問口令分配訪問口令進(jìn)行接口等的配置進(jìn)行接口等的配置將配置文件參數(shù)寫入將配置文件參數(shù)寫入 NVRAM4Copyright

2、?1998, Cisco Systems, Inc.ICRC_revision_11.3加載配置文件加載配置文件Console or TerminalRAMTFTP Serverconfigure terminalcopy startup-config running-configcopy tftp running-configcopy tftp startup-config5Copyright ?1998, Cisco Systems, Inc.ICRC_revision_11.3configure overwriteConsole or TerminalRAMTFTP Serverconf

3、igure terminalconfigure memoryconfigure network加載配置文件加載配置文件6Copyright ?1998, Cisco Systems, Inc.ICRC_revision_11.3從從 TFTP 服務(wù)器加載服務(wù)器加載Router#copy tftp running-configHost or network configuration file host?IP address of remote host 55? 55Name of configuration file Router-confg?

4、P1R1.2Configure using P1R1.2 from 55? confirm yBooting P1R1.2 from 55:! OK - 874/16000 bytesP1R1#TFTP ServerRAMICRC_revision_11.3路由器的工作模式路由器的工作模式 Copyright ?1998, Cisco Systems, Inc.8Copyright ?1998, Cisco Systems, Inc.ICRC_revision_11.3Router(config)#RouterRouter#路由器工作模式概覽路由器工

5、作模式概覽User EXEC modePrivileged EXEC modeGlobal configuration mode9Copyright ?1998, Cisco Systems, Inc.ICRC_revision_11.3Router(config)#RouterRouter#Other configuration modesExitCtrl-Z (end)路由器模式概覽路由器模式概覽User EXEC modePrivileged EXEC modeGlobal configuration mode10Copyright ?1998, Cisco Systems, Inc.I

6、CRC_revision_11.3Router(config)#RouterRouter#Other configuration modesExitCtrl-Z (end)User EXEC modePrivileged EXEC modeGlobal configuration modeConfiguration ModePromptInterfaceRouter(config-if)#SubinterfaceRouter(config-subif)#ControllerRouter(config-controller)#LineRouter(config-line)#RouterRoute

7、r(config-router)#IPX-routerRouter(config-ipx-router)#Route-mapRouter(config-route-map)#路由器模式概覽路由器模式概覽11Copyright ?1998, Cisco Systems, Inc.ICRC_revision_11.3Router NameRouter(config)#hostname P1R1P1R1#路由器的識別配置路由器的識別配置12Copyright ?1998, Cisco Systems, Inc.ICRC_revision_11.3Router NameRouter(config)#h

8、ostname P1R1P1R1#Message of the Day BannerP1R1(config)#banner motd # Accounting Department You have entered a secured system. Authorized access only! #路由器的識別配置路由器的識別配置13Copyright ?1998, Cisco Systems, Inc.ICRC_revision_11.3路由器的識別配置路由器的識別配置Router NameRouter(config)#hostname P1R1P1R1#Message of the Da

9、y BannerP1R1(config)#banner motd # Accounting Department You have entered a secured system. Authorized access only! #Interface DescriptionP1R1(config)#interface ethernet 0P1R1(config-if)#description Engineering LAN, Bldg. 1814Copyright ?1998, Cisco Systems, Inc.ICRC_revision_11.3口令配置口令配置Router(confi

10、g)#line console 0Router(config-line)#loginRouter(config-line)#password ciscoConsole Password 15Copyright ?1998, Cisco Systems, Inc.ICRC_revision_11.3Router(config)#line console 0Router(config-line)#loginRouter(config-line)#password ciscoConsole Password Virtual Terminal Password Router(config)#line

11、vty 0 4Router(config-line)#login Router(config-line)#password sanjose口令配置口令配置16Copyright ?1998, Cisco Systems, Inc.ICRC_revision_11.3Router(config)#line console 0Router(config-line)#loginRouter(config-line)#password ciscoConsole Password Virtual Terminal Password Router(config)#line vty 0 4Router(co

12、nfig-line)#login Router(config-line)#password sanjoseEnable Password Router(config)#enable-password sanfran口令配置口令配置17Copyright ?1998, Cisco Systems, Inc.ICRC_revision_11.3Router(config)#line console 0Router(config-line)#loginRouter(config-line)#password ciscoConsole Password Virtual Terminal Passwor

13、d Router(config)#line vty 0 4Router(config-line)#login Router(config-line)#password sanjoseEnable Password Router(config)#enable password ciscoSecret PasswordRouter(config)#enable secret sanfran口令配置口令配置18Copyright ?1998, Cisco Systems, Inc.ICRC_revision_11.3Router(config)#interface type numberRouter

14、(config-if)# type includes serial, ethernet, token ring, fddi, hssi, loopback, dialer, null, async, atm, bri, and tunnel number is used to identify individual interfaces接口配置接口配置19Copyright ?1998, Cisco Systems, Inc.ICRC_revision_11.3Router(config)#interface type numberRouter(config-if)# type include

15、s serial, ethernet, token ring, fddi, hssi, loopback, dialer, null, async, atm, bri, and tunnel number is used to identify individual interfacesRouter(config)#interface type slot/portRouter(config-if)# For the Cisco 7000 and 7200 series routers接口配置接口配置20Copyright ?1998, Cisco Systems, Inc.ICRC_revis

16、ion_11.3Router(config)#interface type numberRouter(config-if)# type includes serial, ethernet, token ring, fddi, hssi, loopback, dialer, null, async, atm, bri, and tunnel number is used to identify individual interfacesRouter(config-if)#exit Quit from current interface configuration modeRouter(confi

17、g)#interface type slot/portRouter(config-if)# For the Cisco 7000 and 7200 series routers接口配置接口配置21Copyright ?1998, Cisco Systems, Inc.ICRC_revision_11.3Router#show interfaces Ethernet0 is up, line protocol is up Hardware is Lance, address is 0060.4740.c2b6 (bia 0060.4740.c2b6) MTU 1500 bytes, BW 100

18、00 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:00Serial1 is up, line protocol is down Hardware is MK5025 MTU 1500 bytes, BW 1544 Kbit, DLY 20000 usec, rely 255/255, load 9/255 Encapsulation HDLC, loopbac

19、k not set, keepalive set (10 sec)show interfaces 命令命令.22Copyright ?1998, Cisco Systems, Inc.ICRC_revision_11.3Router#show interface serial 1Serial1 is up, line protocol is up Hardware is cxBus Serial Description: 56Kb Line San Jose - MP : : : : : : : : : :Operational.Connection Problem.Interface Pro

20、blem.Disabled .Serial1 is up, line protocol is upSerial1 is up, line protocol is downSerial1 is down, line protocol is downSerial1 is administratively down, line protocol is downKeepalivesCarrier Detect接口狀態(tài)說明接口狀態(tài)說明23Copyright ?1998, Cisco Systems, Inc.ICRC_revision_11.3Enter global configuration mod

21、eRouter#configure termRouter(config)#串口配置串口配置24Copyright ?1998, Cisco Systems, Inc.ICRC_revision_11.3Enter global configuration modeRouter(config)#interface serial 1Router(config-if)#Router#configure termRouter(config)#Specify interface串口配置串口配置25Copyright ?1998, Cisco Systems, Inc.ICRC_revision_11.3

22、串口配置串口配置Enter global configuration modeRouter(config-if)#clock rate 56000Router(config-if)#Router(config)#interface serial 1Router(config-if)#Router#configure termRouter(config)#Specify interfaceSet DCE clock rate (optional)26Copyright ?1998, Cisco Systems, Inc.ICRC_revision_11.3Configuring a Serial

23、 LineEnter global configuration modeRouter(config-if)#clock rate 56000Router(config-if)#Router(config)#interface serial 1Router(config-if)#Router#configure termRouter(config)#Router(config-if)#bandwidth 56Router(config-if)#exitRouter(config)#exitRouter#Specify interfaceSet DCE clock rate (optional)S

24、et bandwidth (optional)27Copyright ?1998, Cisco Systems, Inc.ICRC_revision_11.3檢驗配置檢驗配置Router#show interfaces serial 1Serial1 is up, line protocol is up Hardware is MK5025 MTU 1500 bytes, BW 56 Kbit, DLY 20000 usec, rely 255/255, load 9/255 Encapsulation HDLC, loopback not set, keepalive set (10 sec

25、) Last input 0:00:00, output 0:00:01, output hang never Last clearing of show interface counters never Output queue 0/40, 0 drops; input queue 0/75, 0 drops Five minute input rate 1000 bits/sec, 0 packets/sec Five minute output rate 2000 bits/sec, 0 packets/sec 331885 packets input, 62400237 bytes,

26、0 no buffer Received 230457 broadcasts, 0 runts, 0 giants 3 input errors, 3 CRC, 0 frame, 0 overrun, 0 ignored, 0 abort 403591 packets output, 66717279 bytes, 0 underruns 0 output errors, 0 collisions, 8 interface resets, 0 restarts 45 carrier transitions28Copyright ?1998, Cisco Systems, Inc.ICRC_revision_11.3Router#configure termRouter(config)#interface serial 1Router(config-if)#shutdown%LINEPROTO-5-UPDOWN: Line Protocol on Interface Serial1, changed state to down%LINK-5-CHANGED: Interface Serial, changed state to administratively down關(guān)閉一個接口關(guān)閉一個接口使用命令管理性的關(guān)閉一個端口而不影響整個配置。使用命令管理性的關(guān)閉一個端口而不影

溫馨提示

  • 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請下載最新的WinRAR軟件解壓。
  • 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
  • 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁內(nèi)容里面會有圖紙預(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)確性、安全性和完整性, 同時也不承擔(dān)用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。

評論

0/150

提交評論