配置Cisco2500系列訪問服務(wù)器_第1頁
配置Cisco2500系列訪問服務(wù)器_第2頁
配置Cisco2500系列訪問服務(wù)器_第3頁
配置Cisco2500系列訪問服務(wù)器_第4頁
配置Cisco2500系列訪問服務(wù)器_第5頁
已閱讀5頁,還剩6頁未讀, 繼續(xù)免費(fèi)閱讀

下載本文檔

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

文檔簡介

1、配置Cisco2500系列訪問服務(wù)器你可以按下列幾節(jié)中描述的程序之一配置訪問服務(wù)器: 使用配置方式(Configuration Mode)配置訪問服務(wù)器 使用自動(dòng)安裝(AutoInstall)配置訪問服務(wù)器 使用設(shè)置工具(Setup Facility)手工配置訪問服務(wù)器按照最適合你的網(wǎng)絡(luò)配置需要的程序做。在繼續(xù)配置過程前,輸入show version命令檢查訪問服務(wù)器的當(dāng)前狀態(tài)。show version命令將顯示在訪問服務(wù)器上可用的Cisco IOS軟件的版本。l 用配置方式配置訪問服務(wù)器如果你不打算使用設(shè)置工具或自動(dòng)安裝的話,你可以手工配置訪問服務(wù)器。手工配置訪問服務(wù)器采取以下幾個(gè)步驟:步驟

2、1、連接一個(gè)控制臺(tái)終端,給訪問服務(wù)器加電。步驟2、當(dāng)你被問到是否進(jìn)入初始會(huì)話時(shí),回答no,進(jìn)入訪問服務(wù)器正常的操作方式。Would you like to enter the initial dialog? yes: no 步驟3、幾秒鐘后,你會(huì)看到用戶EXEC提示符(Router)。鍵入enable以進(jìn)入授權(quán)方式(enable mode)。改變配置只能在授權(quán)方式下做。Router enable 提示符將變?yōu)樘貦?quán)EXEC提示符:router# 步驟4、在授權(quán)提示符下鍵入config terminal命令,從終端進(jìn)入配置方式:router# config terminal 你現(xiàn)在可以鍵入你需要的

3、任何對配置的改變。要退出配置方式按Ctrl-Z 。為了看到當(dāng)前運(yùn)行的配置,在#提示符下鍵入show running-config命令(如果你運(yùn)行的是或更高版本)。鍵入命令write terminal (如果你運(yùn)行的是以前的版本)router# show running-config為看到NVRAM中的配置,在授權(quán)提示符下鍵入show startup-config命令:router# show config為了使你的改變永久保留,在授權(quán)提示符后鍵入命令copy running-config startup-config(如果你運(yùn)行的是Cisco IOS 11.0或更高版本),或鍵入命令write

4、 terminal (如果你運(yùn)行的是Cisco IOS 11.0以前的版本)router# copy running-config startup-config * 如果你對配置做了改變但是還沒有將它寫入NVRAM,則show running-config和show startup-config命令的結(jié)果會(huì)不同?,F(xiàn)在訪問服務(wù)器已經(jīng)被配置,并將用你所輸入的配置引導(dǎo)。l 用自動(dòng)安裝配置訪問服務(wù)器自動(dòng)安裝程序AutoInstall是設(shè)計(jì)用于訪問服務(wù)器連接到WAN后的自動(dòng)配置的。為使AutoInstall正確工作,你的網(wǎng)絡(luò)上的一個(gè)TCP/IP主機(jī)必須預(yù)先配置成能夠提供必需的配置文件。TCP/IP主機(jī)可

5、以在網(wǎng)絡(luò)上的任何位置,只要能夠維持下列兩個(gè)條件:1. 主機(jī)必須在訪問服務(wù)器對WAN的異步串行連接的遠(yuǎn)方場地。2. 用戶數(shù)據(jù)報(bào)協(xié)議(UDP)廣播入出訪問服務(wù)器,該TCP/IP主機(jī)必須被授權(quán)。這個(gè)功能由你的系統(tǒng)管理員在該TCP/IP主機(jī)所在地點(diǎn)調(diào)整。在TCP/IP主機(jī)上未提供必須的文件時(shí),你不要試圖使用AutoInstall。采取以下步驟為AutoInstall程序準(zhǔn)備你的訪問服務(wù)器:步驟1、將異步串行電纜裝至訪問服務(wù)器。步驟2、給訪問服務(wù)器加電。訪問服務(wù)器將從閃速存儲(chǔ)器裝入操作系統(tǒng)映像。如果WAN連接的遠(yuǎn)端被連接并正確地配置,AutoInstall程序?qū)㈤_始。如果AutoInstall成功地完成

