0% found this document useful (1 vote)
645 views28 pages

2.7.6 Packet Tracer Implement Basic Connectivity - Es XL

The document provides instructions for configuring basic connectivity on two switches (S1 and S2) and two PCs. The key steps are: 1. Configure hostnames, passwords, and banners on S1 and S2. 2. Set IP addresses on the switches' VLAN 1 interfaces and the PCs' NICs according to the addressing table. 3. Use show commands to verify the configurations and ping to test connectivity between devices on the LAN.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (1 vote)
645 views28 pages

2.7.6 Packet Tracer Implement Basic Connectivity - Es XL

The document provides instructions for configuring basic connectivity on two switches (S1 and S2) and two PCs. The key steps are: 1. Configure hostnames, passwords, and banners on S1 and S2. 2. Set IP addresses on the switches' VLAN 1 interfaces and the PCs' NICs according to the addressing table. 3. Use show commands to verify the configurations and ping to test connectivity between devices on the LAN.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 28

Packet Tracer - Implement Basic Connectivity

Topologia

Addressing Table
Device Interface IP Address Subnet Mask

S1 (Sw-Piso01) VLAN 1 192.168.1.253 255.255.255.0

S2 (Sw-Piso01) VLAN 1 192.168.1.254 255.255.255.0

PC1 NIC 192.168.1.1 255.255.255.0

PC2 NIC 192.168.1.2 255.255.255.0

Objectives
Part 1: Perform a Basic Configuration on S1 and S2
Part 2: Configure the PCs
Part 3: Configure the Switch Management Interface

Background
In this activity, you will first create a basic switch configuration. Then, you will implement basic connectivity by
configuring IP addressing on switches and PCs. When the IP addressing configuration is complete, you will
use various show commands to verify the configuration and use the ping command to verify basic
connectivity between devices.

Instructions Part 1: Perform a Basic Configuration on S1 and S2


Complete the following steps on S1 and S2.

Step 1: Configure S1 with a hostname.


a. Click S1 and then click the CLI tab.

© 2013 - 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public Page 1 of 28 www.netacad.com
b. Enter the correct command to configure the hostname as S1.

- Paso 1: Escribimos “enable” y luego presionamos enter.


Switch>enable

- Paso 2: Escribimos “configure terminal” y luego presionamos enter.


Switch# configure terminal

© 2013 - 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public Page 2 of 28 www.netacad.com
DEFINIMOS (Sw-Piso01) COMO NOMBRE DE HOST.

- Paso 3: Escribimos “hostname Sw-Piso01” y luego presionamos enter.


Switch(config)#hostname Sw-Piso01

Step 2: Configure the console and encrypted privileged EXEC mode passwords.
a. Use cisco(quispe.2023) for the console password.
Paso 1: Escribimos “line console 0” y luego presionamos enter.
Sw-Piso01(config)# line console 0

Paso 2: Escribimos “password quispe.2023” y luego presionamos enter.


Sw-Piso01(config-line)# password quispe.2023

© 2013 - 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public Page 3 of 28 www.netacad.com
Paso 3: Escribimos “login” y presionamos enter.
Sw-Piso01(config-line)#login

Paso 4: Escribimos “exit” y presionamos enter.


Sw-Piso01(config-line)#exit

Paso 5: Luego nos pedirá VERIFICACION DE ACCESO DE USUARIO, el password sera “quispe.2023”
el cual ingresaremos.

b. Use class(luis.2023) for the privileged EXEC mode password.

Paso 1: Escribimos “enable” y presionamos enter.


Sw-Piso01>enable

Paso 2: Escribimos “config ter” y presionamos enter.


© 2013 - 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public Page 4 of 28 www.netacad.com
Sw-Piso01#config ter

Paso 3: Escribimos “enable secret luis.2023” y presionamos enter.


Sw-Piso01(config)#enable secret luis.2023

Paso 4: Escribimos “exit”

Paso 5: Luego nos pedirá VERIFICACION DE ACCESO DE USUARIO- modo EXEC de usuario, el
password sera “quispe.2023” el cual ingresaremos.

Paso 6: Para que nos aparezca el modo EXEC privilegiado escribiremos “enable” y en este caso
ingresaremos el password” luis.2023”

© 2013 - 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public Page 5 of 28 www.netacad.com
Step 3: Verify the password configurations for S1.
Question:

How can you verify that both passwords were configured correctly?
Después de salir del modo EXEC de usuario, el conmutador le solicitará una contraseña para acceder a la
interfaz de la consola y le solicitará una segunda vez cuando acceda al modo EXEC privilegiado. También
puede utilizar el comando show run para ver las contraseñas.
Type your answers here.
Packet Tracer - Implement Basic Connectivity

Step 4: Configure an MOTD banner.


Use an appropriate banner text to warn unauthorized access. The following text is an example:
Authorized access only. Violators will be prosecuted to the full extent of the law.

Paso 1: Escribiré “configure terminal” y presionare enter.

