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接口对接的过程中,需要注意一些流程和事项,以确保对接的顺利进行和系统的稳定运行。
|
数据库
第二章作业【数据库原理】
第二章作业【数据库原理】
219 0
|
11天前
|
人工智能 自然语言处理 文字识别
阿里云百炼Qwen3.7-Max简介:能力、优势、支持订阅计划参考
Qwen3.7-Max是阿里云百炼面向智能体时代推出的新一代旗舰模型,对标GPT-5.5、Claude Opus 4.7等闭源旗舰。该模型支持百万级token上下文窗口,具备顶级推理能力、多模态搜索与视觉理解增强、流式输出低延迟响应等核心优势,覆盖编程、办公、长周期自主执行等复杂场景。同时支持OpenAI接口兼容,便于系统快速迁移。用户可通过Token Plan团队或节省计划等订阅方式灵活调用,适合企业级高要求场景使用。
4538 23
阿里云百炼Qwen3.7-Max简介:能力、优势、支持订阅计划参考
|
6天前
|
存储 定位技术 数据库
CodeGraph 如何让 Claude Code减少 7 成工具调用?
CodeGraph 为 Coding Agent 提供本地代码知识图谱,把函数、类、调用链和框架路由提前整理成“项目地图”,减少盲目搜索和文件读取。它不是新 Agent,而是上下文基础设施,让 Agent 更快找到正确代码路径,平均减少 7 成工具调用。
829 0
|
13天前
|
人工智能 自然语言处理 供应链