Download ở đây

Hướng dẫn sử dụng

Hiện nay có rất nhiều phần mềm tạo Lab ảo được sử dụng để giúp đỡ các bạn trong quá trình học và tìm hiểu các thiết bị mạng của Cisco. theo yêu cầu từ một số bạn trên forum vnexperts.net cần tìm hiểu rõ hơn về phần mềm packet tracer, dưới đây tôi xin viết bài hướng dẫn sử dụng phần mềm này với phiên bản 4.1.

Packet Tracer là phần mềm rất tiện dụng cho các bạn bước đầu đi vào khám phá, xây dựng và cấu hình các thiết bị của Cisco, nó có giao diện rất trực quan với hình ảnh giống như Router thật, bạn có thể nhìn thấy các port, các module. Bạn có thể thay đổi các module của chúng bằng cách drag-drop những module cần thiết để thay thế, bạn có thể chọn loại cable nào cho những kết nối của bạn. Bạn cũng có thể nhìn thấy các gói tin đi trên các thiết bị của bạn như thế nào.

Dưới đây tôi xin hướng dẫn với các bạn cách sử dụng phần mềm Packet Tracer 4.1

Giao diện chính của phần mềm




Sau khi bạn install phần mềm này lên và chạy nó, các bạn có thể nhìn thấy giao diện chình của nó như trên. Sau đó ta bắt đầu đi vào xây dựng mô hình mạng (Topology), giả sử tôi cần xây dựng một mô hình đơn giản như sau:

+ 1 Router 2621

+ 1 Switch 2950- 24port

+ 1 PC (End device)

Tiếp theo ta đi vào xây dựng mô hình:

Trên giao diện chính của phần mềm packet tracer 4.1 tôi click chuột vào hình router ở dưới cùng bên trái màn hình, sau đó nó sẽ hiện thị ra những router nào mà phần mềm này hỗ trợ ngay khung bên cạnh, sau đó bạn có thể chọn router nào mà bạn cần, ở đây tội chọn là Router 2620XM


sau đó kéo chúng và thả vào khung trống bên trên:



và chọn Switch cần dùng bằng cách click chuột vào switch và chọn loai switch và kéo thả lên khung bên trên, ở đây tôi chọn

Switch 2950- 24 port


tiếp theo ta cọn PC (end device trong phần mềm này bao gồm: PC, Server, Printer, IP Phone) cũng với thao tác tương tự như trên
Bước tiếp theo là ta chọn loại cable kết nối đến từng thiết bị và chọn cổng kết nối. Đầu tiên ta chọn kết nối giữa router-switch (cable thẳng), ta click vào connections và chọn straight-through sau đó đưa chuột lên khung mà ta đang xây dựng mô hình, chọn vào Router 0 sau đó chọn cổng kết nối, ở đây mặc định là Router 2611 có 1 cổng console và 1 cổng ethernet. Ta chọn ethernet 0 cho kết nối từ router đến swtich sau đó click lên switch và chọn cổng kết nối là Fast Ethernet 0/1


Bước tiếp ta cũng chọn cable cho kết nối giữa switch và pc ( cable thẳng) với các thao tác tương tự như trên nhưng khác cổng kết nối, tại switch là Fast Ethernet 0/2 kết nối tới cổng Fast Ethernet của PC


Như các bạn thấy trên hình trên sau khi chúng ta đã tạo xong các kết nối trên topology chúng ta cần chú ý một điều là tại các nút ở điểm kết nối giữa PC-Switch thì ta thấy hiện thị mầu xanh còn nút kết nối giữa Router-Switch là mầu đỏ tại sao vậy? tại vì kết nối vật lý giữa router và switch chưa được thực hiện cổng Fast ethernet trên router đang bị down ( vì thế nên ta cần làm cho kết nối vật lý này up).

Để cấu hình cho router ta click chuột vào Router0 trên mô hình sau đó chọn CLI và có thể cấu hình chúng như trên router thật (bị hạn chế một số lệnh).

