Cisco Packet Tracer Configuration & Practical Lab Study Guide
Basic Cisco Navigation and Modes
CLI Navigation Commands:
enable— Transitions from User EXEC mode to Privileged EXEC mode.disable— Exits Privileged EXEC mode and returns to User EXEC mode.configure terminal— Transitions from Privileged EXEC mode to Global Configuration mode.exit— Steps back one level in the configuration mode hierarchy.end— Returns directly to Privileged EXEC mode from any sub-configuration mode.?— Displays a contextual list of available commands at the current prompt level.
Interface Configuration Commands
Interface Selection and Parameter Assignment:
interface gigabitEthernet 0/0— Selects GigabitEthernet interface0/0for configuration.interface fastEthernet 0/1— Selects FastEthernet interface0/1for configuration.ip address 192.168.1.1 255.255.255.0— Assigns IP address192.168.1.1and subnet mask255.255.255.0to the interface.no shutdown— Enables the interface (brings line protocol and status toup).shutdown— Administratively disables the interface.description LAN— Applies a descriptive label (LAN) to the interface.
Interface Verification Commands:
show ip interface brief— Displays a summarized table of interface IP addresses, status, and protocol state.show interfaces— Displays full operational metrics, operational state, and bandwidth statistics for all interfaces.show interfaces gigabitEthernet 0/0— Displays full operational statistics for GigabitEthernet interface0/0specifically.
Configuration Management and Saving
Commands to Save Device Configuration:
copy running-config startup-config— Copies the current active running configuration in RAM to NVRAM to persist across reboots.write memory— Alternative command that saves the running configuration directly to NVRAM.
Configuration Inspection Commands:
show running-config— Displays the contents of active RAM configuration.show startup-config— Displays the configuration stored in non-volatile memory (NVRAM).
Host PC Command Prompt Commands
Executed within a Packet Tracer PC interface under
Desktop→Command Prompt:ipconfig— Displays basic IP address, subnet mask, and default gateway settings for the host.ipconfig /all— Displays complete IP stack details, including network adapters, physical MAC addresses, subnet masks, default gateways, and DNS servers.ping 192.168.1.1— Sends ICMP echo request packets to target IP address192.168.1.1to verify Layer 3 connectivity.tracert 192.168.1.1— Traces intermediate routing hops taken to reach target host192.168.1.1.arp -a— Displays the ARP address resolution cache mapping local IP addresses to physical MAC addresses.
Static Routing Configuration
Static Route Management on Cisco Routers:
ip route 192.168.2.0 255.255.255.0 10.0.0.2— Creates a static route entry directing traffic bound for network destination192.168.2.0/24to next-hop IP address10.0.0.2.show ip route— Displays the active IP routing table.no ip route 192.168.2.0 255.255.255.0 10.0.0.2— Removes the static route entry from the active routing configuration.
Router DHCP Server Configuration
Configuring a Cisco Router as a Dynamic Host Configuration Protocol Server:
ip dhcp excluded-address 192.168.1.1 192.168.1.10— Reserves and excludes IP addresses192.168.1.1through192.168.1.10from dynamic lease assignment.ip dhcp pool LAN— Defines a dynamic host configuration pool namedLANand enters DHCP configuration sub-mode.network 192.168.1.0 255.255.255.0— Specifies the address space pool available for lease distribution.default-router 192.168.1.1— Configures default gateway option supplied to DHCP clients.dns-server 8.8.8.8— Configures the DNS server address supplied to DHCP clients.
DHCP Verification Commands:
show ip dhcp binding— Displays active lease assignments, client MAC addresses, and lease expiration data.show ip dhcp pool— Displays configured pool parameters, subnet ranges, and utilization figures.
Device Passwords and Security Settings
Securing Cisco CLI Access:
enable secret class— Sets an encrypted password (class) for gaining Privileged EXEC access.line console 0— Accesses console line configuration sub-mode.password cisco— Sets the console access authentication password tocisco.login— Enables password prompting on the console port.line vty 0 4— Enters configuration sub-mode for Virtual Terminal (VTY) lines0through4(remote access channels).password cisco— Sets the VTY remote access password tocisco.login— Enforces password authentication on remote connection attempts.service password-encryption— Encrypts plain-text clear passwords stored within active device configuration files.
Switch Configuration and VLAN Setup
Virtual Local Area Network Commands:
show vlan brief— Displays a summary table of configured VLAN IDs, names, status, and assigned physical ports.vlan 10— Creates VLAN10or opens VLAN configuration mode for existing VLAN10.name SALES— Sets the textual name of VLAN10toSALES.interface fastEthernet 0/1— Enters configuration mode for portFastEthernet 0/1.switchport mode access— Sets port operational mode to static Layer 2 access.switchport access vlan 10— Binds access portFastEthernet 0/1to VLAN10.
Switch Trunking Configuration
VLAN Trunking Commands:
interface gigabitEthernet 0/1— Enters interface configuration mode for interfaceGigabitEthernet 0/1.switchport mode trunk— Configures the interface to operate as an 802.1Q trunk link carrying multiple VLANs.show interfaces trunk— Displays status, operational mode, encapsulation type, and allowed VLAN lists for active trunk links.
Switched Virtual Interface (SVI) Management
Layer 3 Switch Interface Configuration:
interface vlan 10— Enters SVI configuration mode for logical VLAN interface10.ip address 192.168.10.1 255.255.255.0— Configures IP address192.168.10.1and subnet mask255.255.255.0on SVI10.no shutdown— Administratively enables the logical VLAN interface.
Essential Verification and Troubleshooting Commands
System Verification Commands:
show running-config— Displays complete running active configuration.show ip interface brief— Summarizes Layer 3 status and IP address assignment on interfaces.show ip route— Inspects Layer 3 IP routing table.show vlan brief— Inspects VLAN assignments on switch access interfaces.show interfaces trunk— Inspects 802.1Q trunk link operational parameters.show mac address-table— Displays MAC address-to-port binding table on switch hardware.show arp— Displays Address Resolution Protocol IP-to-MAC resolution table.show cdp neighbors— Inspects directly connected Cisco devices discovered via Cisco Discovery Protocol.show version— Displays device uptime, system software versions, hardware specifications, and register settings.
Diagnostic Troubleshooting Priority Sequence: When experiencing network connectivity faults, execute verification commands in this order:
show ip interface briefshow running-configshow ip routeping <IP-address>traceroute <IP-address>show arpshow mac address-table
Core Practical Exam High-Priority Commands
The 15 essential commands to master for practical assessments:
enableconfigure terminalinterface g0/0ip addressno shutdownshow ip interface briefshow running-configshow ip routeip routepingtracerouteshow vlan briefshow interfaces trunkcopy running-config startup-configshow mac address-table
Serial Interface Setup and DCE Clock Rate Rules
Configuration Parameters for Serial Connections (e.g.,
Serial0/0/0):Router
R1Serial0/0/0IP address:10.0.0.1Router
R2Serial0/0/0IP address:10.0.0.2Subnet mask:
255.255.255.252(/30prefix length)
Router
R1Configuration Steps:enableconfigure terminalinterface serial0/0/0ip address 10.0.0.1 255.255.255.252no shutdownexitendcopy running-config startup-config
Router
R2Configuration Steps:enableconfigure terminalinterface serial0/0/0ip address 10.0.0.2 255.255.255.252no shutdownexitendcopy running-config startup-config
Data Circuit-terminating Equipment (DCE) Clocking Rules:
If
R1connects to the DCE cable head, configure hardware clock rate synchronization onR1:interface serial0/0/0clock rate 64000no shutdownInterface Role Identification:
To determine whether a local interface is DCE or DTE, execute:
show controllers serial 0/0/0
Verifying Operational Status of Serial Links:
Command:
show ip interface briefTarget Output State:
Serial0/0/0 10.0.0.1 YES manual up upConnectivity Test:
ping 10.0.0.2
Serial Link Configuration Sequence Formula:
Flow:
Interface→IP→Clock rate (DCE)→No shutdown→Save→PingSyntax Template:
enableconf tint s0/0/0ip address X.X.X.X X.X.X.Xclock rate 64000no shutdownendcopy run start
Comprehensive R1-to-R2 End-to-End Practical Lab
Topology Layout:
PC1connects viaFastEthernettoR1 GigabitEthernet 0/0interface (192.168.1.0/24subnet).R1 Serial0/0/0connects via point-to-point serial link toR2 Serial0/0/0interface (10.0.0.0/30subnet).R2 GigabitEthernet 0/0connects viaFastEthernettoPC2(192.168.2.0/24subnet).