6、,你可能要將配置數(shù)據(jù)寫入訪問服務(wù)器的非易失隨機(jī)存取存儲(chǔ)器(NVRAM)中。執(zhí)行下一個(gè)步驟完成這個(gè)任務(wù):步驟3、如果你運(yùn)行的是Cisco IOS 11.0或更高版本,請?jiān)?提示符后面輸入copy running-config startup-config命令;如果你運(yùn)行的是Cisco IOS 11.0以前的版本,輸入write memory命令。Hostname# copy running-config startup-config 采取這些步驟將保存AutoInstall程序在訪問服務(wù)器中生成的配置設(shè)定。如果你未能作到這一點(diǎn),你的配置將會(huì)在你下次加載訪問服務(wù)器時(shí)丟失。l 用設(shè)置工具手工配置訪問

7、服務(wù)器如果你不打算使用AutoInstall,那就不要連接訪問服務(wù)器的串行(WAN)電纜到通道服務(wù)單元/數(shù)據(jù)服務(wù)單元(CSU/DSU)。這樣就防止訪問服務(wù)器試圖運(yùn)行AutoInstall程序。不管你什么時(shí)候打開訪問服務(wù)器,它都試圖運(yùn)行AutoInstall,只要串行(WAN)連接在兩端連接而訪問服務(wù)器又沒有在NVRAM中保存一個(gè)配置。訪問服務(wù)器要確定AutoInstall未設(shè)置到一個(gè)遠(yuǎn)端TCP/IP主機(jī)上可能需要幾分鐘。一旦訪問服務(wù)器確認(rèn)AutoInstal未被配置,它將默認(rèn)設(shè)置工具。如果串行(WAN)電纜沒有連接,訪問服務(wù)器將從閃速存儲(chǔ)器引導(dǎo)并進(jìn)入設(shè)置工具。注意:任何時(shí)候你只要在授權(quán)提示符(

8、#)后輸入setup命令都可以運(yùn)行設(shè)置工具。配置全局參數(shù)當(dāng)你第一次啟動(dòng)設(shè)置程序時(shí)你必須配置全局參數(shù)。全局參數(shù)是用于控制整個(gè)系統(tǒng)的設(shè)置。輸入全局參數(shù)使用以下步驟:步驟1、連接一個(gè)控制臺(tái)終端,然后引導(dǎo)訪問服務(wù)器到EXEC提示符(router)。步驟2、在你從閃速存儲(chǔ)器引導(dǎo)后大約30秒鐘會(huì)出現(xiàn)下面的信息。當(dāng)你看到這些信息顯示出來,你就已經(jīng)成功地引導(dǎo)了你的訪問服務(wù)器。System Bootstrap, Version 4.14(8), SOFTWARE Copyright (c) 1986-1995 by cisco Systems 2500 processor with 16384 Kbytes o

9、f main memory Loading igs-c-l.110-0.7 at 0x3000040, size = 3865444 bytes OK F3: 3779532+85880+173868 at 0x3000060 Restricted Rights Legend Use, duplication, or disclosure by the Government is subject to restrictions as set forth in subparagraph (c) of the Commercial Computer Software - Restricted Ri

10、ghts clause at FAR sec. 52.227-19 and subparagraph (c) (1) (ii) of the Rights in Technical Data and Computer Software clause at DFARS sec. 252.227-7013. cisco Systems, Inc. 170 West Tasman Drive San Jose, California 95134-1706 Cisco Internetwork Operating System Software IOS (tm) 3000 Software (IGS-

11、C-L), Version 11.0(0.8), SOFTWARE Copyright (c) 1986-1995 by cisco Systems, Inc. Compiled Mon 19-Jun-95 23:22 by Image text-base: 0x030200E4, data-base: 0x00001000 cisco 2500 (68030) processor (revision C) with 16380K/2048K bytes of memory. Processor board ID 2685538369 SuperLAT software copyright 1

12、990 by Meridian Technology Corp). TN3270 Emulation software (copyright 1994 by TGV Inc). X.25 software, Version 2.0, NET2, BFE and GOSIP compliant. Bridging software. Authorized for Enterprise software set. (0x0) 1 Ethernet/IEEE 802.3 interface. 2 Serial network interfaces. 8 terminal lines. 32K byt