ta thấy sau khi "no shut" cho cổng Fast ethernet trên router về trạng thái up thì ta thấy nút kết kết giữa 2 thiết bị này đã chuyển sang màu xanh


Bây giờ tôi sẽ thêm 1 router 2620 XM vào mô hình và kết nối trực tiếp với router0 qua cổng serial. Nhưng mặc định trên router 2620XM chỉ có 1 cổng console và 1 cổng Fast ethernet, để có được công serial ta cần phải có WIC hoặc Module gắn thêm vào cho router ( ở đây tôi gắn thêm WIC-1T vào) bằng cách click vào router0 sau đó chọn Physical, ta thấy có một list tất cả các module mà phần mềm packet tracer này hỗ trợ, tôi chọn WIC-1T sau đó kéo chúng đặt vào 1 trong 2 module dành cho WIC tại khung hình bên phải dành cho các cổng và module kết nối của router, khi tôi vừa kéo chúng và thả vào thì chúng báo lỗi là không thể thêm Module vào vì nguồn router đang bật, mặc định khi là router luôn luôn bật vì thế để thay đổi chúng thì ta phải tắt nguồn đi. Để tắt nguồn ta nhìn khung hình hiển thị mặt sau của router ta nhìn thấy công tắc nguồn đang ở chế độ "on" vì thế ta phải tắt nó đi bằng cách click chuột vào công tắc nguồn, sau khi nguồn được tắt ta thực hiện kéo mudule.

WIC-1T vào router ( Ta có thể dùng zoom in hay zoom out để nhìn các cổng một cách chi tiết hơn)

Khi router chưa thêm module và công tắc nguồn ở dạng "on"

Sau khi đã thêm WIC 1T và công tắc nguồn ở dạng "off"

sau khi thực hiện xong ta nhở đưa công tắc nguồn về dạng "on"

Ta làm tương tự với router1 vừa được thêm vào sau khi làm xong ta thực hiện kết nối giữa 2 router này, ta chọn conections và chọn Serial DCE sau đó click vào router0 chọn serial 0/0 kết tối tới serial 0/0 của router 1

Các tính năng khác:

+ Chúng ta có thể cầu hình các port trên switch và router qua form "Config" sau khi ta chọn thiết bị đó. Tại form này sẽ có những phần nó hỗ trợ mà mình chỉ cần nhập địa chỉ vào chứ không cần dùng CLI thể thay đổi các mode và cấu hình chúng, tùy từng thiết bị mà nó hỗ trợ những tính năng khác nhau.

Ta cũng có thể export, load, erase,save file running config, startup config, nvram....

Cấu hình IP address và clock rate cho cổng s0/0 của router 0

+ Xóa thiết bị không dùng đến: Nếu ta cần xóa thiết bị nào trên mô hình thì ta chỉ cần chọn dấu X(delete) bên khung bên phải và chọn thiết bị cần xóa

+ Để xem các gói tin đi trên thiết bị như thế nào bạn có thể chọn Capture/forward hay Auto Capture / PLay


+ Để mô hình này được giữ nguyên sau khi thoát khỏi packet tracer ta cần phải lưu toàn bộ mô hình thiết bị và cấu hình từng thiết bị trong mô hình: Để không mất hết file cấu hình thì ta phải save toàn bộ những gì ta đã cấu hình vào ( copy running config startup config). Và lưu mô hình này vào thư viện của phần mềm

+ Trong thư viện của phần mềm packet tracert có rất nhiều mô hình mạng mà ta có thể tham khảo có hướng dẫn các bước cấu hình, một số topo đã cấu hình và một số chưa, thư viện này rất hữu ích trong quá trình học mà bạn có thể tham khảo để cấu hình, nó nằm trong thư viện "saves' của phần mềm.

Nguồn Vnexperts.Net
[......]

01. Immediately after a router completes its boot sequence, the network administrator wants to check the routers configuration. From privileged EXEC mode, which of the following commands can the administrator use for this purpose? (Choose two.)
  • show flash
  • show NVRAM
  • show startup-config
  • show running-config
  • show version