Paso 2: Escribire “banner motd #Solo acceso autorizado. Los infractores serán procesados con todo el
peso de la ley#

Paso 3: Para comprobar que lo realizado este correctamente escribimos “exit” y presionamos enter.

Se muestra el MOTD banner agregado anteriormente y también nos pide una contraseña la cual
será ”quispe.2023”.

© 2013 - 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public Page 6 of 28 www.netacad.com
Cifrar las Contraseñas

Paso 1: Escribiré “configure terminal “y presionare enter.

Paso 2: Escribiré “service password-encryption” y presionare enter.

Paso 3: Escribiré “end” y presionare enter.

© 2013 - 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public Page 7 of 28 www.netacad.com
Paso 3: Escribiré “show running-config” y presionare enter.

© 2013 - 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public Page 8 of 28 www.netacad.com
Step 5: Save the configuration file to NVRAM.
Question:

Which command do you issue to accomplish this step?


Copy run start

Step 6: Repeat Steps 1 to 5 for S2.

Step 1: Configure S2 with a hostname.


c. Click S2 and then click the CLI tab.

d. Enter the correct command to configure the hostname as S2.

- Paso 1: Escribimos “enable” y luego presionamos enter.


Switch>enable
© 2013 - 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public Page 9 of 28 www.netacad.com
- Paso 2: Escribimos “configure terminal” y luego presionamos enter.
Switch# configure terminal

DEFINIMOS (Sw-Piso02) COMO NOMBRE DE HOST.

- Paso 3: Escribimos “hostname Sw-Piso02” y luego presionamos enter.


Switch(config)#hostname Sw-Piso02

© 2013 - 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public Page 10 of 28 www.netacad.com
Step 2: Configure the console and encrypted privileged EXEC mode passwords.
c. Use cisco(quispe.2023) for the console password.
Paso 1: Escribimos “line console 0” y luego presionamos enter.
Sw-Piso02(config)# line console 0

Paso 2: Escribimos “password quispe.2023” y luego presionamos enter.


Sw-Piso02(config-line)# password quispe.2023

Paso 3: Escribimos “login” y presionamos enter.


Sw-Piso02(config-line)#login

© 2013 - 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public Page 11 of 28 www.netacad.com
Paso 4: Escribimos “exit” y presionamos enter.
Sw-Piso02(config-line)#exit

Paso 5: Luego nos pedirá VERIFICACION DE ACCESO DE USUARIO, el password sera “quispe.2023”
el cual ingresaremos.

d. Use class(Luis.2023) for the privileged EXEC mode password.

Paso 1: Escribimos “enable” y presionamos enter.


Sw-Piso02>enable

Paso 2: Escribimos “config ter” y presionamos enter.


Sw-Piso02#config ter

© 2013 - 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public Page 12 of 28 www.netacad.com
Paso 3: Escribimos “enable secret luis.2023” y presionamos enter.
Sw-Piso02(config)#enable secret luis.2023

Paso 4: Escribimos “exit”

Paso 5: Luego nos pedirá VERIFICACION DE ACCESO DE USUARIO- modo EXEC de usuario, el
password sera “quispe.2023” el cual ingresaremos.

© 2013 - 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public Page 13 of 28 www.netacad.com
Paso 6: Para que nos aparezca el modo EXEC privilegiado escribiremos “enable” y en este caso
ingresaremos el password” luis.2023”

Step 3: Verify the password configurations for S1.


Question:

How can you verify that both passwords were configured correctly?
Después de salir del modo EXEC de usuario, el conmutador le solicitará una contraseña para acceder a la
interfaz de la consola y le solicitará una segunda vez cuando acceda al modo EXEC privilegiado. También
puede utilizar el comando show run para ver las contraseñas.
Type your answers here.
Packet Tracer - Implement Basic Connectivity

Step 4: Configure an MOTD banner.


Use an appropriate banner text to warn unauthorized access. The following text is an example:
Authorized access only. Violators will be prosecuted to the full extent of the law.

Paso 1: Escribiré “configure terminal” y presionare enter.

Paso 2: Escribire “banner motd #Solo acceso autorizado. Los infractores serán procesados con todo el
peso de la ley#

© 2013 - 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public Page 14 of 28 www.netacad.com
Paso 3: Para comprobar que lo realizado este correctamente escribimos “exit” y presionamos enter.

Se muestra el MOTD banner agregado anteriormente y también nos pide una contraseña la cual
será ”quispe.2023”.

Cifrar las Contraseñas

Paso 1: Escribiré “configure terminal “y presionare enter.

© 2013 - 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public Page 15 of 28 www.netacad.com
Paso 2: Escribiré “service password-encryption” y presionare enter.

Paso 3: Escribiré “end” y presionare enter.

Paso 3: Escribiré “show running-config” y presionare enter.

© 2013 - 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public Page 16 of 28 www.netacad.com
© 2013 - 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public Page 17 of 28 www.netacad.com
Part 2: Configure the PCs
Configure PC1 and PC2 with IP addresses.

Step 1: Configure both PCs with IP addresses.


