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#

***********************************************
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值