02. Users in the network are experiencing slow response time when doing file transfers to a remote server. What command could be issued to determine if the router has experienced any input or output errors?
  • show running-config
  • show startup-config
  • show interfaces
  • show ip route
  • show version
  • show memory
03.Refer to the exhibit. A technician applies the configuration in the exhibit to a clean router. To verify the configuration, the technician issues the show running-config command in the CLI session with the router. What lines should the technician expect to see in the router output from the show running-config command?
* enable password class
  line console 0
  password ccna
* enable secret cisco
   enable password class
   line console 0
   password ccna
* enable secret 5 $1$v0/3$QyQWmJyT7zCa/yaBRasJm0
  enable password class
  line console 0
  password ccna
* enable secret cisco
  enable password 7 14141E0A1F17
  line console 0
  password 7 020507550A
* enable secret 5 $1$v0/3$QyQWmJyT7zCa/yaBRasJm0
  enable password 7 14141E0A1F17
  line console 0
04.Refer to the exhibit. A network administrator on HostA has problems accessing the FTP server. Layer three connectivity testing was successful from HostA to the S1 interface of RouterB. Which set of commands will allow the network administrator to telnet to RouterB and run debug commands?
* RouterB(config)# enable secret class
  RouterB(config)# line vty 0 4
  RouterB(config-if)# login
* RouterB(config)# enable secret class
  RouterB(config)# line vty 0 2
  RouterB(config-vty)# password cisco
  RouterB(config-vty)# login
* RouterB(config)# enable secret class
  RouterB(config)# line vty 0
  RouterB(config-line)# password cisco
  RouterB(config-line)# login
* RouterB(config)# enable secret class
  RouterB(config)# line aux 0
  RouterB(config-line)# password cisco
  RouterB(config-line)# login
* RouterB(config)# enable secret class
  RouterB(config)# line aux 0
  RouterB(config-vty)# password cisco
  RouterB(config-vty)# login
05.The connection between routers B and C has been successfully tested. However, after rebooting router C, the administrator noticed the response time between networks 10.10.3.0 and 10.10.4.0 is slower. Ping between the two routers is successful. A trace route indicates three hops from router B to router C. What else can be done to troubleshoot the problem?
  • Ping router B S0/1 connection from router C.
  • Trace the connection between router B to router C S0/1.
  • Issue a show ip route command in router B to verify routing is enabled.
  • Issue a show ip interface brief command on router C.
06. What command is used to change the default router name to Fontana?
  • Router# name Fontana
  • Router# hostname Fontana
  • Router(config)# name Fontana
  • Router(config)# hostname Fontana
07.The serial connection shown in the graphic needs to be configured. Which configuration commands must be made on the Sydney router to establish connectivity with the Melbourne site? (Choose three.)
  • Sydney(config-if)# ip address 201.100.53.2 255.255.255.0
  • Sydney(config-if)# no shutdown
  • Sydney(config-if)# ip address 201.100.53.1 255.255.255.224
  • Sydney(config-if)# clock rate 56000
  • Sydney(config-if)# ip host Melbourne 201.100.53.2
08.Refer to the exhibit. The output is shown for the show ip route command executed on Router A. What does the IP address 192.168.2.2 represent?
  • Gateway for the 192.168.1.0 network
  • Gateway for the 192.168.3.0 network
  • IP assigned to the serial port on Router A
  • IP assigned to the serial port on Router B
09.Refer to the exhibit. What additional command is required to allow remote access to this switch from hosts outside the local network?
  • NA-SW1(config-if)# no shutdown
  • NA-SW1(config)# enable password password
  • NA-SW1(config)# ip default-gateway address
  • NA-SW1(config-if)# description description
10. In a Cisco device, where is the IOS file stored prior to system startup?
  • RAM
  • ROM
  • Flash
  • NVRAM
11. When network services fail, which port is most often used to access a router for management purposes?
  • AUX
  • Ethernet
  • Console
  • Telnet
  • SSH