13、es of non-volatile configuration memory. 4096K bytes of processor board System flash (Read ONLY) Notice: NVRAM invalid, possibly due to write erase. - System Configuration Dialog - At any point you may enter a question mark ? for help. Refer to the Getting Started Guide for additional help. Use ctrl

14、-c to abort configuration dialog at any prompt. Default settings are in square brackets . 步驟3、當(dāng)你被問到是否想進(jìn)入配置對話而你又想看到當(dāng)前界面的摘要時(shí),鍵入yes或按回車。按回車接受默認(rèn)(yes):Would you like to enter the initial configuration dialog? yes: First, would you like to see the current interface summary? yes: Any interface listed with

15、OK? value NO does not have a valid configuration Interface IP-Address OK? Method Status Protocol Ethernet0 unassigned NO not set up down Serial0 unassigned NO not set down down Serial1 unassigned NO not set down down 步驟4、選擇你的Ethernet或Token Ring接口上支持的協(xié)議。對僅有IP安裝的情況,你可以對大多數(shù)問題接受缺省值。一個(gè)使用IP,IPX和AppleTalk的

16、典型配置如下:Configuring global parameters: Enter host name Router: router 步驟5、鍵入授權(quán)秘密口令、授權(quán)口令和虛擬終端口令:The enable secret is a one-way cryptographic secret used instead of the enable password when it exists. Enter enable secret : shovel The enable password is used when there is no enable secret and when using

17、 older software and some boot images. Enter enable password : trowel Enter virtual terminal password: pail 鍵入yes 接受或鍵入no拒絕SNMP管理: Configure SNMP Network Management? no: 簡單網(wǎng)絡(luò)管理協(xié)議(SNMP)是最廣泛被支持的網(wǎng)絡(luò)管理的開放標(biāo)準(zhǔn)。它提供一種手段訪問并設(shè)置路由器和訪問服務(wù)器的配置和run-time參數(shù)。SNMP定義一組功能可用于監(jiān)控網(wǎng)絡(luò)的基礎(chǔ)。步驟6、確定你是否要在訪問服務(wù)器上使用DECnet。如果你要配置DECnet,為你區(qū)

18、號(hào)、接點(diǎn)號(hào)和區(qū)域路由鍵入相應(yīng)的值。Configure DECnet? no: 步驟7、在絕大多數(shù)情況下你會(huì)使用IP路由。如果你要使用IP路由,你還必須選擇一個(gè)內(nèi)部路由協(xié)議。你可以規(guī)定只許兩個(gè)內(nèi)部協(xié)議中的一個(gè)在你使用設(shè)置的系統(tǒng)上運(yùn)行:內(nèi)部網(wǎng)管路由協(xié)議(Interior Gateway Routing Protocol_IGRP)或路由信息協(xié)議(Routing Information Protocol_RIP)。鍵入yes(缺省)或按回車以配置IP,然后選擇為IP選擇內(nèi)部路由協(xié)議。:Configure IP? yes: Configure IGRP routing? yes: Your IGRP

