Packet Tracer - Configure Initial Switch Settings
Packet Tracer - Configure Initial Switch Settings
Packet Tracer - Configure Initial Switch Settings
© 2015 - 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public Página 1 de 22
www.netacad.com
Packet Tracer - Configure Initial Switch Settings
Part 5: Configure S2
Background / Scenario
In this activity, you will perform basic switch configuration tasks. You will secure access
to the command-line interface (CLI) and console ports using encrypted and plain text
passwords. You will also learn how to configure messages for users logging into the
switch. These message banners are also used to warn unauthorized users that access is
prohibited.
Note: In Packet Tracer, the Catalyst 2960 switch uses IOS version 12.2 by default. If
required, the IOS version can be updated from a file server in the Packet Tracer
topology. The switch can then be configured to boot to IOS version 15.0, if that version
is required.
© 2015 - 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public Página 2 de 22
www.netacad.com
Packet Tracer - Configure Initial Switch Settings
Instructions
Part 1: Verify the Default Switch Configuration
Step 1: Enter privileged EXEC mode.
You can access all switch commands from privileged EXEC mode. However,
because many of the privileged commands configure operating parameters,
privileged access should be password-protected to prevent unauthorized use.
The privileged EXEC command set includes the commands available in user
EXEC mode, many additional commands, and the configure command through
which access to the configuration modes is gained.
Switch> enable
Switch#
© 2015 - 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public Página 3 de 22
www.netacad.com
Packet Tracer - Configure Initial Switch Settings
© 2015 - 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public Página 4 de 22
www.netacad.com
Packet Tracer - Configure Initial Switch Settings
© 2015 - 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public Página 5 de 22
www.netacad.com
Packet Tracer - Configure Initial Switch Settings
Switch(config)# hostname S1
S1(config)# exit
S1#
© 2015 - 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public Página 6 de 22
www.netacad.com
Packet Tracer - Configure Initial Switch Settings
S1(config-line)# login
S1(config-line)# exit
S1(config)# exit
S1#
Exit privileged mode to verify that the console port password is in effect.
S1# exit
S1>
Note: If the switch did not prompt you for a password, then you did not configure
the login parameter in Step 2.
© 2015 - 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public Página 7 de 22
www.netacad.com
Packet Tracer - Configure Initial Switch Settings
Note: The 0 in c1$c0 is a zero, not a capital O. This password will not grade as
correct until after you encrypt it in Step 8.
S1> enable
S1(config)# exit
S1#
© 2015 - 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public Página 8 de 22
www.netacad.com
Packet Tracer - Configure Initial Switch Settings
Password:
c. The first password is the console password you configured for line con 0. Enter
this password to return to user EXEC mode.
e. Enter the second password you configured to protect privileged EXEC mode.
f. Verify your configuration by examining the contents of the running-
configuration file:
© 2015 - 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public Página 9 de 22
www.netacad.com
Packet Tracer - Configure Initial Switch Settings
The enable password should be replaced with the newer encrypted secret
password using the enable secret command. Set the enable secret password to
itsasecret.
S1# config t
S1(config)# exit
S1#
Note: The enable secret password overrides the enable password. If both are
configured on the switch, you must enter the enable secret password to enter
privileged EXEC mode
© 2015 - 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public Página 10 de 22
www.netacad.com
Packet Tracer - Configure Initial Switch Settings
Step 7: Verify that the enable secret password is added to the configuration
file.
Enter the show running-config command again to verify the new enable secret
password is configured.
© 2015 - 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public Página 11 de 22
www.netacad.com
Packet Tracer - Configure Initial Switch Settings
S1# config t
S1(config)# exit
If you configure any more passwords on the switch, will they be displayed
in the configuration file as plain text or in encrypted form?
S1# config t
S1(config)# exit
S1#
© 2015 - 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public Página 12 de 22
www.netacad.com
Packet Tracer - Configure Initial Switch Settings
Building configuration...
[OK]
© 2015 - 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public Página 13 de 22
www.netacad.com
Packet Tracer - Configure Initial Switch Settings
© 2015 - 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public Página 14 de 22
www.netacad.com
Packet Tracer - Configure Initial Switch Settings
© 2015 - 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public Página 15 de 22
www.netacad.com
Packet Tracer - Configure Initial Switch Settings
Show startup-config
Are all the changes that were entered recorded in the file?
Part 5: Configure S2
You have completed the configuration on S1. You will now configure S2. If you
cannot remember the commands, refer to Parts 1 to 4 for assistance.
a. Device name: S2
© 2015 - 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public Página 16 de 22
www.netacad.com
Packet Tracer - Configure Initial Switch Settings
g. Save the configuration file to avoid loss if the switch is powered down.
© 2015 - 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public Página 17 de 22
www.netacad.com
Packet Tracer - Configure Initial Switch Settings
© 2015 - 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public Página 18 de 22
www.netacad.com
Packet Tracer - Configure Initial Switch Settings
© 2015 - 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public Página 19 de 22
www.netacad.com
Packet Tracer - Configure Initial Switch Settings
© 2015 - 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public Página 20 de 22
www.netacad.com
Packet Tracer - Configure Initial Switch Settings
© 2015 - 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public Página 21 de 22
www.netacad.com
Packet Tracer - Configure Initial Switch Settings
© 2015 - 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public Página 22 de 22
www.netacad.com