12. A network administrator needs to keep the user ID, password, and session contents private when establishing remote CLI connectivity with a router to manage it. Which access method should be chosen?
  • Telnet
  • Console
  • AUX
  • SSH
13. In a Cisco router, when do changes made to the running-configuration take effect?
  • after a system restart
  • as the commands are entered
  • when logging off the system
  • when the configuration is saved to the startup-configuration
14.Refer to the exhibit. Which names correctly identify the CLI mode represented by the prompt for Switch-East4#? (Choose two.)
  • line configuration mode
  • user executive mode
  • global configuration mode
  • privileged executive mode
  • interface configuration mode
  • enable mode
15. Which three terms correctly define the forms of help available within the Cisco IOS? (Choose three.)
  • hot keys
  • context-check
  • context-sensitive
  • structured check
  • command override
  • command syntax check
16. Which combination of keys would be used at the CLI prompt to interrupt a ping or traceroute process?
  • Ctrl-C
  • Ctrl-P
  • Ctrl-R
  • Ctrl-Shift-6
  • Ctrl-Z
17.Refer to the exhibit. What command will place the router into the correct mode to configure an appropriate interface to connect to a LAN?
  • UBAMA# configure terminal
  • UBAMA(config)# line vty 0 4
  • UBAMA(config)# line console 0
  • UBAMA(config)# interface Serial 0/0/0
  • UBAMA(config)# interface FastEthernet 0/1
18. On a Cisco router, which interface would be used to make the initial configuration?
Console

19.Refer to the exhibit. A student is responsible for the IP addressing, configuration and connectivity testing of the network shown in the graphic. A ping from host B to host C results in a destination unreachable but a ping from host B to host A was successful. What two reasons could account for this failure based on the graphic and partial router output for the Dallas router? (Choose two.)
  • The host A is turned off.
  • The Fa0/0 interface on Dallas is shutdown.
  • The LAN cable is disconnected from host B.
  • The S0/0/1 IP address of Dallas is improperly configured.
  • The Fa0/0 interface on Dallas is in a different subnet than host B.
  • The clock rate is missing on the serial link between Dallas and NYC.
[......]

01. Convert the binary number 10111010 into its hexadecimal equivalent. Select the correct answer from the list below.
  • 85
  • 90
  • BA
  • A1
  • B3
  • 1C
02. Which of the following describe interframe spacing? (Choose two.)
  • the minimum interval, measured in bit-times, that any station must wait before sending another frame
  • the maximum interval, measured in bit-times, that any station must wait before sending another frame
  • the 96-bit payload padding inserted into a frame to achieve a legal frame size
  • the 96-bit frame padding transmitted between frames to achieve proper synchronization
  • the time allowed for slow stations to process a frame and prepare for the next frame
  • the maximum interval within which a station must send another frame to avoid being considered unreachable
03. When a collision occurs in a network using CSMA/CD, how do hosts with data to transmit respond after the backoff period has expired?
  • The hosts return to a listen-before-transmit mode.
  • The hosts creating the collision have priority to send data.
  • The hosts creating the collision retransmit the last 16 frames.
  • The hosts extend their delay period to allow for rapid transmission.
04. After an Ethernet collision, when the backoff algorithm is invoked, which device has priority to transmit data?
  • the device involved in the collision with the lowest MAC address
  • the device involved in the collision with the lowest IP address
  • any device in the collision domain whose backoff timer expires first
  • those that began transmitting at the same time
05. Which of the following is a drawback of the CSMA/CD access method?
  • Collisions can decrease network performance.
  • It is more complex than non-deterministic protocols.
  • Deterministic media access protocols slow network performance.
  • CSMA/CD LAN technologies are only available at slower speeds than other LAN technologies.
06.Refer to the exhibit. The switch and workstation are administratively configured for full-duplex operation. Which statement accurately reflects the operation of this link?
  • No collisions will occur on this link.
  • Only one of the devices can transmit at a time.
  • The switch will have priority for transmitting data.
  • The devices will default back to half duplex if excessive collisions occur.
