Basic Switch Part1
Basic Switch Part1
Objective
Learn the commands necessary to configure a Cisco Catalyst 1912 switch. Configure the appropriate settings on
Switch1.
Lab 11 Topology
The lab topology displays information about the network devices in the lab.
e0
e0
R o u te r2
e1
e0
R o u te r3
s1
R o u te r1
s0
R o u te r5
s0
e0
s0
fa 0 /1
R o u te r4
S w itch 2
e0
e 0 /1
e 0 /2
S w itch1
P C1
Command Summary
Command
configure terminal
disable
enable password level level password
enable secret [level level] password
enable
Description
enters global configuration mode from privileged EXEC mode
returns to user EXEC mode
sets the enable password on a switch with a level for which the password
applies
sets the enable secret password on a switch with an optional level for
which the password applies
enters privileged EXEC mode
Command
end
hostname host-name
show running-config
Description
ends and exits configuration mode
sets the device name
displays the active configuration file
Lab Tasks
Task 1: Load the Initial Network Configuration
Make sure that the correct topology and configuration files for this lab are loaded. This will occur automatically when
you load this lab buy using the Lab Navigator.
When the lab has finished loading, select Switch1. Click inside the Switch1 window, and press the ENTER key.
Press Enter to Start
>
2.
Notice that, by default, the Cisco Catalyst 1912 switch contains no host name at the prompt. Type a question
mark (?) to display a list of commands that can be issued from user EXEC mode.
>?
enable
exit
help
ping
show
traceroute
3.
Like on routers, you can enter privileged EXEC mode by issuing the enable command. Enter privileged EXEC
mode.
>enable
#
4.
5.
Reset functions
Enter configuration mode
Copy configuration or firmware
Reset configuration
Turn off privileged commands
Exit from the EXEC
Send echo messages
Halt and perform warm start
Show running system information
Trace route to destination
Like on routers, you can issue the configure terminal command to enter global configuration mode on a switch.
Enter the configure terminal command.
#configure terminal
(config)#
6.
Issuing the question mark will display the list of commands available in the global configuration mode.
(config)#?
banner
cdp
enable
end
exit
hostname
interface
ip
line
mac-address-table
rip
service
spantree
switching-mode
uplink-fast
vlan
vlan-membership
vtp
7.
The majority of the commands that you find on a switch have the same function as those on a router. The host
name of a switch is typically configured to enable you to determine the switchs location or function within the
network. Configure Switch1 with a host name of Switch1.
(config)#hostname Switch1
Switch1(config)#
8.
9.
2.
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 switches, 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 through 15. Level 1 allows the user to log in to the router and use 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. Configure level 15, and set the enable password to boson.
Switch1(config)#enable password level 15 boson
3.
The enable password is stored in plain text in the switchs configuration file. If you need to obtain assistance
while troubleshooting a problem, you might inadvertently compromise the security of the system by revealing
the password. The enable secret password is stored as encrypted text in the switchs configuration file. Set the
enable secret password to cisco. Configuring enable secret passwords also requires that you configure a level.
Switch1(config)#enable secret level 15 cisco
4.
5.
Enable passwords and enable secret passwords work the same as they do on routers. Since both the enable
password and the enable secret password are configured on Switch1, which password will be used when a user
attempts to enter privileged EXEC mode? _________________________________________________
6.
Enter privileged EXEC mode by using the password you configured above.
Switch1>enable
Password:
Switch1#
Lab Solutions
Task 1: Load the Initial Network Configuration
No solution is required.
1.
No solution is required.
2.
No solution is required.
3.
No solution is required.
4.
No solution is required.
5.
No solution is required.
6.
When both an enable password and enable secret password are configured on a switch, the enable secret
password will be used.