- 1、本文档共12页,可阅读全部内容。
- 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
- 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
第 PAGE 页码 页码 页 / 总页数 NUMPAGES 总页数 总页数 页
思科交换机的基本配置
随着Internet的高速发展,网络规模不断膨胀,对于从事网络专业的学生熟练掌握路由器和交换机的配置已显得十分重要。接下来是我为大家收集的方法,希望能帮到大家。
的方法
一、交换机的基本配置
Author:chenchao in ZJNU
从本篇文章开始,将连载大概8-9篇自己学习交换与路由的实验报告,但是怕自己能力不行,会出现错误,所以,先载两篇文章,依次为:交换机的基本配置;路由器基本配置。本篇为交换机的基本配置,使用的仿真软件是Cisco的一款免费软件:Cisco Packet Tracer。想学习的可以在百度自行下载。
下面开始附上实验过程:
实验环境:
Cisco 2950交换机1台,Console电缆1根,PC机一台,网线1根。连接如下图所示:
实验步骤:
一、 交换机的带外配置;
1、 在用户模式、特权模式、全局模式、接口模式之间转换;
Switchenable
Switch#configure terminal
Enter configuration commands, one perline. End with CNTL/Z.
Switch(config)#interface FastEthernet 0/1
Switch(config-if)#exit
Switch(config)#exit
Switch#
%SYS-5-CONFIG_I: Configured from console byconsole
Switch#exit
Switch con0 is now available
Press RETURN to get started.
Switch
2、将交换机的名称改为student;
Switch(config)#hostname student
student(config)#
3、 为交换机各个模式设置密码cisco;
特权模式下的密码保护
student#enable
student#configure t
Enter configuration commands, one perline. End with CNTL/Z.
student(config)#enable password cisco
student(config)#enable secret cisco1
远程登录口令设置
student#configure t
Enter configuration commands, one perline. End with CNTL/Z.
student(config)#line console 0
student(config-line)#line vty 0 4
student(config-line)#password cisco2
student(config-line)#login
student(config-line)#
student#
4、为交换机制定一个IP地址10.10.10.X/24;
student#config
Configuring from terminal, memory, ornetwork [terminal]?
Enter configuration commands, one perline. End with CNTL/Z.
student(config)#interface vlan 1
student(config-if)#ip address 10.10.10.1255.0.0.0
5、开启交换机的Telnet服务功能,建立Telnet用户admin,口令cisco,并制定只能从10.10.10.y/24登录Telnet服务器;
student#
student#configure t
Enter configuration commands, one perline. End with CNTL/Z.
student(config)#user admin password 0 cisco
student(config)#
6、 查看配置情况;
studentenable
Password:
student#show running-c
Building configuration...
hostname student
!
enable secret 5$1$mERr$q.
文档评论(0)