a. Click PC1 and then click the Desktop tab.

© 2013 - 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public Page 18 of 28 www.netacad.com
b. Click IP Configuration. In the Addressing Table above, you can see that the IP address for PC1 is
192.168.1.1 and the subnet mask is 255.255.255.0. Enter this information for PC1 in the IP Configuration
window.

c. Repeat steps 1a and 1b for PC2.

- Click PC2 and then click the Desktop tab.

© 2013 - 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public Page 19 of 28 www.netacad.com
- Click IP Configuration. In the Addressing Table above, you can see that the IP address for PC1 is
192.168.1.2 and the subnet mask is 255.255.255.0. Enter this information for PC1 in the IP
Configuration window.

Step 2: Test connectivity to switches.


a. Click PC1. Close the IP Configuration window if it is still open. In the Desktop tab, click Command
Prompt.

© 2013 - 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public Page 20 of 28 www.netacad.com
b. Type the ping command and the IP address for S1 and press Enter.
Packet Tracer PC Command Line 1.0 PC>
ping 192.168.1.253

EN PC2
c. Click PC2. Close the IP Configuration window if it is still open. In the Desktop tab, click Command
Prompt.

© 2013 - 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public Page 21 of 28 www.netacad.com
d. Type the ping command and the IP address for S2 and press Enter.
Packet Tracer PC Command Line 1.0 PC>
ping 192.168.1.254

Were you successful? Explain.


No, todos los paquetes de datos enviados se perdieron y creo que es porque no hay una IP asignada
para los Switch.

Part 3: Configure the Switch Management Interface


Configure S1 and S2 with an IP address.

Step 1: Configure S1(Sw-Piso01) with an IP address.


Switches can be used as plug-and-play devices. This means that they do not need to be configured for them
to work. Switches forward information from one port to another based on MAC addresses.
Question:

If this is the case, why would we configure it with an IP address?


Son IPs estáticas utilizadas para las interfaces virtuales utilizadas en la red.
Use the following commands to configure S1 with an IP address.
Sw-Piso01# configure terminal
Enter configuration commands, one per line. End with CNTL/Z.

© 2013 - 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public Page 22 of 28 www.netacad.com
Packet Tracer - Implement Basic Connectivity

Sw-Piso01(config)# interface vlan 1

Sw-Piso01(config-if)# ip address 192.168.1.253 255.255.255.0

Sw-Piso01(config-if)# no shutdown
%LINEPROTO-5-UPDOWN: Line protocol on Interface Vlan1, changed state to up

Sw-Piso01(config-if)#

Sw-Piso01(config-if)#
end

© 2013 - 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public Page 23 of 28 www.netacad.com
Que

EN SWITCH2
Use the following commands to configure S2(Sw-Piso01) with an IP address.
Sw-Piso02# configure terminal
Enter configuration commands, one per line. End with CNTL/Z.

Sw-Piso02(config)# interface vlan 1

Sw-Piso02(config-if)# ip address 192.168.1.254 255.255.255.0

Sw-Piso02(config-if)# no shutdown
%LINEPROTO-5-UPDOWN: Line protocol on Interface Vlan1, changed state to up

Sw-Piso02(config-if)#

© 2013 - 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public Page 24 of 28 www.netacad.com
Sw-Piso02(config-
if)#end

Why do you enter the no shutdown command?


Al contrario de lo que parece, el comando cambia el estado de la interfaz de abajo a arriba.

Step 2: Configure S2 with an IP address.


Use the information in the Addressing Table to configure S2 with an IP address.

Step 3: Verify the IP address configuration on S1 and S2.


Use the show ip interface brief command to display the IP address and status of all the switch ports and
interfaces. You can also use the show running-config command.

Step 4: Save configurations for S1 and S2 to NVRAM.


Question:

Which command is used to save the configuration file in RAM to NVRAM?


Copy run start

Step 5: Verify network connectivity.


Network connectivity can be verified using the ping command. It is very important that connectivity exists
throughout the network. Corrective action must be taken if there is a failure. Ping S1 and S2 from PC1 and
PC2.
a. Click PC1 and then click the Desktop tab.

© 2013 - 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public Page 25 of 28 www.netacad.com
b. Click Command Prompt.

c. Ping the IP address for PC2.

© 2013 - 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public Page 26 of 28 www.netacad.com
d. Ping the IP address for S1.
- Desde la PC1 al S1

- Desde la PC2 al S1.

e. Ping the IP address for S2.


- Desde la PC1 al S2.

© 2013 - 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public Page 27 of 28 www.netacad.com
- Desde la PC2 al S2

Note: You can also use the ping command on the switch CLI and on PC2.
All pings should be successful. If your first ping result is 80%, try again. It should now be 100%. You will learn
why a ping may sometimes fail the first time later in your studies. If you are unable to ping any of the devices,
recheck your configuration for errors.
End of Document

© 2013 - 2019 Cisco and/or its affiliates. All rights reserved. Cisco Public Page 28 of 28 www.netacad.com

You might also like