Beruflich Dokumente
Kultur Dokumente
T Topology
A Addressing g Table
Device D S1 S2 PC C-A PC C-B Interface VLAN 1 VLAN 1 NIC NIC IP Address A N/A N/A 192.16 68.1.10 192.16 68.1.11 Subnet Mas sk N N/A N N/A 2 255.255.255.0 0 2 255.255.255.0 0 Defau ult Gateway N/A N/A N/A N/A
O Objectives
Part 1: Se et Up the Net twork Topolo ogy (Etherne et only) Identify cables and d ports for use e in the netwo ork. Cable e a physical la ab topology.
Part 2: Co onfigure PC Hosts Enter static IP address informat tion 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 Set ttings Config gure each sw witch with host tname, local passwords, p a and login bann ner. Save the running configurations c s. Displa ay the running g switch confi iguration. Displa ay the IOS ve ersion for the running switc ch. Displa ay the status of the interfac ces.
2013 Cisco and d/or its affiliates. All rights reserve ed. This docume ent is Cisco Publiic.
P Page 1 of 14
Lab - Building a Simple Network 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
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.
2013 Cisco and d/or its affiliates. All rights reserve ed. This docume ent is Cisco Publiic.
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 adapt ter settings l link.
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.
2013 Cisco and d/or its affiliates. All rights reserve ed. This docume ent is Cisco Publiic.
P Page 4 of 14
L Lab - Building a Simple Network N e. Selec ct the Internet t Protocol Ve ersion 4 (TCP P/IPv4) option n and then click Propertie es.
Note: You can also o double-click k Internet Pro otocol Versio on 4 (TCP/IPv v4) to display y the Properties windo ow.
2013 Cisco and d/or its affiliates. All rights reserve ed. This docume ent is Cisco Publiic.
P Page 5 of 14
L Lab - Building a Simple Network N f. Click the Use the following f IP address radio button to m manually enter r an IP address, subnet ma ask, and default gateway.
Note: In the above e example, the e IP address and subnet m mask have be een entered fo or PC-A. The default gatew way has not been entered, because ther re is no route r attached to the network. Refer to the Addre essing Table on o page 1 for r PC-Bs IP ad ddress inform mation. g. After all the IP information has been b entered, click OK. Cl ick OK on the e Local Area Connection P Properties windo ow to assign the t IP address s to the LAN adapter. h. Repeat the previou us steps to en nter the IP add dress informa ation for PC-B B.
2013 Cisco and d/or its affiliates. All rights reserve ed. This docume ent is Cisco Publiic.
P Page 6 of 14
L Lab - Building a Simple Network N b. The cmd.exe c windo ow is where you y can enter r commands d directly to the e PC and view w the results o of those comm mands. Verify your PC setti ings by using the ipconfig g /all comman nd. This comm mand displays s the PC hostname and the IPv4 address s information.
c.
Were the ping resu ults successfu ul? If not, troubleshoot t as necessar ry. Note: If you did no ot get a reply from f PC-B, try y to ping PC-B again. If yo ou still do not get a reply fro om PC-B, try to ping PC-A fro om PC-B. If you are unable e to get a rep ply from the re emote PC, the en have your instructor help you y troubleshoot the proble em.
2013 Cisco and d/or its affiliates. All rights reserve ed. This docume ent is Cisco Publiic.
P Page 7 of 14
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#
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"
This product contains cryptographic features and is subject to United States and local country laws governing import, export, transfer and use. Delivery of Cisco cryptographic products does not imply third-party authority to import, export, distribute or use encryption. Importers, exporters, distributors and users are responsible for compliance with U.S. and local country laws. By using this product you agree to comply with applicable laws and regulations. If you are unable to comply with U.S. and local laws, return this product immediately.
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 Status up up down down Protocol up up down down
2013 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public.
Page 11 of 14
Step 13: Record the interface status for the following interfaces.
S1 Interface F0/1 F0/6 F0/18 VLAN 1 Why are some FastEthernet ports on the switches are up and others are down? Status Protocol Status S2 Protocol
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?
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