Escolar Documentos
Profissional Documentos
Cultura Documentos
Lab - Bu
uilding a Simple
e Networrk (Instru
uctor Verrsion)
Instructor No
ote: Red font color or Gray
y highlights ind
dicate text tha
at appears in the instructor copy only.
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.
P
Page 1 of 18
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
Instructor Note: The Ethernet ports on the 2960 switches are autosensing and will accept either a straightthrough or a cross-over cable for all connections. If the switches used in the topology are other than the 2960
model, then it is likely that a cross-over cable will be needed to connect the two switches.
2013 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public.
Page 2 of 18
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 18
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 18
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 18
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 18
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 18
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 18
S1#
2013 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public.
Page 9 of 18
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 18
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 18
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
Up
Up
Up
Up
Why are some FastEthernet ports on the switches are up and others are down?
_______________________________________________________________________________________
_______________________________________________________________________________________
The FastEthernet ports are up when cables are connected to the ports unless they were manually shutdown
by the administrators. Otherwise, the ports would be down.
Reflection
What could prevent a ping from being sent between the PCs?
2013 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public.
Page 12 of 18
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 18
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
Device Configs
Switch S1 (complete)
S1#sh run
Building configuration...
Current configuration : 1514 bytes
!
version 15.0
no service pad
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname S1
!
boot-start-marker
boot-end-marker
!
enable secret 4 06YFDUHH61wAE/kLkDq9BGho1QM5EnRtoyr8cHAUg.2
!
no aaa new-model
system mtu routing 1500
!
no ip domain-lookup
!
spanning-tree mode pvst
spanning-tree extend system-id
!
vlan internal allocation policy ascending
!
2013 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public.
Page 14 of 18
FastEthernet0/1
FastEthernet0/2
FastEthernet0/3
FastEthernet0/4
FastEthernet0/5
FastEthernet0/6
FastEthernet0/7
FastEthernet0/8
FastEthernet0/9
FastEthernet0/10
FastEthernet0/11
FastEthernet0/12
FastEthernet0/13
FastEthernet0/14
FastEthernet0/15
FastEthernet0/16
FastEthernet0/17
FastEthernet0/18
FastEthernet0/19
FastEthernet0/20
FastEthernet0/21
FastEthernet0/22
FastEthernet0/23
FastEthernet0/24
GigabitEthernet0/1
2013 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public.
Page 15 of 18
Switch S2 (complete)
S2#sh run
Building configuration...
*Mar 1 03:20:01.648: %SYS-5-CONFIG_I: Configured from console by console
Current configuration : 1514 bytes
!
!
version 15.0
no service pad
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname S2
!
boot-start-marker
boot-end-marker
!
enable secret 4 06YFDUHH61wAE/kLkDq9BGho1QM5EnRtoyr8cHAUg.2
!
no aaa new-model
system mtu routing 1500
!
no ip domain-lookup
!
2013 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public.
Page 16 of 18
2013 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public.
Page 17 of 18
2013 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public.
Page 18 of 18