Professional Documents
Culture Documents
Lab - Bu
uilding a Simple
e Networrk
T
Topology
A
Addressing
g Table
Device
D Interface IP Address
A Subnet Mas
sk Defau
ult Gateway
S1 VLAN 1 N/A N
N/A N/A
S2 VLAN 1 N/A N
N/A N/A
PC
C-A NIC 192.16
68.1.10 2
255.255.255.0
0 N/A
PC
C-B NIC 192.16
68.1.11 2
255.255.255.0
0 N/A
O
Objectives
Part 1: Se
et Up the Nettwork Topolo
ogy (Etherne
et only)
Identify cables and
d ports for use
e in the netwo
ork.
Cable
e a physical la
ab topology.
onfigure PC Hosts
Part 2: Co
Enter static IP address informattion on the LA
AN interface o
of the hosts.
Verify
y that PCs can
n communica
ate using the ping
p utility.
Part 3: Co
onfigure and
d Verify Basic
c Switch Setttings
Config
gure each sw
witch with hosttname, local passwords,
p a
and login bann
ner.
Save the running configurations
c s.
Displa
ay the running
g switch confiiguration.
Displa ersion for the running switc
ay the IOS ve ch.
ay the status of the interfac
Displa ces.
B
Backgroun
nd / Scenarrio
Networks are constructed of three major
m componnents: hosts, sswitches, and
d routers. In th
his lab, you w
will build a
simple ne
etwork with tw
wo hosts and two
t switches. You will also
o configure ba
asic settings including hosttname,
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
Ethernet cables as shown in the topology
© 2013 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public. Page 2 of 14
L
Lab - Building a Simple Network
N
P
Part 2: Configure
C e PC Hostts
S
Step 1: Co
onfigure static IP addre
ess informa
ation on the PCs.
a. Click the Windows
s Start icon and
a then selec
ct Control Pa
anel.
b. In the
e Network and
d Internet section, click the
e View netwo
ork status and tasks link.
Note: If the Contro
ol Panel displa
ays a list of ic
cons, click the
e drop-down o
option next to the View by: and
chang
ge this option to display by
y Category.
c. In the
e left pane of the
t Network and
a Sharing Center
C window
w, click the C
Change adaptter settings llink.
d. The Network
N Connnections windo
ow displays the available iinterfaces on the PC. Righ
ht-click the Lo
ocal Area
Connnection interfa
ace and selec
ct Properties
s.
e. Selec
ct the Internett Protocol Ve
ersion 4 (TCP
P/IPv4) option
n and then click Propertie
es.
S
Step 2: Verify PC setttings and co
onnectivity..
Use the command prom
mpt (cmd.exe
e) window to verify the PC
C settings and connectivity..
a. From PC-A, click th
he Windows Start icon, ty
ype cmd in th ograms and files box, and then
he Search pro
press Enter.
b. The cmd.exe
c windoow is where you
y can enterr commands d directly to the
e PC and view
w the results o
of those
commmands. Verify your PC settiings by using the ipconfig
g /all comman nd. This comm
mand displayss the PC
hostname and the IPv4 addresss information.
© 2013 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public. Page 8 of 14
Lab - Building a Simple Network
The banner motd command requires the use of delimiters to identify the content of the banner message. The
delimiting character can be any character as long as it does not occur in the message. For this reason,
symbols, such as the #, are often used.
S1(config)# banner motd #
Enter TEXT message. End with the character '#'.
Unauthorized access is strictly prohibited and prosecuted to the full extent
of the law. #
S1(config)# exit
S1#
© 2013 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public. Page 9 of 14
Lab - Building a Simple Network
<output omitted>
!
banner motd ^C
Unauthorized access is strictly prohibited and prosecuted to the full extent of the
law. ^C
!
line con 0
password cisco
login
line vty 0 4
login
line vty 5 15
login
!
end
S1#
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
© 2013 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public. Page 10 of 14
Lab - Building a Simple Network
A summary of U.S. laws governing Cisco cryptographic products may be found at:
http://www.cisco.com/wwl/export/crypto/tool/stqrg.html
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 IP-Address OK? Method Status Protocol
Vlan1 unassigned YES unset up up
FastEthernet0/1 unassigned YES unset up up
FastEthernet0/2 unassigned YES unset down down
FastEthernet0/3 unassigned YES unset down down
© 2013 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public. Page 11 of 14
Lab - Building a Simple Network
Step 13: Record the interface status for the following interfaces.
S1 S2
F0/1
F0/6
F0/18
VLAN 1
Why are some FastEthernet ports on the switches are up and others are down?
© 2013 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public. Page 12 of 14
Lab - Building a Simple Network
Reflection
What could prevent a ping from being sent between the PCs?
Step 2: 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:/
© 2013 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public. Page 13 of 14
Lab - Building a Simple Network
Erasing the nvram filesystem will remove all configuration files! Continue? [confirm]
[OK]
Erase of nvram: complete
Switch#
© 2013 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public. Page 14 of 14