19、autonomous system number 1: 15 步驟8、在本例中,路由將被授權(quán)在AppleTalk和IPX上;IP已經(jīng)被選擇:Configure AppleTalk? no: yes Multizone networks? no: yes Configure LAT? yes: no Configure IPX? no: yes 配置異步口訪問服務(wù)器裝配了16個(gè)異步口,異步線路必須配置,才能使異步設(shè)備連接訪問服務(wù)器。訪問服務(wù)器上的異步口被配置成允許用TTY設(shè)備、遠(yuǎn)程結(jié)點(diǎn)和遠(yuǎn)程LAN連接很多種設(shè)備都可以用異步線路連接到訪問服務(wù)器。終端和遠(yuǎn)程結(jié)點(diǎn)(像PC, Macintosh微機(jī),工

20、作站和主機(jī)系統(tǒng))連接到訪問服務(wù)器并使用它的服務(wù)。訪問服務(wù)器提供的服務(wù)允許訪問其它異步設(shè)備,如打印機(jī)、Modem或終端。下列步驟配置訪問服務(wù)器上的線路,使訪問服務(wù)器或遠(yuǎn)端設(shè)備能夠使用異步線路。步驟1、鍵入或按回車配置異步線路:Configure Async lines? yes: 步驟2、為異步線路設(shè)定線路速率和流量控制。必須配置硬件流量控制才能允許和Modem正確地通信。Async line speed 9600:57600 Configure for HW flow control? yes: 步驟3、如果你要連接Modem到你的訪問服務(wù)器進(jìn)行遠(yuǎn)程對話,并配置你的Modem使用缺省的聊天手稿

21、,鍵入yes:Configure for modems? yes/no: yes Configure for default chat script? yes: 步驟4、配置你的系統(tǒng)支持串行線互聯(lián)網(wǎng)協(xié)議(SLIP)和點(diǎn)到點(diǎn)協(xié)議(PPP)訪問:Configure for Dial-in IP SLIP/PPP access? no: yes Configure for Dynamic IP addresses? yes: no Configure Default IP addresses? no: yes Configure for TCP Header Compression? yes:no

22、Configure for routing updates on async links? no: 步驟5、要配置AppleTalk,在AppleTalk遠(yuǎn)程訪問提示后面鍵入yes或按回車,然后鍵入你的AppleTalk 客戶機(jī)的AppleTalk網(wǎng)絡(luò)地址和區(qū)名Configure for Appletalk Remote Access? yes: AppleTalk Network for ARA clients 1: 99 Zone name for ARA clients ara-dialins: ARA協(xié)議使用一個(gè)內(nèi)部非擴(kuò)展的唯一網(wǎng)絡(luò)號(hào)和一個(gè)ARA協(xié)議客戶區(qū)名步驟6、如果你要在異步線路上

23、使用IPX,鍵入yes,在本例中,訪問服務(wù)器不會(huì)在異步線路上使用IPX: Configure XRemote font servers? no: Configure for Async IPX? yes: no 配置Ethernet或Token Ring接口要配置Ethernet或Token Ring接口以實(shí)現(xiàn)LAN上的通信可采取下列步驟。要配置接口參數(shù),你必須知道你的Ethernet或TokenRing接口的網(wǎng)絡(luò)地址。步驟1、在下面的例子中,系統(tǒng)正在對一個(gè)使用IP協(xié)議的Ethernet LAN配置:Configuring interface parameters: Configuring i

24、nterface Ethernet0: Is this interface in use? yes: Configure IP on this interface? yes: IP address for this interface: 172.16.72.1 Number of bits in subnet field 0: 8 Class B network is 172.16.0.0, 8 subnet bits; mask is 255.255.255.0 如果你要在接口上使用AppleTalk,鍵入yes,鍵入yes對擴(kuò)展的AppleTalk網(wǎng)絡(luò)配置。然后鍵入電纜范圍號(hào)。鍵入?yún)^(qū)名,以

25、及任何其它可能與你的本地區(qū)相關(guān)的附加的區(qū)。Configure AppleTalk on this interface? no: yes Extended AppleTalk network? no: yes AppleTalk starting cable range 0: 1 AppleTalk ending cable range 1: 2 AppleTalk zone name myzone: AppleTalk additional zone name: otherzone AppleTalk additional zone name: 步驟3、決定你是否要在此接口上授權(quán)IPX,鍵入唯

26、一的IPX網(wǎng)絡(luò)號(hào)。Configure IPX on this interface? no: yes IPX network number 1: B001 Configure XNS on this interface? no 配置同步串行口配置同步串行口可實(shí)現(xiàn)經(jīng)CSU/DSU到WAN的連接。一旦你的訪問服務(wù)器上的Ethernet或Token Ring端口被配置好,用下列步驟配置串行口:步驟1、鍵入yes配置串行口0:Configuring interface Serial0: Is this interface in use? no: yes 步驟2、決定你要在同步串行口上使用哪種協(xié)議并鍵入相

