思科交换机设置telnet连接

上传人:子 文档编号:43155742 上传时间:2018-06-04 格式:DOC 页数:5 大小:41.50KB
返回 下载 相关 举报
思科交换机设置telnet连接_第1页
第1页 / 共5页
思科交换机设置telnet连接_第2页
第2页 / 共5页
思科交换机设置telnet连接_第3页
第3页 / 共5页
思科交换机设置telnet连接_第4页
第4页 / 共5页
思科交换机设置telnet连接_第5页
第5页 / 共5页
亲,该文档总共5页,全部预览完了,如果喜欢就下载吧!
资源描述

《思科交换机设置telnet连接》由会员分享,可在线阅读,更多相关《思科交换机设置telnet连接(5页珍藏版)》请在金锄头文库上搜索。

1、为思科交换机配置IP,组建小局域网:Switch(config)#interface vlan 1 /进入vlan1 默认vlan 进行管理Switch(config-if)#ip address ip_address subnet_mask /输入交换机IP和子网掩码Switch(config-if)#no shutdown /注意一定要输入这个命令才能使设置生效,激活设置Switch (config)#ip default-gateway ipaddress /设置默认网关实例:Switch(config)#interface vlan 1 Switch(config-if)#ip add

2、ress 10.0.0.60 255.255.255.0Switch(config-if)#no shutdown Switch (config)#ip default-gateway 10.0.0.60PC1:设置10.0.0.61 netmask 255.255.255.0 gw 10.0.0.60PC2:设置 10.0.0.62 netmask 255.255.255.0 gw 10.0.0.60设置好后,就可以通过PC1 PING到 网关交换机 和 PC2 了。思科交换机配置telnetSwitch(config)# line vty0 4 /进入虚拟线程配置模式,在这个模式里可对/t

3、elnet功能进行配置Switch(config-line)# login Switch(config-line)# password XXX /配置telnet密码,默认的网络设备telnet的功能是关闭的,配了密码之后会自动打开Switch(config)# enable password XXX /配置进入enable模式的密码, 区分大小写Switch(config-line)# login Switch(config-line)# password XXX /配置进入用户模式的密码Switch#copy running-config startup-config /保存配置 - 实例

4、:Switch(config)# line vty0 4 Switch(config-line)# loginSwitch(config-line)# password 123 Switch(config)# enable password 123Switch(config-line)# loginSwitch(config-line)# password 123Switch#copy running-config startup-config 设置完成后可以通过PC1 10.0.0.61 连接交换机:PCtelnet 10.0.0.60Trying 10.0.0.60 .OpenUser A

5、ccess VerificationPassword: SwitchenablePassword: Switch#sh ruBuilding configuration.Current configuration : 1157 bytes!version 12.1no service timestamps log datetime msecno service timestamps debug datetime msecno service password-encryption!hostname Switch!enable password 123321!interface FastEthe

6、rnet0/1storm-control broadcast level 1!interface FastEthernet0/2storm-control broadcast level 1!interface FastEthernet0/3!interface FastEthernet0/4!interface FastEthernet0/5!interface FastEthernet0/6!interface FastEthernet0/7!interface FastEthernet0/8!interface FastEthernet0/9!interface FastEthernet

7、0/10!interface FastEthernet0/11!interface FastEthernet0/12!interface FastEthernet0/13!interface FastEthernet0/14!interface FastEthernet0/15!interface FastEthernet0/16!interface FastEthernet0/17!interface FastEthernet0/18!interface FastEthernet0/19!interface FastEthernet0/20!interface FastEthernet0/21!interface FastEthernet0/22!interface FastEthernet0/23!interface FastEthernet0/24!interface GigabitEthernet1/1!interface GigabitEthernet1/2!interface Vlan1ip address 10.0.0.60 255.255.0.0!ip default-gateway 10.0.0.60!line con 0!line vty 0 4password 123321loginline vty 5 15login!endSwitch#

展开阅读全文
相关资源
正为您匹配相似的精品文档
相关搜索

最新文档


当前位置:首页 > 生活休闲 > 科普知识

电脑版 |金锄头文库版权所有
经营许可证:蜀ICP备13022795号 | 川公网安备 51140202000112号