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接口对接的过程中,需要注意一些流程和事项,以确保对接的顺利进行和系统的稳定运行。
|
数据库
第二章作业【数据库原理】
第二章作业【数据库原理】
190 0
|
5天前
|
人工智能 JSON 监控
Claude Code 源码泄露:一份价值亿元的 AI 工程公开课
我以为顶级 AI 产品的护城河是模型。读完这 51.2 万行泄露的源码,我发现自己错了。
3955 9
|
15天前
|
人工智能 JSON 机器人
让龙虾成为你的“公众号分身” | 阿里云服务器玩Openclaw
本文带你零成本玩转OpenClaw:学生认证白嫖6个月阿里云服务器,手把手配置飞书机器人、接入免费/高性价比AI模型(NVIDIA/通义),并打造微信公众号“全自动分身”——实时抓热榜、AI选题拆解、一键发布草稿,5分钟完成热点→文章全流程!
11599 134
让龙虾成为你的“公众号分身” | 阿里云服务器玩Openclaw
|
3天前
|
人工智能 数据可视化 安全
王炸组合!阿里云 OpenClaw X 飞书 CLI,开启 Agent 基建狂潮!(附带免费使用6个月服务器)
本文详解如何用阿里云Lighthouse一键部署OpenClaw,结合飞书CLI等工具,让AI真正“动手”——自动群发、生成科研日报、整理知识库。核心理念:未来软件应为AI而生,CLI即AI的“手脚”,实现高效、安全、可控的智能自动化。
1406 5
王炸组合!阿里云 OpenClaw X 飞书 CLI,开启 Agent 基建狂潮!(附带免费使用6个月服务器)
|
15天前
|
人工智能 IDE API
2026年国内 Codex 安装教程和使用教程:GPT-5.4 完整指南
Codex已进化为AI编程智能体,不仅能补全代码,更能理解项目、自动重构、执行任务。本文详解国内安装、GPT-5.4接入、cc-switch中转配置及实战开发流程,助你从零掌握“描述需求→AI实现”的新一代工程范式。(239字)
7909 139
|
5天前
|
人工智能 自然语言处理 数据挖掘
零基础30分钟搞定 Claude Code,这一步90%的人直接跳过了
本文直击Claude Code使用痛点,提供零基础30分钟上手指南:强调必须配置“工作上下文”(about-me.md+anti-ai-style.md)、采用Cowork/Code模式、建立标准文件结构、用提问式提示词驱动AI理解→规划→执行。附可复制模板与真实项目启动法,助你将Claude从聊天工具升级为高效执行系统。

热门文章

最新文章