27、應(yīng)的回答:Configure IP unnumbered on this interface? no: no IP address for this interface: 172.16.73.1 Number of bits in subnet field 8: Class B network is 172.16.0.0, 8 subnet bits; mask is 255.255.255.0 Configure AppleTalk on this interface? no: yes Extended AppleTalk network? yes: AppleTalk starting c

28、able range 2: 3 AppleTalk ending cable range 3: 3 AppleTalk zone name myzone: ZZ Serial AppleTalk additional zone name: Configure IPX on this interface? no: yes IPX network number 2: B000 步驟3、配置第二個(gè)同步串行口如下:Configuring interface Serial1: Is this interface in use? no: Configure IP unnumbered on this in

29、terface? no: yes IP address for this interface: 172.16.74.2 Number of bits in subnet field 8: Class B network is 172.16.0.0, 8 subnet bits; mask is 255.255.255.0 Configure AppleTalk on this interface? no: yes Extended AppleTalk network? yes: AppleTalk starting cable range 2: 4 AppleTalk ending cable

30、 range 3: 4 AppleTalk zone name myzone: ZZ Serial AppleTalk additional zone name: Configure IPX on this interface? no: yes IPX network number 2: B002 鍵入異步口地址在配置好異步線路并選擇了路由協(xié)議之后,為每一個(gè)異步口鍵入IP地址。步驟1、為訪問服務(wù)器上的每一個(gè)異步口鍵入IP地址。Configuring interface Async1: Default client IP address for this interface none: 172.

31、16.72.11 Configuring interface Async2: Default client IP address for this interface 172.16.72.12: Configuring interface Async3: Default client IP address for this interface 172.16.72.13: Configuring interface Async4: Default client IP address for this interface 172.16.72.14: Configuring interface As

32、ync5: Default client IP address for this interface 172.16.72.15: Configuring interface Async6: Default client IP address for this interface 172.16.72.16: Configuring interface Async7: Default client IP address for this interface 172.16.72.17: Configuring interface Async8: Default client IP address f

33、or this interface 172.16.72.18: 步驟2、你輸入的配置現(xiàn)在都顯示出來,并問你是否想使用這個(gè)顯示的配置。如果你回答no,你可以再一次開始配置。如果你回答yes,這個(gè)配置將被輸入并保存在啟動(dòng)配置中。Use this configuration? yes/no:yes Press RETURN to get started! OK Use the enabled mode configure command to modify this configuration. 訪問服務(wù)器現(xiàn)在已被正確地配置好并準(zhǔn)備使用。如果你還想在初始的配置之后修改參數(shù),鍵入命令setup。為了完

34、成更復(fù)雜的配置,鍵入命令configure。檢查你的設(shè)置你可以檢查你輸入的設(shè)定值,在#提示符后鍵入命令show running-config(如果你運(yùn)行的是Cisco IOS 11.0或更高版本),或鍵入命令write terminal(如果你運(yùn)行的是Cisco IOS 11.0以前的版本):router# show running-config.configuration register is 0x2102為了將此配置或改變存放到你的啟動(dòng)配置,在hostname#提示符后鍵入命令copy running-config startup-config(如果你運(yùn)行的是Cisco IOS 11.0或更高版本) 或命令write memory (如果你運(yùn)行的是Cisco IOS 11.0以前的版本)Hostname# copy running-config startup-config鍵入這個(gè)命令將保存設(shè)置程序在訪問服務(wù)器中生成的配置設(shè)定。如果你未能這樣作,你的配置在你下次加載訪問服務(wù)器時(shí)將會(huì)丟失。用到同步口時(shí)路由器的設(shè)置舉例:第一步:以太口IP地址的設(shè)置第二步:同步口IP地址的設(shè)置第三步:路由表的設(shè)置ROUTER#SHOW

溫馨提示

  • 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)僅提供信息存儲(chǔ)空間,僅對用戶上傳內(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)用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。

最新文檔

評(píng)論

0/150

提交評(píng)論