Cisco Lab :building A Simple Network With Answers
Cisco Lab :building A Simple Network With Answers
Topology
Addressing Table
Device
Interface
IP Address
Subnet Mask
Default Gateway
S1
VLAN 1
N/A
N/A
N/A
S2
VLAN 1
N/A
N/A
N/A
PC-A
NIC
192.168.1.10
255.255.255.0
N/A
PC-B
NIC
192.168.1.11
255.255.255.0
N/A
Objectives
Part 1: Set Up the Network Topology (Ethernet only)
Configure each switch with hostname, local passwords, and login banner.
2013 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public.
Page 1 of 14
Background / Scenario
Networks are constructed of three major components: hosts, switches, and routers. In this lab, you will build a
simple network with two hosts and two switches. You will also configure basic settings including hostname,
local passwords, and login banner. Use show commands to display the running configuration, IOS version,
and interface status. Use the copy command to save device configurations.
You will apply IP addressing for this lab to the PCs to enable communication between these two devices. Use
the ping utility to verify connectivity.
Note: The switches used are Cisco Catalyst 2960s with Cisco IOS Release 15.0(2) (lanbasek9 image). Other
switches and Cisco IOS versions can be used. Depending on the model and Cisco IOS version, the
commands available and output produced might vary from what is shown in the labs.
Note: Make sure that the switches have been erased and have no startup configurations. Refer to Appendix A
for the procedure to initialize and reload a switch.
Required Resources
2 Switches (Cisco 2960 with Cisco IOS Release 15.0(2) lanbasek9 image or comparable)
2 PCs (Windows 7, Vista, or XP with terminal emulation program, such as Tera Term)
Console cables to configure the Cisco IOS devices via the console ports
2013 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public.
Page 2 of 14
b. In the Network and Internet section, click the View network status and tasks link.
Note: If the Control Panel displays a list of icons, click the drop-down option next to the View by: and
change this option to display by Category.
2013 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public.
Page 3 of 14
In the left pane of the Network and Sharing Center window, click the Change adapter settings link.
d. The Network Connections window displays the available interfaces on the PC. Right-click the Local Area
Connection interface and select Properties.
2013 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public.
Page 4 of 14
Note: You can also double-click Internet Protocol Version 4 (TCP/IPv4) to display the Properties
window.
2013 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public.
Page 5 of 14
Note: In the above example, the IP address and subnet mask have been entered for PC-A. The default
gateway has not been entered, because there is no router attached to the network. Refer to the
Addressing Table on page 1 for PC-Bs IP address information.
g. After all the IP information has been entered, click OK. Click OK on the Local Area Connection Properties
window to assign the IP address to the LAN adapter.
h. Repeat the previous steps to enter the IP address information for PC-B.
2013 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public.
Page 6 of 14
c.
2013 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public.
Page 7 of 14
Switch(config)#
The prompt changed to reflect global configuration mode.
2013 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public.
Page 8 of 14
S1#
2013 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public.
Page 9 of 14
Step 10: Display the IOS version and other useful switch information.
Use the show version command to display the IOS version that the switch is running, along with other useful
information. Again, you will need to use the spacebar to advance through the displayed information.
S1# show version
Cisco IOS Software, C2960 Software (C2960-LANBASEK9-M), Version 15.0(2)SE, RELEASE
SOFTWARE (fc1)
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 1986-2012 by Cisco Systems, Inc.
Compiled Sat 28-Jul-12 00:29 by prod_rel_team
ROM: Bootstrap program is C2960 boot loader
BOOTLDR: C2960 Boot Loader (C2960-HBOOT-M) Version 12.2(53r)SEY3, RELEASE SOFTWARE
(fc1)
S1 uptime is 1 hour, 38 minutes
System returned to ROM by power-on
System image file is "flash:/c2960-lanbasek9-mz.150-2.SE.bin"
2013 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public.
Page 10 of 14
SW Version
---------15.0(2)SE
SW Image
---------C2960-LANBASEK9-M
Step 11: Display the status of the connected interfaces on the switch.
To check the status of the connected interfaces, use the show ip interface brief command. Press the
spacebar to advance to the end of the list.
S1# show ip interface brief
Interface
Vlan1
FastEthernet0/1
FastEthernet0/2
FastEthernet0/3
IP-Address
unassigned
unassigned
unassigned
unassigned
OK?
YES
YES
YES
YES
Method
unset
unset
unset
unset
2013 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public.
Status
up
up
down
down
Protocol
up
up
down
down
Page 11 of 14
unassigned
unassigned
unassigned
unassigned
unassigned
unassigned
unassigned
unassigned
unassigned
unassigned
unassigned
unassigned
unassigned
unassigned
unassigned
unassigned
unassigned
unassigned
unassigned
unassigned
unassigned
unassigned
unassigned
YES
YES
YES
YES
YES
YES
YES
YES
YES
YES
YES
YES
YES
YES
YES
YES
YES
YES
YES
YES
YES
YES
YES
unset
unset
unset
unset
unset
unset
unset
unset
unset
unset
unset
unset
unset
unset
unset
unset
unset
unset
unset
unset
unset
unset
unset
down
down
up
down
down
down
down
down
down
down
down
down
down
down
down
down
down
down
down
down
down
down
down
down
down
up
down
down
down
down
down
down
down
down
down
down
down
down
down
down
down
down
down
down
down
down
Step 13: Record the interface status for the following interfaces.
S1
Interface
Status
S2
Protocol
Status
Protocol
F0/1
Up
Up
Up
Up
F0/6
Up
Up
Down
down
F0/18
Down
Down
Up
Up
VLAN 1
Administratively
Down
Down
Administratively
Down
Down
Why are some FastEthernet ports on the switches are up and others are down?
Because some FastEthernet are not connected or no cables are connected on it and doesnt
undergo to configuration yet.
2013 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public.
Page 12 of 14
Reflection
What could prevent a ping from being sent between the PCs?
Some interrupted connections or there is no connection on the PCs.
Note: It may be necessary to disable the PC firewall to ping between PCs.
Step 1: Determine if there have been any virtual local-area networks (VLANs) created.
Use the show flash command to determine if any VLANs have been created on the switch.
Switch# show flash
Directory of flash:/
2
3
4
5
6
-rwx
-rwx
-rwx
-rwx
-rwx
1919
1632
13336
11607161
616
Mar
Mar
Mar
Mar
Mar
1
1
1
1
1
1993
1993
1993
1993
1993
00:06:33
00:06:33
00:06:33
02:37:06
00:07:13
+00:00
+00:00
+00:00
+00:00
+00:00
private-config.text
config.text
multiple-fs
c2960-lanbasek9-mz.150-2.SE.bin
vlan.dat
You will be prompted to verify the file name. At this point, you can change the file name or just press Enter
if you have entered the name correctly.
a. When you are prompted to delete this file, press Enter to confirm the deletion. (Pressing any other key will
abort the deletion.)
Delete flash:/vlan.dat? [confirm]
Switch#
2013 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public.
Page 13 of 14
Note: You may receive a prompt to save the running configuration prior to reloading the switch. Type no
and press Enter.
System configuration has been modified. Save? [yes/no]: no
2013 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public.
Page 14 of 14