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 ,如需转载请自行联系原作者
相关文章
|
6月前
Cannot find a valid license key for ISIS Professional on this computer . this license Manager report
Cannot find a valid license key for ISIS Professional on this computer . this license Manager report

热门文章

最新文章