思科交换机设置telnet连接_第1页
思科交换机设置telnet连接_第2页
思科交换机设置telnet连接_第3页
思科交换机设置telnet连接_第4页
思科交换机设置telnet连接_第5页
已阅读5页,还剩1页未读 继续免费阅读

下载本文档

版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领

文档简介

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  Switc

2、h(config-if#ip address 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 /进入虚拟线程

3、配置模式,在这个模式里可对/telnet功能进行配置Switch(config-line# loginSwitch(config-line# password XXX /配置telnet密码,默认的网络设备telnet的功能是关闭的,配了密码之后会自动打开Switch(config# enable password XXX /配置进入enable模式的密码, 区分大小写Switch(config-line# loginSwitch(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 连接交换机:PC>telnet 10.0.0.60Trying 10.0.0.60 .OpenU

5、ser Access VerificationPassword: Switch>enablePassword: 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

6、 FastEthernet0/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 Fas

7、tEthernet0/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

温馨提示

  • 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
  • 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
  • 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
  • 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
  • 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
  • 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
  • 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

评论

0/150

提交评论