思科交换机设置telnet连接

思科交换机设置telnet连接

ID:41340572

大小:41.51 KB

页数:5页

时间:2019-08-22

思科交换机设置telnet连接_第1页
思科交换机设置telnet连接_第2页
思科交换机设置telnet连接_第3页
思科交换机设置telnet连接_第4页
思科交换机设置telnet连接_第5页
资源描述:

《思科交换机设置telnet连接》由会员上传分享,免费在线阅读,更多相关内容在行业资料-天天文库

1、为思科交换机配置IP,组建小局域网:Switch(config)#interfacevlan1 //进入vlan1默认vlan进行管理Switch(config-if)#ipaddressip_addresssubnet_mask //输入交换机IP和子网掩码Switch(config-if)#noshutdown//注意一定要输入这个命令才能使设置生效,激活设置Switch(config)#ipdefault-gatewayipaddress //设置默认网关实例:Switch(config)#interfacevlan1 Switch(config-if)#ipaddr

2、ess10.0.0.60255.255.255.0Switch(config-if)#noshutdownSwitch(config)#ipdefault-gateway10.0.0.60PC1:设置10.0.0.61netmask255.255.255.0gw10.0.0.60PC2:设置10.0.0.62netmask255.255.255.0gw10.0.0.60设置好后,就可以通过PC1PING到网关交换机和PC2了。思科交换机配置telnetSwitch(config)#linevty04//进入虚拟线程配置模式,在这个模式里可对//telnet功能进行配置Swi

3、tch(config-line)#loginSwitch(config-line)#passwordXXX//配置telnet密码,默认的网络设备telnet的功能是关闭的,配了密码之后会自动打开Switch(config)#enablepasswordXXX//配置进入enable模式的密码,区分大小写Switch(config-line)#loginSwitch(config-line)#passwordXXX//配置进入用户模式的密码Switch#copyrunning-configstartup-config//保存配置-----------------------

4、-------------------------------------------------------------------------------实例:Switch(config)#linevty04Switch(config-line)#loginSwitch(config-line)#password123Switch(config)#enablepassword123Switch(config-line)#loginSwitch(config-line)#password123Switch#copyrunning-configstartup-config设

5、置完成后可以通过PC110.0.0.61连接交换机:PC>telnet10.0.0.60Trying10.0.0.60...OpenUserAccessVerificationPassword:Switch>enablePassword:Switch#shruBuildingconfiguration...Currentconfiguration:1157bytes!version12.1noservicetimestampslogdatetimemsecnoservicetimestampsdebugdatetimemsecnoservicepassword-encryp

6、tion!hostnameSwitch!enablepassword123321!!!interfaceFastEthernet0/1storm-controlbroadcastlevel1!interfaceFastEthernet0/2storm-controlbroadcastlevel1!interfaceFastEthernet0/3!interfaceFastEthernet0/4!interfaceFastEthernet0/5!interfaceFastEthernet0/6!interfaceFastEthernet0/7!interfaceFastEth

7、ernet0/8!interfaceFastEthernet0/9!interfaceFastEthernet0/10!interfaceFastEthernet0/11!interfaceFastEthernet0/12!interfaceFastEthernet0/13!interfaceFastEthernet0/14!interfaceFastEthernet0/15!interfaceFastEthernet0/16!interfaceFastEthernet0/17!interfaceFastEther

当前文档最多预览五页,下载文档查看全文

此文档下载收益归作者所有

当前文档最多预览五页,下载文档查看全文
温馨提示:
1. 部分包含数学公式或PPT动画的文件,查看预览时可能会显示错乱或异常,文件下载后无此问题,请放心下载。
2. 本文档由用户上传,版权归属用户,天天文库负责整理代发布。如果您对本文档版权有争议请及时联系客服。
3. 下载前请仔细阅读文档内容,确认文档内容符合您的需求后进行下载,若出现内容与标题不符可向本站投诉处理。
4. 下载文档时可能由于网络波动等原因无法下载或下载错误,付费完成后未能成功下载的用户请联系客服处理。