操作与配置CiscoIOS.ppt
《操作与配置CiscoIOS.ppt》由会员分享,可在线阅读,更多相关《操作与配置CiscoIOS.ppt(38页珍藏版)》请在得力文库 - 分享文档赚钱的网站上搜索。
1、 1999,Cisco Systems,Inc.4-1第四章第四章操作与配置操作与配置Cisco IOSCisco IOS 1999,Cisco Systems,Inc.ICND4-2本章目标本章目标通过本章的学习,您应该掌握以下内容通过本章的学习,您应该掌握以下内容:完成路由器的初始参数配置完成路由器的初始参数配置在网络设备上进入并辨识不同的命令模式在网络设备上进入并辨识不同的命令模式在不同的用户界面下应用各种帮助和命令行编辑在不同的用户界面下应用各种帮助和命令行编辑功能功能查看并确认各网络设备的基本信息查看并确认各网络设备的基本信息 1999,Cisco Systems,Inc.ICND4
2、-32500 路由器路由器背板一览背板一览WAN串口可以采用固化方式串口可以采用固化方式固化的端口固化的端口 1999,Cisco Systems,Inc.ICND4-4控制口控制口1603 路由器路由器背板一览背板一览 AUI以太网口以太网口10BaseT以太网口以太网口ISDN BRI S/TWAN串口可以采用模块化方式串口可以采用模块化方式3640 路由器路由器背板一览背板一览模块化端口模块化端口模块化端口模块化端口模块模块WAN 接接口卡口卡 1999,Cisco Systems,Inc.ICND4-5PCs需要一个将需要一个将RJ-45转换到转换到DB-9或或DB-25的转换器的转换
3、器通讯口设置为通讯口设置为9600波特率波特率,8个数据位个数据位,不设奇偶校验位不设奇偶校验位,1个停止位个停止位,不设流量控制不设流量控制这是通过控制口的一种管外管理方式这是通过控制口的一种管外管理方式AUX端口用于调制解调器的远程连接访问端口用于调制解调器的远程连接访问控制台连接控制台连接带控制口的设备带控制口的设备 1999,Cisco Systems,Inc.ICND4-6Cisco IOS 软件提供多种网络服务进而支持软件提供多种网络服务进而支持各种网络应用各种网络应用.Cisco 互连网操作系统互连网操作系统(IOS)软件软件 1999,Cisco Systems,Inc.ICN
4、D4-7硬件自检硬件自检定位并加载定位并加载Cisco IOS映象文件映象文件定位并运行配置文件定位并运行配置文件Cisco设备的简单启动过程设备的简单启动过程 1999,Cisco Systems,Inc.ICND4-8提供命令行界面提供命令行界面在不同的网络设备上运行时有差别在不同的网络设备上运行时有差别 在命令模式下可以键入或粘贴命令在命令模式下可以键入或粘贴命令 键入命令后回车,设备即解析和执键入命令后回车,设备即解析和执行所键入的命令行所键入的命令两个主要命令模式是用户模式和特两个主要命令模式是用户模式和特权模式权模式不同的命令模式有不同的提示符不同的命令模式有不同的提示符Cisco
5、IOSCisco IOS用户界面的基本特性用户界面的基本特性 1999,Cisco Systems,Inc.ICND4-9Cisco IOS的主要命令模式的主要命令模式 对交交换机和路由器的有限操作机和路由器的有限操作命令提示符命令提示符为 用用户名名模式一:模式一:用户模式用户模式 1999,Cisco Systems,Inc.ICND4-10特权特权(或或enabled)模式模式对交换机和路由器更深入的操作对交换机和路由器更深入的操作有配置和监视权力有配置和监视权力是进入其它配置模式的前提是进入其它配置模式的前提命令提示符为命令提示符为 主机名主机名#模式二模式二(也是最常用的模式也是最常
6、用的模式):Cisco IOS的主要命令模式的主要命令模式(续续)1999,Cisco Systems,Inc.ICND4-11系统启动例程会初始化路由器系统启动例程会初始化路由器如果需要,路由器可以有选择性地回退启动如果需要,路由器可以有选择性地回退启动Check hardwareFind and load Cisco IOSsoftware image Find and apply routerconfiguration information Load Bootstrap1.启动前确认正确连接线缆和控制线启动前确认正确连接线缆和控制线2.按下电源开关按下电源开关3.观察启动顺序观察启动顺
7、序 Cisco IOS输出到控制台上的内容输出到控制台上的内容Cisco路由器的初始启动路由器的初始启动 1999,Cisco Systems,Inc.ICND4-12没有配置文件与有配置文件的路由器启动对比没有配置文件与有配置文件的路由器启动对比-System Configuration Dialog-Continue with configuration dialog?yes/no:yes At any point you may enter a question mark?for help.Use ctrl-c to abort configuration dialog at any p
8、rompt.Default settings are in square brackets .Setup模式模式wg_ro_c con0 is now availablePress RETURN to get started.用户模式用户模式提示提示wg_ro_c路由器启动时在控制台上的输出路由器启动时在控制台上的输出内容内容控制台控制台 1999,Cisco Systems,Inc.ICND4-13Setup:初始配置对话框初始配置对话框 Router#setup -System Configuration Dialog-Continue with configuration dialog?
9、yes/no:yAt any point you may enter a question mark?for help.Use ctrl-c to abort configuration dialog at any prompt.Default settings are in square brackets.Basic management setup configures only enough connectivityfor management of the system,extended setup will ask youto configure each interface on
10、the systemWould you like to enter basic management setup?yes/no:n 1999,Cisco Systems,Inc.ICND4-14设置全局参数设置全局参数初始化全局参数初始化全局参数Configuring global parameters:Enter host name Router:wg_ro_c The enable secret is a password used to protect access to privileged EXEC and configuration modes.This password,afte
11、r entered,becomes encrypted in the configuration.Enter enable secret:cisco The enable password is used when you do not specify an enable secret password,with some older software versions,and some boot images.Enter enable password:sanfran The virtual terminal password is used to protect access to the
12、 router over a network interface.Enter virtual terminal password:sanjose Configure SNMP Network Management?no:1999,Cisco Systems,Inc.ICND4-15设置脚本的确认与应用设置脚本的确认与应用The following configuration command script was created:hostname Routerenable secret 5$1$/CCk$4r7zDwDNeqkxFO.kJxC3G0enable password sanfranl
13、ine vty 0 4password sanjoseno snmp-server!no appletalk routingno decnet routingip routingno clns routingno ipx routingno vines routingno xns routingno apollo routingisdn switch-type basic-5essinterface BRI0shutdownno ip address!interface Ethernet0no shutdownipno mop enabled!interface Serial0shutdown
14、no ip addressend0 Go to the IOS command prompt without saving this config.1 Return back to the setup without saving this config.2 Save this configuration to nvram and exit.Enter your selection 2:1999,Cisco Systems,Inc.ICND4-16Consolewg_ro_cwg_ro_cenablewg_ro_c#wg_ro_c#disablewg_ro_cwg_ro_clogoutwg_r
15、o_c con0 is now availablePress RETURN to get started.用户模式提示用户模式提示特权模式提示特权模式提示登入路由器登入路由器 1999,Cisco Systems,Inc.ICND4-17 只要所输命令串在全部命令中是唯一的,可以将一个命令尽只要所输命令串在全部命令中是唯一的,可以将一个命令尽可能地简写,可能地简写,路由器在用户模式下的命令清单路由器在用户模式下的命令清单wg_ro_c?Exec commands:access-enable Create a temporary Access-List entry atmsig Execute
16、Atm Signalling Commands cd Change current device clear Reset functions connect Open a terminal connection dir List files on given device disable Turn off privileged commands disconnect Disconnect an existing network connection enable Turn on privileged commands exit Exit from the EXEC help Descripti
17、on of the interactive help system lat Open a lat connection lock Lock the terminal login Log in as a particular user logout Exit from the EXEC-More-1999,Cisco Systems,Inc.ICND4-18wg_ro_c#?Exec commands:access-enable Create a temporary Access-List entry access-profile Apply user-profile to interface
18、access-template Create a temporary Access-List entry bfe For manual emergency modes setting cd Change current directory clear Reset functions clock Manage the system clock configure Enter configuration mode connect Open a terminal connection copy Copy from one file to another debug Debugging functio
19、ns(see also undebug)delete Delete a file dir List files on a filesystem disable Turn off privileged commands disconnect Disconnect an existing network connection enable Turn on privileged commands erase Erase a filesystem exit Exit from the EXEC help Description of the interactive help system-More-路
20、由器在特权模式下的命令清单路由器在特权模式下的命令清单只要输入部分命令串只要输入部分命令串(唯一表示某个命令唯一表示某个命令),紧接着按,紧接着按tab键键就可以完整地输入一个命令就可以完整地输入一个命令 1999,Cisco Systems,Inc.ICND4-19show version 命令命令wg_ro_a#show versionCisco Internetwork Operating System Software IOS(tm)2500 Software(C2500-JS-L),Version 12.0(3),RELEASE SOFTWARE(fc1)Copyright(c)19
21、86-1999 by cisco Systems,Inc.Compiled Mon 08-Feb-99 18:18 by phanguyeImage text-base:0 x03050C84,data-base:0 x00001000ROM:System Bootstrap,Version 11.0(10c),SOFTWAREBOOTFLASH:3000 Bootstrap Software(IGS-BOOT-R),Version 11.0(10c),RELEASE SOFTWARE(fc1)wg_ro_a uptime is 20 minutesSystem restarted by re
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- 操作 配置 CiscoIOS
限制150内