07. Why do hosts on an Ethernet segment that experience a collision use a random delay before attempting to transmit a frame?
  • A random delay is used to ensure a collision-free link.
  • A random delay value for each device is assigned by the manufacturer.
  • A standard delay value could not be agreed upon among networking device vendors.
  • A random delay helps prevent the stations from experiencing another collision during the transmission.
08.In the graphic, Host A has reached 50% completion in sending a 1 KB Ethernet frame to Host D when Host B wishes to transmit its own frame to Host C. What must Host B do?
  • Host B can transmit immediately since it is connected on its own cable segment.
  • Host B must wait to receive a CSMA transmission from the hub, to signal its turn.
  • Host B must send a request signal to Host A by transmitting an interframe gap.
  • Host B must wait until it is certain that Host A has completed sending its frame.
09. Ethernet operates at which layers of the OSI model? (Choose two.)
  • Network layer
  • Transport layer
  • Physical layer
  • Application layer
  • Session layer
  • Data-link layer
10. What does the IEEE 802.2 standard represent in Ethernet technologies?
  • MAC sublayer
  • Physical layer
  • Logical Link Control sublayer
  • Network layer
11. Which statements correctly describe MAC addresses? (Choose three.)
  • dynamically assigned
  • copied into RAM during system startup
  • layer 3 address
  • contains a 3 byte OUI
  • 6 bytes long
  • 32 bits long
12.Refer to the exhibit. Host_A is attempting to contact Server_B. Which statements correctly describe the addressing Host_A will generate in the process? (Choose two.)
  • A packet with the destination IP of Router_B.
  • A frame with the destination MAC address of Switch_A.
  • A packet with the destination IP of Router_A.
  • A frame with the destination MAC address of Router_A.
  • A packet with the destination IP of Server_B.
  • A frame with the destination MAC address of Server_B.
13. Host A has an IP address of 172.16.225.93, a mask of 255.255.248.0, and a default gateway of 172.16.224.1. Host A needs to send a packet to a new host whose IP is 172.16.231.78. Host A performs the ANDing operation on its address and subnet mask. What two things will occur? (Choose two.)
  • Host A will get a result of 172.16.224.0 from the AND process.
  • Host A will send on to the media a broadcast frame that contains the packet.
  • Host A will broadcast an ARP request for the MAC of the host 172.16.231.78.
  • Host A will change the destination IP of the packet to 172.16.224.1 and forward the packet.
  • Host A will encapsulate the packet in a frame with a destination MAC that is the MAC address associated with 172.16.224.1.
14. Which two features make switches preferable to hubs in Ethernet-based networks? (Choose two.)
  • reduction in cross-talk
  • minimizing of collisions
  • support for UTP cabling
  • division into broadcast domains
  • increase in the throughput of communications
15. Ethernet operates at which layer of the TCP/IP network model?
  • application
  • physical
  • transport
  • internet
  • data link
  • network access
16. What are three functions of the upper data link sublayer in the OSI model? (Choose three.)
  • recognizes streams of bits
  • identifies the network layer protocol
  • makes the connection with the upper layers
  • identifies the source and destination applications
  • insulates network layer protocols from changes in physical equipment
  • determines the source of a transmission when multiple devices are transmitting
17. What three primary functions does data link layer encapsulation provide? (Choose three.)

  • addressing
  • error detection
  • frame delimiting
  • port identification
  • path determination
  • IP address resolution
18. What are the two most commonly used media types in Ethernet networks today? (Choose two.)
  • coaxial thicknet
  • copper UTP
  • coaxial thinnet
  • optical fiber
  • shielded twisted pair
19.Refer to the exhibit. Which option correctly identifies content that the frame data field may contain?
  • preamble and stop frame
  • network layer packet
  • physical addressing
  • FCS and SoF
20. What is the primary purpose of ARP?
  • translate URLs to IP addresses
  • resolve IPv4 addresses to MAC addresses
  • provide dynamic IP configuration to network devices
  • convert internal private addresses to external public addresses
[......]