欢迎来到天天文库
浏览记录
ID:52481944
大小:1.39 MB
页数:47页
时间:2020-04-08
《交换机及配置方法.ppt》由会员上传分享,免费在线阅读,更多相关内容在教育资源-天天文库。
1、©2002,CiscoSystems,Inc.Allrightsreserved.配置交换机CatalystSwitch产品系列1900290029503550400060008500ConfiguringSwitchCiscoIOSInternetworkingOperatingSoftwareCiscoIOSCisco’sIOSsoftwaredeliversnetworkservicesandenablesnetworkedapplications.CiscoInternetworkOperatingSystem(IOS)Softwa
2、reOhNo!I’vegottoprogramaswitch!WhatdoIhavetodo计算机连接到控制台接口(ComputerConnecttoConsolePort)通过超级终端登录Console口接终端或运行终端仿真软件的微机第一次设置必须通过第一种方式进行,此时终端的硬件设置如下:波特率:9600数据位:8停止位:1奇偶校验:无switch>switch>enableswitch#disableswitch>switch#configtLogontotheswitch1.支持命令简写2.支持命令补全3.支持问号功能工作模式用户
3、模式(>)特权模式(#)全局模式(switch(config)#)接口模式Switch(config-if)usermode(用户)Thisisalook-onlymodeinwhichtheusercanviewsomeinformationabouttheswitch,butcannotmakechanges.这是一种“只能查看”的模式,用户只能查看一些有关交换机的信息,不能更改。privilegedmode(特权)Thismodesupportsthedebuggingandtestingcommands,detailedexamin
4、ationoftheswitch,manipulationofconfigurationfiles,andaccesstoconfigurationmodes.这种模式支持调试和测试命令,支持对交换机的详细检查、对配置文件的操作,并且可以由此进入配置模式。globalconfigurationmode(全局)Thismodeimplementspowerfulone-linecommandsthatperformsimpleconfigurationtasks.这种模式提供了强大的单行命令,可以完成简单的配置任务。Nametheswitch
5、!Switch(config)#hostnameLab-AStepOneend;直接退回到特权模式exit:退回到上一级PasswordprotectthePrivilegeModeStepTwoLab-A(config)#enablepasswordciscoshowrunenablepasswordciscoResultsin:PasswordSwitchmandsPasswordprotectthePrivilegeModeStepThreeLab-A(config)#enablesecretciscoShowrunenablesec
6、ret5$1$emBK$WxqLahy7YOAf0nifub.hUResultsin:PasswordSwitchmandsControlAccessControlandsecureaccessfrom:CONSOLEVTY(telnet)AUX(modem)ControlAccessStepFourLab-A(config)#lineconsole0Lab-A(config-line)#passwordcisco(Notepromptchange)Lab-A(config-line)#loginLogin(telnet)Lab-A(con
7、fig)#linevty04进入到线性模式04表示5个终端Lab-A(config-line)#passwordcisco设置远程登录密码Lab-A(config-line)#login需要登录Lab-A(config-line)#privlevel15设定登录优先级(typingtheword“exit”attheprompttakesyouuponelevel)Lab-A#showrunwillgivethefollowingresults:linecon0passwordciscologintransportinputnoneline
8、aux0linevty04passwordciscologin1.copyrunning-configstartup-configrunning-config:存在RAM中,掉电
此文档下载收益归作者所有