Full IP Addressing Table:
PC1: InterfaceFastEthernet, IP address192.168.1.10, Subnet mask255.255.255.0, Gateway192.168.1.1R1: InterfaceG0/0, IP address192.168.1.1, Subnet mask255.255.255.0, Gateway—R1: InterfaceS0/0/0, IP address10.0.0.1, Subnet mask255.255.255.252, Gateway—R2: InterfaceS0/0/0, IP address10.0.0.2, Subnet mask255.255.255.252, Gateway—R2: InterfaceG0/0, IP address192.168.2.1, Subnet mask255.255.255.0, Gateway—PC2: InterfaceFastEthernet, IP address192.168.2.10, Subnet mask255.255.255.0, Gateway192.168.2.1
Step-by-Step Lab Configuration Walkthrough:
Step 1: PC1 IP Configuration
Access menu:
PC1→Desktop→IP ConfigurationIP Address:
192.168.1.10Subnet Mask:
255.255.255.0Default Gateway:
192.168.1.1Step 2: PC2 IP Configuration
Access menu:
PC2→Desktop→IP ConfigurationIP Address:
192.168.2.10Subnet Mask:
255.255.255.0Default Gateway:
192.168.2.1Step 3: R1 CLI Interface Configuration
Open
R1CLI tab and enter:enableconfigure terminalhostname R1interface gigabitEthernet 0/0ip address 192.168.1.1 255.255.255.0no shutdownexitinterface serial 0/0/0ip address 10.0.0.1 255.255.255.252clock rate 64000no shutdownexitendcopy running-config startup-config
DTE/DCE Operational Note: If Packet Tracer outputs that
clock rateis invalid forR1,R1operates as the DTE end. Remove theclock ratecommand onR1and executeclock rate 64000onR2(the DCE end).Step 4: R2 CLI Interface Configuration
Open
R2CLI tab and enter:enableconfigure terminalhostname R2interface gigabitEthernet 0/0ip address 192.168.2.1 255.255.255.0no shutdownexitinterface serial 0/0/0ip address 10.0.0.2 255.255.255.252no shutdownexitendcopy running-config startup-config
Step 5: Static Routing Configuration
Problem Statement: Router
R1possesses direct connected routes to192.168.1.0/24and10.0.0.0/30, but lacks a route entry for192.168.2.0/24. Similarly,R2requires a route to access192.168.1.0/24viaR1.Configuration on Router
R1:enableconfigure terminalip route 192.168.2.0 255.255.255.0 10.0.0.2end
Configuration on Router
R2:enableconfigure terminalip route 192.168.1.0 255.255.255.0 10.0.0.1end
Save step for both routers:
copy running-config startup-config
Step 6: Interface Status Verification
Execute on
R1:show ip interface briefVerified operational states:
G0/0: IP192.168.1.1, Statusup, ProtocolupS0/0/0: IP10.0.0.1, Statusup, Protocolup
Execute on
R2:show ip interface briefVerified operational states:
G0/0: IP192.168.2.1, Statusup, ProtocolupS0/0/0: IP10.0.0.2, Statusup, Protocolup
Interface State Diagnosis: An output showing
administratively downindicates thatno shutdownwas omitted during interface configuration.Step 7: Routing Table Verification
Execute on
R1:show ip routeVerified entry:
S 192.168.2.0/24 [1/0] via 10.0.0.2
Execute on
R2:show ip routeVerified entry:
S 192.168.1.0/24 [1/0] via 10.0.0.1
Route Code Key:
Sdesignates a Static Route.Step 8: Network Connectivity Validation
Point-to-Point Router Verification: From
R1prompt, enterping 10.0.0.2to confirm serial link operation.Router-to-Host Verification: From
R1prompt, enterping 192.168.2.10to confirm routing acrossR2down toPC2.End-to-End Host Verification: From
PC1→Desktop→Command Prompt, runping 192.168.2.10. Successful ICMP echo replies validate proper overall end-to-end routing and network setup.
Practical Examination Workflow Blueprint:
Standard configuration sequence syntax for static routing questions:
enableconf tinterface g0/0ip address X.X.X.X X.X.X.Xno shutdownexitinterface s0/0/0ip address X.X.X.X X.X.X.Xclock rate 64000no shutdownexitip route NETWORK MASK NEXT-HOPendcopy run startPractical Exam Ordering Rule: When given an exam prompt to configure static routing so two hosts across two routers can communicate, perform operations in this exact order:
PC IP→Router LAN IP→Serial IPs→no shutdown→Static routes→Save→Ping.