CCNA(Stand-ALONE)Lab 23-Introduction to Basic Switch Commands

简介:
Objective: Become familiar with the basic configuration of the Cisco Catalyst 1912 switch.
Lab Equipment: Switch 1 from the eSwitches menu
Background Reading: Lab Primer Lesson 11: Switches
1. Connect to Switch 1. You should see the user mode prompt.
>

2. Display the list of commands available at this prompt.
>?

3. Now, enter privileged mode.
>enable
#

4. Display the available commands in privileged mode.
#?

5. Enter configuration mode.
#config terminal
(config)#

6. The host name is used for local identifi cation. When you log on to the switch, you see the host name in front of the prompt (if a host name has been configured). The host name can be used to identify the location or function of the switch. Set the switch’s host name to Boson.
(config)#hostname Boson
Boson(config)#

7. The enable password controls access to privileged mode. This is a very important password because when it is configured, only those who know the password can make configuration changes in privileged mode.
There is a difference in the syntax used to set the password for a router and the syntax used to set the password for a switch. On the 1900 series switch, levels need to be set when a password is declared. The different levels allow different sets of people to enter different commands on the switch. The password levels range from 1 to 15. Level 1 allows the user to log in to the router and use very basic show commands. Level 15 allows the user to do anything. The levels in between can be customized by the network administrator to allow certain commands.On Switch1, set the enable password to Krang.

Boson(config)#enable password level 15 Krang

8. Test the password by first exiting the switch and then trying to enter privileged mode.
Notice that you have to provide the enable password in order to get into privileged mode.
Now, type conf term and proceed with the lab instructions in the next step.

Boson(config)#exit
Boson#exit
Boson>enable
Password:
Boson#conf term
Boson(config)#

9. The only problem with the enable password is that it appears in plain text in the switch’s configuration fi le. If you need to obtain assistance while troubleshooting a problem, you may inadvertently compromise the security of your system by revealing the password. Set the enable secret password to cisco. Do not forget to use the level commands.
Boson(config)#enable secret level 15 cisco

10. You can now test this password by logging out of the switch and then trying to access privileged mode. The enable secret password overrides the enable password. If you have set both passwords, the enable secret password is the password you should use to enter privileged mode. The enable password is now deactivated.
Boson(config)#exit
Boson#exit
Boson>enable
Password:
Boson#

***********************************************





本文转自redking51CTO博客,原文链接:http://blog.51cto.com/redking/72499 ,如需转载请自行联系原作者
相关文章
|
人工智能 算法 前端开发
打破传统叙事逻辑,构建基于原子化任务的人机交互
在复杂中后台设计中,为解决配置变更影响多场景问题,提出结合正向和逆向信息架构,采用原子化任务,动态组合任务,降低用户和开发成本,优化体验并改变已有的产品迭代和人机交互模式。未来可能发展为AI自动根据业务规则和用户行为生成最佳方案。
|
API 开发工具 数据安全/隐私保护
API接口的对接流程和注意事项
随着互联网技术的发展和应用的普及,API接口已经成为不同系统、不同应用之间进行交互和数据交换的重要方式。API接口使得不同的系统能够互相调用对方的功能,提高了系统的灵活性和扩展性。但是,在进行API接口对接的过程中,需要注意一些流程和事项,以确保对接的顺利进行和系统的稳定运行。
|
数据库
第二章作业【数据库原理】
第二章作业【数据库原理】
116 0
|
存储 Docker 容器
Docker镜像仓库Docker Registry
官方的Docker hub是一个用于管理公共镜像的好地方,我们可以在上面找到我们想要的镜像,也可以把我们自己的镜像推送上去。但是,有时候我们的服务器无法访问互联网,或者你不希望将自己的镜像放到公网当中,那么你就需要Docker Registry,它可以用来存储和管理自己的镜像。
2847 1
Docker镜像仓库Docker Registry
|
Linux 开发工具 Perl
Linux修改yum源
1)备份原有的默认yum源 [root@bastion-IDC ~]# cp /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo.bak 2)修改CentOS-Base.repo文件。
1844 0
|
缓存 网络协议 数据库
nslookup工具的使用方法
配置好DNS服务器,添加了相应的记录之后,只要IP地址保持不变,一般情况下我们就不再需要去维护DNS的数据文件了。不过在确认域名解释正常之前我们最好是测试一下所有的配置是否正常。
1672 0