Professional Documents
Culture Documents
2.3.3.4 Lab - Building A Simple Network
2.3.3.4 Lab - Building A Simple Network
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)
Cable
e a physical la
ab topology.
Part 2: Co
onfigure PC 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.
Displa
ay the running
g switch confiiguration.
Displa
ay the IOS ve
ersion for the running switc
ch.
Displa
ay the status of the interfac
ces.
B
Backgroun
nd / Scenarrio
Networks are constructed of three major
m
compon
nents: 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,
P
Page 1 of 14
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
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.
P
Page 3 of 14
L
Lab - Building a Simple Network
N
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
Conn
nections windo
ow displays the available iinterfaces on the PC. Righ
ht-click the Lo
ocal Area
Conn
nection interfa
ace and selec
ct Properties
s.
P
Page 4 of 14
L
Lab - Building a Simple Network
N
e. Selec
ct the Internett Protocol Ve
ersion 4 (TCP
P/IPv4) option
n and then click Propertie
es.
P
Page 5 of 14
L
Lab - Building a Simple Network
N
f.
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
he Search pro
ograms and files box, and then
press Enter.
P
Page 6 of 14
L
Lab - Building a Simple Network
N
b. The cmd.exe
c
windo
ow is where you
y can enterr commands d
directly to the
e PC and view
w the results o
of those
comm
mands. Verify your PC settiings by using the ipconfig
g /all comman
nd. This comm
mand displayss the PC
hostname and the IPv4 address
s information.
c.
P
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
S2
Status
Protocol
Status
Protocol
F0/1
up
up
up
up
F0/6
up
up
up
up
F0/18
down
down
down
down
up
up
up
up
VLAN 1
Why are some FastEthernet ports on the switches are up and others are down?
Some switches are up because they are connected by cables to the switch and some switches are down
because no cable are connected to the switch S1
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?
1- If they are no connection between PC's , ping cannot work
2- Firewall
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:/
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.
b. 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