GET SET UP
Build your practice lab
Cisco Packet Tracer lets you practise with simulated networking devices. Install it using Cisco’s instructions, then open a new file.
Packet Tracer installation guide- Place your devices
Add two PCs and one switch to your workspace.
- Connect the network
Connect each PC to a switch Ethernet port using the appropriate copper connection.
- Give each PC an address
Open each PC’s IP configuration and enter the settings below.
- IP address
192.168.10.10- Subnet mask
255.255.255.0
- IP address
192.168.10.20- Subnet mask
255.255.255.0
Both PCs are on the same local subnet, so they can communicate directly through the switch. Save your file before experimenting.
Device models, menus and supported commands vary by version. A simulator is useful practice, but it does not reproduce every behaviour of a real network.
COMMAND MODES
Understand the command prompt
The characters before your cursor tell you which mode you’re in. The same command may work in one mode and be unavailable in another.
Switch>Limited viewing mode. Enter enable to move up.
Switch#Run most show commands here.
Switch(config)#Enter with configure terminal.
Switch(config-if)#Configure the interface you selected.
Cisco IOS mode transitions
Open the switch’s CLI. Press Enter if needed, then type the commands after each prompt.
Switch> enable
Switch# configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)# end
Switch# show versionExample session · prompts are shown for context and are excluded when copying.
Switch# and R1# tell you where you are; don’t paste them into the terminal. Use show version to record your device model and software.
exitMove up one mode
endReturn to privileged mode
?See available help
TEST THE CONNECTION
Test the connection with ping
On PC 1, open Desktop → Command Prompt. Test whether you can reach PC 2.
C:\> ping 192.168.10.20Example session · prompts are shown for context and are excluded when copying.
- Observe: Allow address learning to settle, then repeat the ping. Record the result.
- Break the path: Disconnect one cable and ping again. What changed?
- Investigate: Reconnect the cable, generate traffic, and inspect the switch’s learned addresses.
Switch# show mac address-tableExample session · prompts are shown for context and are excluded when copying.
Reveal the explained answer
With matching addresses and active links, the PCs should communicate after address learning settles. Disconnecting a cable removes the path.
The MAC table learns source addresses on the connected switch ports. Exact addresses and output vary by device and version.
04 / QUICK KNOWLEDGE CHECK
Check your understanding
FURTHER PRACTICE
Related labs and exercises
Sources & content checks
Technical references checked on 25 October 2026. These are original teaching explanations, not official Cisco course material.
YOUR PROGRESS
Lesson completion
Mark this lesson complete after you can explain the prompts and complete the ping exercise.