




已阅读5页,还剩37页未读, 继续免费阅读
版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
2 3网络设备的配置基础 CiscoIOS软件 功能 能承载所选网络协议和功能连通性 允许在设备间高速传输数据安全性 可控制访问并禁止未经授权使用网络可扩展性 可根据网络规模变化来增加接口和容量可靠性 能确保可靠地访问网络资源 配置网络设备 初始默认设置足以保证交换机在第二层运行 如果Cisco设备的内存中没有配置信息 那么它将提示您进行初始配置 其它配置任务通过以下信息来设置设备 协议编址和参数设置管理选项 Cisco设备启动概述 外部配置源 配置的来源多种多样 配置将在设备内存中发挥作用 具体配置步骤如下 1 如图2 38所示 用随机提供的配置电缆连接交换机Console端口和计算机的COM端口 6 2 开启交换机和计算机电源 进入Windows系统 执行 开始 所有程序 附件 通信 超级终端 命令进行操作 首先打开的是如图2 39所示的 连接说明 对话框 在其中为该终端连接指定一个连接名称 也可以选择一个连接图标 7 3 单击 确定 按钮 进入如图2 40所示的对话框 在其中选择该连接中交换机设备所使用的计算机通信端口 在 连接时使用 下拉列表中选择即可 8 4 单击 确定 按钮 进入如图2 41所示的对话框 在其中可以配置该连接的具体参数 只需在 波特率 下拉列表中选择9600 串口连接速率 其他按默认设置即可 9 2 远程配置方式 本地配置需要使用专门的Console端口进行 远程配置则可通过交换机的普通端口进行 如果是堆叠型的 也可以把几台交换机堆在一起进行配置 这时它们实际上是一个整体 一般只有一台交换机具有网管能力 同时 远程配置方式中不再需要超级终端软件 而是以Telnet程序或Web浏览器方式实现与被管理交换机的通信 因为本地配置方式中已为交换机配置好了IP地址 具体的配置方法将在后面介绍 所以可以通过IP地址与交换机进行通信 10 CLI可用于输入命令 不同网络互联设备上的操作各不相同 用户可在控制台命令模式下输入或粘贴条目 各命令模式的提示符各不相同 Enter键可以指示设备解析和执行命令 两大EXEC模式为用户模式和特权模式 CiscoIOS用户界面功能 配置方式 EXEC模式 用户模式对交换机和路由器的有限操作命令提示符为主机名 主要有两个命令模式提供命令键入 模式一 EXEC模式 续 特权 或enabled 模式对交换机和路由器更深入的操作有配置和监视权力是进入其它配置模式的前提命令提示符为主机名 模式二 也是最常用的模式 交换机命令行的帮助工具 对上下文敏感的帮助 对上下文敏感的帮助 续 查看配置 显示当前配置及已保存的配置 showrunning config命令和showstartup config命令 Catalyst2950Switch启动界面 SystemConfigurationDialog Atanypointyoumayenteraquestionmark forhelp Usectrl ctoabortconfigurationdialogatanyprompt Defaultsettingsareinsquarebrackets Continuewithconfigurationdialog yes no yesEnterIPaddress ip addressEnterIPnetmask ip netmaskWouldyouliketoenteradefaultgatewayaddress yes yesIPaddressofthedefaultgateway ip addressEnterahostname host nameEnterenablesecret secret passwordWouldyouliketoconfigureaTelnetpassword yes yesEnterTelnetpassword telnet passwordWouldyouliketoenableasaclustercommandswitch noEnterclustername cls name LoggingIntotheSwitchandEnteringtheEnablePassword ConfigurationModes Globalconfigurationmodewg sw a configureterminalwg sw a config Interfaceconfigurationmodewg sw a config interfacee0 1wg sw a config if ConfiguringtheSwitch Setsthelocalidentityfortheswitch ConfiguringSwitchIdentification 配置交换机的管理IP地址SW2950 config interfacevlan1SW2950 config if ipaddress10 1 1 1255 255 255 0SW2950 config if noshutdown配置交换机的网关Switch config ipdefault gateway ipaddress 例如 SW2950 config ipdefault gateway10 1 1 254 ConfiguringtheSwitchIPAddress ShowingSwitchInitialStartupStatus wg sw a showversion Displaystheconfigurationofthesystemhardware softwareversion namesandsourcesofconfigurationfiles andbootimages wg sw a showrunning configuration Displaystheswitch scurrentactiveconfigurationfile wg sw a showinterfaces Displaysstatisticsforallinterfacesconfiguredontheswitch SwitchshowversionCommand sw2950 showversionCiscoInternetworkOperatingSystemSoftwareIOS tm C2950Software C2950 I6Q4L2 M Version12 1 14 EA1a RELEASESOFTWARE fc1 Copyright c 1986 2003byciscoSystems Inc CompiledTue02 Sep 0303 33byantoninoImagetext base 0 x80010000 data base 0 x805C0000ROM BootstrapprogramisCALHOUNbootloadersw2950uptimeis1minuteSystemreturnedtoROMbypower onSystemimagefileis flash c2950 i6q4l2 mz 121 14 EA1a bin ciscoWS C2950 24 RC32300 processorwith20710Kbytesofmemory Lastresetfromsystem resetRunningStandardImage24FastEthernet IEEE802 3interface s 32Kbytesofflash simulatednon volatileconfigurationmemory BaseethernetMACAddress 00 0F 72 DB 4E C0Motherboardserialnumber FOC0813Y1H6Configurationregisteris0 xF sw2950 showinterfacesfastEthernet0 1FastEthernet0 1isdown lineprotocolisdown notconnect HardwareisFastEthernet addressis000f 72db 4ec1 bia000f 72db 4ec1 MTU1500bytes BW10000Kbit DLY1000usec reliability255 255 txload1 255 rxload1 255EncapsulationARPA loopbacknotsetKeepaliveset 10sec Auto duplex Auto speedinputflow controlisoff outputflow controlisoffARPtype ARPA ARPTimeout04 00 00Lastinputnever output00 14 53 outputhangnever More SwitchshowinterfacesCommand 路由器的简单配置 任何时侯按Ctrl C退出对话模式 Router setup SystemConfigurationDialog Continuewithconfigurationdialog yes no yesAtanypointyoumayenteraquestionmark forhelp Usectrl ctoabortconfigurationdialogatanyprompt Defaultsettingsareinsquarebrackets Basicmanagementsetupconfiguresonlyenoughconnectivityformanagementofthesystem extendedsetupwillaskyoutoconfigureeachinterfaceonthesystemWouldyouliketoenterbasicmanagementsetup yes no no 出厂时的缺省配置 SetupInterfaceSummary First wouldyouliketoseethecurrentinterfacesummary yes InterfaceIP AddressOK MethodStatusProtocolBRI0unassignedYESunsetadministrativelydowndownBRI0 1unassignedYESunsetadministrativelydowndownBRI0 2unassignedYESunsetadministrativelydowndownEthernet0unassignedYESunsetadministrativelydowndownSerial0unassignedYESunsetadministrativelydowndown InterfacesFoundDuringStartup SetupInitialGlobalParameters Configuringglobalparameters Enterhostname Router wg ro cTheenablesecretisapasswordusedtoprotectaccesstoprivilegedEXECandconfigurationmodes Thispassword afterentered becomesencryptedintheconfiguration Enterenablesecret ciscoTheenablepasswordisusedwhenyoudonotspecifyanenablesecretpassword withsomeoldersoftwareversions andsomebootimages Enterenablepassword sanfranThevirtualterminalpasswordisusedtoprotectaccesstotherouteroveranetworkinterface Entervirtualterminalpassword sanjoseConfigureSNMPNetworkManagement no SetupInitialProtocolConfigurations ConfigureLAT yes noConfigureAppleTalk no ConfigureDECnet no ConfigureIP yes ConfigureIGRProuting yes noConfigureRIProuting no ConfigureCLNS no ConfigureIPX no ConfigureVines no ConfigureXNS no ConfigureApollo no SetupInterfaceParameters BRIinterfaceneedsisdnswitch typetobeconfiguredValidswitchtypesare 0 none Onlyifyoudon twanttoconfigureBRI 1 basic 1tr6 1TR6switchtypeforGermany 2 basic 5ess ATmaskis 24DoyouwanttoconfigureSerial0interface no SetupScriptReviewandUse Thefollowingconfigurationcommandscriptwascreated hostnameRouterenablesecret5 1 CCk 4r7zDwDNeqkxFO kJxC3G0enablepasswordsanfranlinevty04passwordsanjosenosnmp server noappletalkroutingnodecnetroutingiproutingnoclnsroutingnoipxroutingnovinesroutingnoxnsroutingnoapolloroutingisdnswitch typebasic 5ess interfaceBRI0shutdownnoipaddress interfaceEthernet0noshutdownipaddress10 1 1 31255 255 255 0nomopenabled interfaceSerial0shutdownnoipaddressend 0 GototheIOScommandpromptwithoutsavingthisconfig 1 Returnbacktothesetupwithoutsavingthisconfig 2 Savethisconfigurationtonvramandexit Enteryourselection 2 LoggingIntotheRouter Youcanabbreviateacommandtothefewestcharactersthatmakeauniquecharacterstring RouterUser ModeCommandList wg ro c Execcommands access enableCreateatemporaryAccess ListentryatmsigExecuteAtmSignallingCommandscdChangecurrentdeviceclearResetfunctionsconnectOpenaterminalconnectiondirListfilesongivendevicedisableTurnoffprivilegedcommandsdisconnectDisconnectanexistingnetworkconnectionenableTurnonprivilegedcommandsexitExitfromtheEXEChelpDescriptionoftheinteractivehelpsystemlatOpenalatconnectionlockLocktheterminalloginLoginasaparticularuserlogoutExitfromtheEXEC More wg ro c Execcommands access enableCreateatemporaryAccess Listentryaccess profileApplyuser profiletointerfaceaccess templateCreateatemporaryAccess ListentrybfeFormanualemergencymodessettingcdChangecurrentdirectoryclearResetfunctionsclockManagethesystemclockconfigureEnterconfigurationmodeconnectOpenaterminalconnectioncopyCopyfromonefiletoanotherdebugDebuggingfunctions seealso undebug deleteDeleteafiledirListfilesonafilesystemdisableTurnoffprivilegedcommandsdisconnectDisconnectanexistingnetworkconnectionenableTurnonprivilegedcommandseraseEraseafilesystemexitExitfromtheEXEChelpDescriptionoftheinteractivehelpsystem More Youcancompleteacommandstringbyenteringtheuniquecharacterstring thenpressingtheTabkey RouterPrivileged ModeCommandList Overvi
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 2025年事业单位工勤技能-浙江-浙江假肢制作装配工一级(高级技师)历年参考题库含答案解析(5套)
- 2025年事业单位工勤技能-河南-河南水文勘测工三级(高级工)历年参考题库典型考点含答案解析
- 2025年事业单位工勤技能-河南-河南护理员五级(初级工)历年参考题库典型考点含答案解析
- 2025年事业单位工勤技能-河南-河南印刷工一级(高级技师)历年参考题库典型考点含答案解析
- 2025年事业单位工勤技能-河北-河北药剂员四级(中级工)历年参考题库含答案解析(5套)
- 2025年事业单位工勤技能-河北-河北林木种苗工四级(中级工)历年参考题库含答案解析
- 2025年事业单位工勤技能-江西-江西放射技术员二级(技师)历年参考题库含答案解析(5套)
- 2025年事业单位工勤技能-江西-江西中式烹调师四级(中级工)历年参考题库含答案解析(5套)
- 2025年事业单位工勤技能-广西-广西有线广播电视机务员三级(高级工)历年参考题库含答案解析
- 2025年事业单位工勤技能-广西-广西垃圾清扫与处理工一级(高级技师)历年参考题库典型考点含答案解析
- HG+20231-2014化学工业建设项目试车规范
- 《百变扭扭棒》大班艺术课件
- FZT 73013-2017 针织泳装行业标准
- 软件开发功能验收表
- 生产部门年度经营计划
- 售后工程师的安全意识与操作规范
- 热力公司入户维修培训课件
- 给予肠内营养支持品管圈课件
- 2024-2025年全国初中化学竞赛试卷及答案
- 躺平与内卷现象看法
- 浆膜腔积液细胞病理学国际报告系统
评论
0/150
提交评论