预览加载中,请您耐心等待几秒...
1/7
2/7
3/7
4/7
5/7
6/7
7/7

在线预览结束,喜欢就下载吧,查找使用更方便

如果您无法下载资料,请参考说明:

1、部分资料下载需要金币,请确保您的账户上有足够的金币

2、已购买过的文档,再次下载不重复扣费

3、资料包下载后请先用软件解压,在使用对应软件打开

交换机Telnet远程登录的设置实验 学院理学院专业电子信息科学与技术班级2012级 学号201217104028姓名王慧实验时间: 一、实验目的 掌握采用telnet方式配置交换机的方法 实验仪器设备及软件 模拟软件PacketTracer6.2 Win7操作系统 交换机1台与PC机1台 实验方案 网络拓扑图 实验步骤 1、配置交换机的管理IP地址 Switch(config)#interfacevlan1 Switch(config-if)#ipaddress192.168.1.1255.255.255.0Switch(config-if)#noshutdown%LINK-5-CHANGED:InterfaceVlan1,changedstatetoupSwitch(config-if)#%LINEPROTO-5-UPDOWN:LineprotocolonInterfaceVlan1,changedstatetoupSwitch(config-if)#exit 2、设置进入特权模式的密码 Switch(config)#enablepassword123456Switch(config)#lineconsole?<0-0>FirstLinenumber 3、设置通过console端口连接设备的密码 Switch(config)#lineconsole0Switch(config-line)#password123Switch(config-line)#loginSwitch(config-line)#exitSwitch(config)#linevty?<0-15>FirstLinenumber 4、设置telnet远程登录密码 Switch(config)#linevty04Switch(config-line)#password123Switch(config-line)#loginSwitch(config-line)#endSwitch#%SYS-5-CONFIG_I:Configuredfromconsolebyconsole 5、查看配置情况 Switch#showrunning-configBuildingconfiguration...Currentconfiguration:1064bytes!version12.2noservicetimestampslogdatetimemsecnoservicetimestampsdebugdatetimemsecnoservicepassword-encryption!hostnameSwitch!enablepassword123456!!!interfaceFastEthernet0/1!......!interfaceFastEthernet0/24!interfaceGigabitEthernet1/1!interfaceGigabitEthernet1/2!interfaceVlan1ipaddress192.168.1.1255.255.255.0!!linecon0 passwordasdflogin !linevty04passwordabc123loginlinevty515login!!endSwitch# 实验结果及分析 1、验证通过console端口连接设备的密码 PressRETURNtogetstarted.UserAccessVerificationPassword: Switch> 2、验证进入特权模式的密码 Switch>enPassword: Switch# 3、验证telnet远程登录密码 a.给PC机设置IP地址 b.打开CommandPrompt PacketTracerPCCommandLine1.0 PC>ipconfig IPAddress......................:192.168.1.2 SubnetMask.....................:255.255.255.0 DefaultGateway.................:192.168.1.1 PC>ping192.168.1.1 Pinging192.168.1.1with32bytesofdata: Requesttimedout. Replyfrom192.168.1.1:bytes=32time=32msTTL=255 Replyfrom192.168.1.1:bytes=32time=32msTTL=255 Replyfrom192.168.1.1:bytes=32time=31msTTL=255 Pingstatisticsfor192.168.1.1: Packets:Sent=4,Rec