Objectives
Part 1: Set Up the Topology and Initialize Devices
• Set up equipment to match the network topology.
• Initialize and restart the router and switch.
Part 2: Configure Devices and Verify Connectivity
• Assign static IP information to the PC interfaces.
• Configure the router.
• Verify network connectivity.
Part 3: Display Device Information
• Retrieve hardware and software information from the network devices.
• Interpret the output from the routing table.
• Display interface information on the router.
• Display a summary list of the interfaces on the router and switch.
Background / Scenario
This is a comprehensive lab to review previously covered IOS commands. In this lab, you will cable the equipment as shown in the topology diagram. You will then configure the devices to match the addressing table. After the configurations have been saved, you will verify your configurations by testing for network connectivity.
After the devices have been configured and network connectivity has been verified, you will use IOS commands to retrieve information from the devices to answer questions about your network equipment.
This lab provides minimal assistance with the actual commands necessary to configure the router. However, the required commands are provided in Appendix A. Test your knowledge by trying to configure the devices without referring to the appendix.
Note: The routers used with CCNA hands-on labs are Cisco 1941 Integrated Services Routers (ISRs) with Cisco IOS Release 15.2(4)M3 (universalk9 image). The switches used are Cisco Catalyst 2960s with Cisco IOS Release 15.0(2) (lanbasek9 image). Other routers, 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. Refer to the Router Interface Summary Table at the end of this lab for the correct interface identifiers.
Note: Ensure that the routers and switches have been erased and have no startup configurations. Refer to Appendix B for the procedure to initialize and reload a router and switch.
Required Resources
• 1 Router (Cisco 1941 with Cisco IOS Release 15.2(4)M3 universal image or comparable)
• 1 Switch (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
Note: The Gigabit Ethernet interfaces on Cisco 1941 routers are autosensing and an Ethernet straight-through cable may be used between the router and PC-B. If using another model Cisco router, it may be necessary to use an Ethernet crossover cable.
Part 1: Set Up Topology and Initialize Devices
Step 1: Cable the network as shown in the topology.
a. Attach the devices shown in the topology diagram, and cable, as necessary.
b. Power on all the devices in the topology.
Step 2: Initialize and reload the router and switch.
If configuration files were previously saved on the router and switch, initialize and reload these devices back to their basic configurations. For information on how to initialize and reload these devices, refer to Appendix B.
Part 2: Configure Devices and Verify Connectivity
In Part 2, you will set up the network topology and configure basic settings, such as the interface IP addresses, device access, and passwords. Refer to the Topology and Addressing Table at the beginning of this lab for device names and address information.
Note: Appendix A provides configuration details for the steps in Part 2. You should attempt to complete Part 2 prior to reviewing this appendix.
Step 1: Assign static IP information to the PC interfaces.
a. Configure the IP address, subnet mask, and default gateway settings on PC-A.
b. Configure the IP address, subnet mask, and default gateway settings on PC-B.
c. Ping PC-B from a command prompt window on PC-A.
Why were the pings not successful?
____________________________________________________________________________________
Step 2: Configure the router.
a. Console into the router and enable privileged EXEC mode.
b. Enter configuration mode.
c. Assign a device name to the router.
d. Disable DNS lookup to prevent the router from attempting to translate incorrectly entered commands as though they were host names.
e. Assign class as the privileged EXEC encrypted password.
f. Assign cisco as the console password and enable login.
g. Assign cisco as the VTY password and enable login.
h. Encrypt the clear text passwords.
i. Create a banner that warns anyone accessing the device that unauthorized access is prohibited.
j. Configure and activate both interfaces on the router.
k. Configure an interface description for each interface indicating which device is connected to it.
l. Save the running configuration to the startup configuration file.
m. Set the clock on the router.
Note: Use the question mark (?) to help with the correct sequence of parameters needed to execute this command.
n. Ping PC-B from a command prompt window on PC-A.
Were the pings successful? Why?
____________________________________________________________________________________
____________________________________________________________________________________
____________________________________________________________________________________
Part 3: Display Device Information
In Part 3, you will use show commands to retrieve information from the router and switch.
Step 1: Retrieve hardware and software information from the network devices.
a. Use the show version command to answer the following questions about the router.
What is the name of the IOS image that the router is running?
____________________________________________________________________________________
How much DRAM memory does the router have?
____________________________________________________________________________________
____________________________________________________________________________________
How much NVRAM memory does the router have?
____________________________________________________________________________________
How much Flash memory does the router have?
____________________________________________________________________________________
b. Use the show version command to answer the following questions about the switch.
What is the name of the IOS image that the switch is running?
____________________________________________________________________________________
How much dynamic random access memory (DRAM) does the switch have?
____________________________________________________________________________________
How much nonvolatile random-access memory (NVRAM) does the switch have?
____________________________________________________________________________________
What is the model number of the switch?
____________________________________________________________________________________
Step 2: Display the routing table on the router.
Use the show ip route command on the router to answer the following questions.
What code is used in the routing table to indicate a directly connected network? _____
How many route entries are coded with a C code in the routing table? _________
What interface types are associated to the C coded routes?
_______________________________________________________________________________________
Step 3: Display interface information on the router.
Use the show interface g0/1 to answer the following questions.
What is the operational status of the G0/1 interface?
_______________________________________________________________________________________
What is the Media Access Control (MAC) address of the G0/1 interface?
_______________________________________________________________________________________
How is the Internet address displayed in this command?
_______________________________________________________________________________________
Step 4: Display a summary list of the interfaces on the router and switch.
There are several commands that can be used to verify an interface configuration. One of the most useful of these is the show ip interface brief command. The command output displays a summary list of the interfaces on the device and provides immediate feedback to the status of each interface.
a. Enter the show ip interface brief command on the router.
R1# show ip interface brief
Interface IP-Address OK? Method Status Protocol
Embedded-Service-Engine0/0 unassigned YES unset administratively down down
GigabitEthernet0/0 192.168.0.1 YES manual up up
GigabitEthernet0/1 192.168.1.1 YES manual up up
Serial0/0/0 unassigned YES unset administratively down down
Serial0/0/1 unassigned YES unset administratively down down
R1#
b. Enter the show ip interface brief command on the switch.
Switch# show ip interface brief
Interface IP-Address OK? Method Status Protocol
Vlan1 unassigned YES manual up up
FastEthernet0/1 unassigned YES unset down down
FastEthernet0/2 unassigned YES unset down down
FastEthernet0/3 unassigned YES unset down down
FastEthernet0/4 unassigned YES unset down down
FastEthernet0/5 unassigned YES unset up up
FastEthernet0/6 unassigned YES unset up up
FastEthernet0/7 unassigned YES unset down down
FastEthernet0/8 unassigned YES unset down down
FastEthernet0/9 unassigned YES unset down down
FastEthernet0/10 unassigned YES unset down
วัตถุประสงค์
ส่วนที่ 1 : การตั้งค่ารูปแบบการใช้งานและอุปกรณ์
- ตั้งค่าอุปกรณ์เพื่อให้ตรงกับโครงสร้างเครือข่าย .
- การเริ่มต้นและเริ่มต้นเราเตอร์และสวิทช์ .
ตอนที่ 2 : ปรับแต่งอุปกรณ์และตรวจสอบการเชื่อมต่อ
- กำหนดข้อมูล IP แบบคงที่ไปยังเครื่องคอมพิวเตอร์ การเชื่อมต่อ - ตั้งค่าเราเตอร์ .
.
- ตรวจสอบการเชื่อมต่อเครือข่าย .
ตอนที่ 3 :
อุปกรณ์แสดงข้อมูลฮาร์ดแวร์ ซอฟต์แวร์ และบริการดึงข้อมูลจากอุปกรณ์เครือข่าย .
- ตีความออกจากตารางเส้นทาง .
- แสดงข้อมูลบนอินเตอร์ แสดงรายการสรุปของการเชื่อมต่อกับเราเตอร์และสวิทช์
-
.
ประวัติ / สถานการณ์นี้เป็นห้องทดลองที่ครอบคลุมเพื่อทบทวนก่อนหน้านี้ครอบคลุม iOS คำสั่ง ในห้องทดลองนี้คุณจะสายอุปกรณ์ตามที่แสดงในรูปแบบแผนภาพ จากนั้นคุณจะปรับแต่งอุปกรณ์ให้ตรงกับที่อยู่ในโต๊ะ หลังจากการตั้งค่าได้รับการบันทึกไว้ , คุณจะตรวจสอบการกำหนดค่าของคุณโดยการทดสอบการเชื่อมต่อเครือข่าย อุปกรณ์
หลังจากได้รับการกำหนดค่าการเชื่อมต่อเครือข่ายถูกตรวจสอบคุณจะใช้ IOS คำสั่งเพื่อดึงข้อมูลจากอุปกรณ์ในการตอบคำถามเกี่ยวกับอุปกรณ์เครือข่ายของคุณ .
แลปนี้ให้ความช่วยเหลือน้อยที่สุด ด้วยคำสั่งจริงต้องกำหนดค่าเราเตอร์ อย่างไรก็ตาม คำสั่งต้องมีการระบุไว้ในภาคผนวก ก. ทดสอบความรู้ของคุณโดยการพยายามที่จะปรับแต่งอุปกรณ์ได้โดยไม่ต้องอ้างอิงถึงภาคผนวก .
หมายเหตุ :เตอร์ใช้กับมือบนห้องปฏิบัติการ Cisco CCNA 2484 รวมบริการเราเตอร์ ( isrs ) กับ Cisco IOS รุ่น 15.2 ( 4 ) M3 ( universalk9 ภาพ ) สวิทช์ที่ใช้เป็นตัวเร่งปฏิกิริยา 2960s กับซิสโก้ Cisco IOS รุ่น 15.0 ( 2 ) ( lanbasek9 ภาพ ) อื่น ๆเราเตอร์ , สวิตช์ Cisco IOS รุ่นและสามารถใช้ ขึ้นอยู่กับรุ่นและ Cisco IOS รุ่นคำสั่งใช้ได้ผลผลิตอาจแตกต่างจากที่แสดงในแลป ดูที่สรุปอินเตอร์เฟซตารางเราเตอร์ในตอนท้ายของแลปนี้เพื่อระบุการเชื่อมต่อที่ถูกต้อง
หมายเหตุ : ตรวจสอบให้แน่ใจว่าเราเตอร์และสวิตช์ได้ถูกลบและไม่มีการกำหนดค่าเริ่มต้น อ้างอิงถึงภาคผนวก B ขั้นตอนที่จะเริ่มต้นและโหลดเราเตอร์และสวิตช์ .
ทรัพยากรที่ต้องการ- 1 ( ซิสโก้เราเตอร์ Cisco IOS รุ่น 15.2 1941 ด้วย ( 4 ) M3 สากลภาพ หรือเทียบเท่า )
- 1 สลับ ( Cisco 1465 กับ Cisco IOS รุ่น 15.0 ( 2 ) lanbasek9 ภาพหรือเทียบเท่า )
- 2 ชิ้น ( Windows 7 , Vista หรือ XP ด้วยโปรแกรมการจำลอง terminal เช่น Tera เทอม )
- คอนโซลสายเคเบิลการกำหนดค่า Cisco IOS อุปกรณ์ผ่านทางพอร์ตคอนโซล
- Ethernet สายตามที่แสดงในโครงสร้าง
หมายเหตุ :Gigabit Ethernet การเชื่อมต่อบน Cisco เราเตอร์จะ autosensing 1941 และตรงผ่านสายเคเบิลอีเธอร์เน็ตอาจจะใช้กับเราเตอร์และเราเตอร์ของซิสโก้ pc-b. ถ้าใช้อีกแบบ มันอาจจะจำเป็นต้องใช้สายเคเบิล Ethernet ครอสโอเวอร์ .
ตอนที่ 1 : การตั้งค่ารูปแบบการใช้งานและอุปกรณ์
ขั้นที่ 1 : สายเคเบิลเครือข่ายที่แสดงในโครงสร้าง .
. แนบอุปกรณ์แสดงในโครงสร้างไดอะแกรมและสายเคเบิล เท่าที่จำเป็น .
B พลังงานในอุปกรณ์ทั้งหมดในเครือข่ายแบบ .
ขั้นที่ 2 : เริ่มต้นและโหลดเราเตอร์และสวิทช์ .
ถ้าแฟ้มการกำหนดค่าถูกบันทึกไว้ก่อนหน้านี้ในเราเตอร์และสวิตช์เริ่มต้นและโหลดอุปกรณ์เหล่านี้กลับไปที่พื้นฐานของการตั้งค่า สำหรับข้อมูลเกี่ยวกับวิธีการเริ่มต้นและโหลดอุปกรณ์เหล่านี้ โปรดดูภาคผนวก B .
2 ส่วน :ปรับแต่งอุปกรณ์และตรวจสอบการเชื่อมต่อ
ในส่วนที่ 2 , คุณจะตั้งค่าโครงสร้างเครือข่ายและการตั้งค่าพื้นฐาน เช่น อินเตอร์เฟซที่อยู่ IP , การเข้าถึงอุปกรณ์และรหัสผ่าน ดูที่โครงสร้างและพื้นที่ตารางที่จุดเริ่มต้นของแลปนี้ชื่ออุปกรณ์และข้อมูลที่อยู่ .
หมายเหตุ : ภาคผนวก ให้รายละเอียดการปรับแต่งสำหรับขั้นตอนในส่วนที่ 2คุณควรพยายามที่จะเสร็จสมบูรณ์ในส่วนที่ 2 ก่อนที่จะทบทวนภาคผนวกนี้ .
ขั้นตอนที่ 1 : กำหนด IP แบบคงที่ไปยังเครื่องคอมพิวเตอร์ การเชื่อมต่อข้อมูล .
. กำหนดค่าที่อยู่ IP , subnet mask , Gateway และการตั้งค่าเริ่มต้นใน pc-a.
b . กำหนดค่าที่อยู่ IP , subnet mask , Gateway และเริ่มต้นการตั้งค่าใน pc-b.
C pc-b ปิง จากพร้อมรับคำสั่งหน้าต่างบน pc-a.
ทำไมปิงไม่ประสบความสำเร็จ ?
____________________________________________________________________________________
ขั้นตอนที่ 2 : ตั้งค่าเราเตอร์ .
. คอนโซลในเราเตอร์และเปิดใช้งานโหมด exec สิทธิพิเศษ .
b . เข้าสู่โหมด การตั้งค่า
C . กำหนดชื่ออุปกรณ์ให้เราเตอร์ .
D ปิด DNS การค้นหาป้องกันเราเตอร์จากการพยายามแปลไม่ถูกต้องป้อนคำสั่งว่าพวกเขาเป็นชื่อโฮสต์ .
Eให้ชั้นเป็นสิทธิพิเศษ exec เข้ารหัสรหัสผ่าน .
F ให้ซิสโก้เป็นคอนโซลรหัสผ่านและให้เข้าสู่ระบบ
G . มอบหมายให้ซิสโก้เป็น vty รหัสผ่านและให้เข้าสู่ระบบ
H . เข้ารหัสรหัสผ่านข้อความที่ชัดเจน .
ผมสร้างแบนเนอร์ที่เตือนทุกคนเข้าถึงอุปกรณ์ที่ไม่ได้รับอนุญาตเป็นสิ่งต้องห้าม .
J . ปรับแต่งและเปิดใช้งานทั้ง การเชื่อมต่อกับเราเตอร์ .
Kปรับแต่งอินเตอร์เฟซ อินเตอร์เฟซที่แสดงรายละเอียดของแต่ละอุปกรณ์ที่เชื่อมต่อกับมัน
L ช่วยวิ่งการตั้งค่าไปยังไฟล์การตั้งค่าเริ่มต้น .
M ตั้งค่านาฬิกาบนเราเตอร์
หมายเหตุ : ใช้เครื่องหมายคำถาม ( ? ) เพื่อช่วยให้มีลำดับที่ถูกต้องของพารามิเตอร์ที่จำเป็นเพื่อรันคำสั่งนี้ .
. ปิง pc-b จากพร้อมรับคำสั่งหน้าต่างบน pc-a.
เป็นโทรศัพท์ที่ประสบความสำเร็จ ? ทำไม ?
____________________________________________________________________________________
ตอนที่ 3 : ____________________________________________________________________________________ ____________________________________________________________________________________ อุปกรณ์แสดงข้อมูล
ในส่วนที่ 3 คุณจะใช้คำสั่งแสดงข้อมูลจากเราเตอร์และสวิทช์ .
ขั้นที่ 1 :ดึงข้อมูลจากเครือข่ายฮาร์ดแวร์และซอฟต์แวร์อุปกรณ์ .
. ใช้คำสั่งแสดงรุ่นที่จะตอบคำถามเกี่ยวกับเราเตอร์ต่อไปนี้ .
อะไรคือชื่อของ iOS ภาพที่เราเตอร์เป็นวิ่ง
ยังไง ____________________________________________________________________________________ DRAM มากหน่วยความจำทำเราเตอร์ ?
____________________________________________________________________________________
ยังไง ____________________________________________________________________________________ nvram มากหน่วยความจำทำเราเตอร์ ?
ยังไง ____________________________________________________________________________________ แฟลชมากหน่วยความจำทำเราเตอร์ ?
แสดงเวอร์ชัน ____________________________________________________________________________________
B . ใช้คำสั่งเพื่อตอบคำถามเกี่ยวกับสวิทช์ต่อไปนี้ .
อะไรคือชื่อของ iOS ภาพที่เปลี่ยนเป็นวิ่ง
____________________________________________________________________________________ เท่าไหร่ แรมแบบพลวัต ไม่สลับบ้าง
____________________________________________________________________________________
เท่าไหร่ nonvolatile เข้าถึงหน่วยความจำแบบสุ่ม ( nvram ) จะเปลี่ยนได้ ?
สิ่งที่ ____________________________________________________________________________________ เป็นหมายเลขรุ่นของสวิตช์ ? ขั้นตอนที่ 2 :
____________________________________________________________________________________แสดงตารางเส้นทางที่เราเตอร์ .
ใช้แสดง IP เส้นทางคำสั่งบนเราเตอร์ที่จะตอบคำถามต่อไปนี้ .
รหัสอะไรที่ใช้ในเส้นทางที่จะแสดงโดยตรงเชื่อมต่อเครือข่าย _____
กี่เส้นทางรายการรหัสกับรหัส C ในเส้นทาง ? _________
ชนิดอินเตอร์เฟซที่เกี่ยวข้องกับ C รหัสเส้นทาง ?
_______________________________________________________________________________________
ขั้นตอนที่ 3 : แสดงข้อมูลบนอินเตอร์เฟซของเราเตอร์ ใช้แสดงอินเตอร์เฟซ G0
/ 1 ตอบคำถามต่อไปนี้ .
อะไรคือสถานะการดำเนินงานของ G0 / 1 เฟสได้
_______________________________________________________________________________________อะไรคือการควบคุมการเข้าถึงสื่อ ( Mac ) ที่อยู่ของ G0 / 1 เฟสได้
เป็นไง _______________________________________________________________________________________ อินเทอร์เน็ตที่อยู่ปรากฏในคำสั่งนี้
_______________________________________________________________________________________ ขั้นที่ 4 : แสดงรายการสรุปของการเชื่อมต่อกับเราเตอร์และสวิทช์ .
มีคำสั่งต่างๆที่สามารถใช้ในการตรวจสอบอินเตอร์เฟซที่ปรับแต่ง หนึ่งในประโยชน์มากที่สุดของเหล่านี้จะแสดง IP interface สรุปคำสั่ง คำสั่งออกแสดงรายการสรุปของการเชื่อมต่อในอุปกรณ์และให้การตอบรับทันทีถึงสถานะของแต่ละเฟส
A ใส่ของโชว์ IP interface ย่อคำสั่งบนเราเตอร์
R1 #แสดง IP Interface ย่อ
อินเตอร์เฟซ IP ที่อยู่ โอเค ? พิธีสาร
สถานะวิธี embedded-service-engine0 / 0 มีมอบหมายครับล้างลง
gigabitethernet0 / 0 192.168.0.1 ครับคู่มือขึ้น
gigabitethernet0 / 1 192.168.1.1 ครับคู่มือขึ้น
serial0 / 0 / 0 มอบหมายครับล้างมีลง
serial0 / 0 / 1 มอบหมายครับล้างลง#
มี R1 Bใส่โชว์ IP Interface ย่อคำสั่งสวิทช์ สวิทช์#แสดง IP ย่อ
ติดต่ออินเตอร์เฟซ IP ครับ วิธีสถานะโพรโทคอล
vlan1 มอบหมายครับคู่มือขึ้น
fastethernet0 / 1 มอบหมายครับล้างลง
fastethernet0 / 2 มอบหมายครับล้างลง
fastethernet0 / 3 มอบหมายครับล้างลง
fastethernet0 / 4 มอบหมายครับล้างลง
fastethernet0 / 5 มอบหมายครับล้างขึ้น
fastethernet0 / 6 มอบหมายครับล้างขึ้น
fastethernet0 / 7 มอบหมายครับล้างลง
fastethernet0 / 8 มอบหมายครับล้างลง
fastethernet0 / 9 มอบหมายครับล้างลง
fastethernet0 / 10 มอบหมายครับล้างลง
การแปล กรุณารอสักครู่..
