配置Cisco2500系列访问服务器(doc 15页)_第1页
配置Cisco2500系列访问服务器(doc 15页)_第2页
配置Cisco2500系列访问服务器(doc 15页)_第3页
配置Cisco2500系列访问服务器(doc 15页)_第4页
配置Cisco2500系列访问服务器(doc 15页)_第5页
已阅读5页,还剩6页未读 继续免费阅读

下载本文档

版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领

文档简介

配置Cisco2500系列访问服务器你可以按下列几节中描述的程序之一配置访问服务器: 使用配置方式(Configuration Mode)配置访问服务器 使用自动安装(AutoInstall)配置访问服务器 使用设置工具(Setup Facility)手工配置访问服务器按照最适合你的网络配置需要的程序做。在继续配置过程前,输入show version命令检查访问服务器的当前状态。show version命令将显示在访问服务器上可用的Cisco IOS软件的版本。l 用配置方式配置访问服务器如果你不打算使用设置工具或自动安装的话,你可以手工配置访问服务器。手工配置访问服务器采取以下几个步骤:步骤1、连接一个控制台终端,给访问服务器加电。步骤2、当你被问到是否进入初始会话时,回答no,进入访问服务器正常的操作方式。Would you like to enter the initial dialog? yes: no 步骤3、几秒钟后,你会看到用户EXEC提示符(Router)。键入enable以进入授权方式(enable mode)。改变配置只能在授权方式下做。Router enable 提示符将变为特权EXEC提示符:router# 步骤4、在授权提示符下键入config terminal命令,从终端进入配置方式:router# config terminal 你现在可以键入你需要的任何对配置的改变。要退出配置方式按Ctrl-Z 。为了看到当前运行的配置,在#提示符下键入show running-config命令(如果你运行的是Cisco IOS 11.0或更高版本)。键入命令write terminal (如果你运行的是Cisco IOS 11.0以前的版本)router# show running-config为看到NVRAM中的配置,在授权提示符下键入show startup-config命令:router# show config为了使你的改变永久保留,在授权提示符后键入命令copy running-config startup-config(如果你运行的是Cisco IOS 11.0或更高版本),或键入命令write terminal (如果你运行的是Cisco IOS 11.0以前的版本)router# copy running-config startup-config * 如果你对配置做了改变但是还没有将它写入NVRAM,则show running-config和show startup-config命令的结果会不同。现在访问服务器已经被配置,并将用你所输入的配置引导。l 用自动安装配置访问服务器自动安装程序AutoInstall是设计用于访问服务器连接到WAN后的自动配置的。为使AutoInstall正确工作,你的网络上的一个TCP/IP主机必须预先配置成能够提供必需的配置文件。TCP/IP主机可以在网络上的任何位置,只要能够维持下列两个条件:1. 主机必须在访问服务器对WAN的异步串行连接的远方场地。2. 用户数据报协议(UDP)广播入出访问服务器,该TCP/IP主机必须被授权。这个功能由你的系统管理员在该TCP/IP主机所在地点调整。在TCP/IP主机上未提供必须的文件时,你不要试图使用AutoInstall。采取以下步骤为AutoInstall程序准备你的访问服务器:步骤1、将异步串行电缆装至访问服务器。步骤2、给访问服务器加电。访问服务器将从闪速存储器装入操作系统映像。如果WAN连接的远端被连接并正确地配置,AutoInstall程序将开始。如果AutoInstall成功地完成,你可能要将配置数据写入访问服务器的非易失随机存取存储器(NVRAM)中。执行下一个步骤完成这个任务:步骤3、如果你运行的是Cisco IOS 11.0或更高版本,请在#提示符后面输入copy running-config startup-config命令;如果你运行的是Cisco IOS 11.0以前的版本,输入write memory命令。Hostname# copy running-config startup-config 采取这些步骤将保存AutoInstall程序在访问服务器中生成的配置设定。如果你未能作到这一点,你的配置将会在你下次加载访问服务器时丢失。l 用设置工具手工配置访问服务器如果你不打算使用AutoInstall,那就不要连接访问服务器的串行(WAN)电缆到通道服务单元/数据服务单元(CSU/DSU)。这样就防止访问服务器试图运行AutoInstall程序。不管你什么时候打开访问服务器,它都试图运行AutoInstall,只要串行(WAN)连接在两端连接而访问服务器又没有在NVRAM中保存一个配置。访问服务器要确定AutoInstall未设置到一个远端TCP/IP主机上可能需要几分钟。一旦访问服务器确认AutoInstal未被配置,它将默认设置工具。如果串行(WAN)电缆没有连接,访问服务器将从闪速存储器引导并进入设置工具。注意:任何时候你只要在授权提示符(#)后输入setup命令都可以运行设置工具。配置全局参数当你第一次启动设置程序时你必须配置全局参数。全局参数是用于控制整个系统的设置。输入全局参数使用以下步骤:步骤1、连接一个控制台终端,然后引导访问服务器到EXEC提示符(router)。步骤2、在你从闪速存储器引导后大约30秒钟会出现下面的信息。当你看到这些信息显示出来,你就已经成功地引导了你的访问服务器。System Bootstrap, Version 4.14(8), SOFTWARE Copyright (c) 1986-1995 by cisco Systems 2500 processor with 16384 Kbytes of 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 Rights 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-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 1990 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 bytes 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-c to abort configuration dialog at any prompt. Default settings are in square brackets . 步骤3、当你被问到是否想进入配置对话而你又想看到当前界面的摘要时,键入yes或按回车。按回车接受默认(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 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接口上支持的协议。对仅有IP安装的情况,你可以对大多数问题接受缺省值。一个使用IP,IPX和AppleTalk的典型配置如下:Configuring global parameters: Enter host name Router: router 步骤5、键入授权秘密口令、授权口令和虚拟终端口令: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 older software and some boot images. Enter enable password : trowel Enter virtual terminal password: pail 键入yes 接受或键入no拒绝SNMP管理: Configure SNMP Network Management? no: 简单网络管理协议(SNMP)是最广泛被支持的网络管理的开放标准。它提供一种手段访问并设置路由器和访问服务器的配置和run-time参数。SNMP定义一组功能可用于监控网络的基础。步骤6、确定你是否要在访问服务器上使用DECnet。如果你要配置DECnet,为你区号、接点号和区域路由键入相应的值。Configure DECnet? no: 步骤7、在绝大多数情况下你会使用IP路由。如果你要使用IP路由,你还必须选择一个内部路由协议。你可以规定只许两个内部协议中的一个在你使用设置的系统上运行:内部网管路由协议(Interior Gateway Routing Protocol_IGRP)或路由信息协议(Routing Information Protocol_RIP)。键入yes(缺省)或按回车以配置IP,然后选择为IP选择内部路由协议。:Configure IP? yes: Configure IGRP routing? yes: Your IGRP autonomous system number 1: 15 步骤8、在本例中,路由将被授权在AppleTalk和IPX上;IP已经被选择:Configure AppleTalk? no: yes Multizone networks? no: yes Configure LAT? yes: no Configure IPX? no: yes 配置异步口访问服务器装配了16个异步口,异步线路必须配置,才能使异步设备连接访问服务器。访问服务器上的异步口被配置成允许用TTY设备、远程结点和远程LAN连接很多种设备都可以用异步线路连接到访问服务器。终端和远程结点(像PC, Macintosh微机,工作站和主机系统)连接到访问服务器并使用它的服务。访问服务器提供的服务允许访问其它异步设备,如打印机、Modem或终端。下列步骤配置访问服务器上的线路,使访问服务器或远端设备能够使用异步线路。步骤1、键入或按回车配置异步线路:Configure Async lines? yes: 步骤2、为异步线路设定线路速率和流量控制。必须配置硬件流量控制才能允许和Modem正确地通信。Async line speed 9600:57600 Configure for HW flow control? yes: 步骤3、如果你要连接Modem到你的访问服务器进行远程对话,并配置你的Modem使用缺省的聊天手稿,键入yes:Configure for modems? yes/no: yes Configure for default chat script? yes: 步骤4、配置你的系统支持串行线互联网协议(SLIP)和点到点协议(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 Configure for routing updates on async links? no: 步骤5、要配置AppleTalk,在AppleTalk远程访问提示后面键入yes或按回车,然后键入你的AppleTalk 客户机的AppleTalk网络地址和区名Configure for Appletalk Remote Access? yes: AppleTalk Network for ARA clients 1: 99 Zone name for ARA clients ara-dialins: ARA协议使用一个内部非扩展的唯一网络号和一个ARA协议客户区名步骤6、如果你要在异步线路上使用IPX,键入yes,在本例中,访问服务器不会在异步线路上使用IPX: Configure XRemote font servers? no: Configure for Async IPX? yes: no 配置Ethernet或Token Ring接口要配置Ethernet或Token Ring接口以实现LAN上的通信可采取下列步骤。要配置接口参数,你必须知道你的Ethernet或TokenRing接口的网络地址。步骤1、在下面的例子中,系统正在对一个使用IP协议的Ethernet LAN配置:Configuring interface parameters: Configuring interface 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对扩展的AppleTalk网络配置。然后键入电缆范围号。键入区名,以及任何其它可能与你的本地区相关的附加的区。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、决定你是否要在此接口上授权IPX,键入唯一的IPX网络号。Configure IPX on this interface? no: yes IPX network number 1: B001 Configure XNS on this interface? no 配置同步串行口配置同步串行口可实现经CSU/DSU到WAN的连接。一旦你的访问服务器上的Ethernet或Token Ring端口被配置好,用下列步骤配置串行口:步骤1、键入yes配置串行口0:Configuring interface Serial0: Is this interface in use? no: yes 步骤2、决定你要在同步串行口上使用哪种协议并键入相应的回答: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 cable 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、配置第二个同步串行口如下:Configuring interface Serial1: Is this interface in use? no: Configure IP unnumbered on this interface? 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 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 键入异步口地址在配置好异步线路并选择了路由协议之后,为每一个异步口键入IP地址。步骤1、为访问服务器上的每一个异步口键入IP地址。Configuring interface Async1: Default client IP address for this interface none: 172.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 Async5: 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 for this interface 172.16.72.18: 步骤2、你输入的配置现在都显示出来,并问你是否想使用这个显示的配置。如果你回答no,你可以再一次开始配置。如果你回答yes,这个配置将被输入并保存在启动配置中。Use this configuration? yes/no:yes Press RETURN to get started! OK Use the enabled mode configure command to modify this configuration. 访问服务器现在已被正确地配置好并准备使用。如果你还想在初始的配置之后修改参数,键入命令setup。为了完成更复杂的配置,键入命令configure。检查你的设置你可以检查你输入的设定值,在#提示符后键入命令show running-config(如果你运行的是Cisco IOS 11.0或更高版本),或键入命令write terminal(如果你运行的是Cisco IOS 11.0以前的版本):router# show running-config.configuration register is 0x2102为了将此配置或改变存放到你的启动配置,在hostname#提示符后键入命令copy running-config startup-config(如果你运行的是Cisco IOS 11.0或更高版本) 或命令write memory (如果你运行的是Cisco IOS 11.0以前的版本)Hostname# copy running-config startup-config键入这个命令将保存设置程序在访问服务器中生成的配置设定。如果你未能这样作,你的配置在你下次加载访问服务器时将会丢失。用到同步口时路由器的设置举例:第一步:以太口IP地址的设置第二步:同步口IP地址的设置第三步:路由表的设置ROUTER#SHOW CONFIG Using 516 out of 32762 bytes!version 11.1service udp-small-serversservice tcp-small-servers!hostname Router!enable secret 5 $1$VKgd$JXtJ6VeM7uCSEUP6y6xDZ0enable pa

温馨提示

  • 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
  • 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
  • 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
  • 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
  • 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
  • 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
  • 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

评论

0/150

提交评论