Scenario

Ticket: PC1 (Sales, VLAN 10, on Fa0/1) cannot reach PC3, which is also in VLAN 10 but on SW2. PC2 (Engineering, VLAN 20, on Fa0/2) reaches its colleagues on SW2 without trouble. Nobody has touched SW2. Gi0/1 is the trunk to SW2. Find out what is wrong on SW1 and fix it, without breaking VLAN 20.

Topology

SW1SW2

Requirements

  1. 1PC1's port, Fa0/1, is an access port in VLAN 10
  2. 2PC2's port, Fa0/2, stays in VLAN 20
  3. 3The trunk Gi0/1 carries VLAN 10
  4. 4The trunk carries exactly VLANs 10 and 20

Something is broken. Find it with show commands, then fix it. Type ? for the commands you can use.

SW1> show running-config

CCNA lab · about 12 min

Troubleshoot: PC1 cannot reach PC3 across the trunk

Two faults, one wrong access VLAN and one trunk that does not carry the VLAN, keep two PCs apart. Find them with show commands and fix them.

This lab is included in the CCNA plans and in the free trial.

Start the free trial Try the free VLAN lab Today's free lab

All labs

About this lab

Ticket: PC1 (Sales, VLAN 10, on Fa0/1) cannot reach PC3, which is also in VLAN 10 but on SW2. PC2 (Engineering, VLAN 20, on Fa0/2) reaches its colleagues on SW2 without trouble. Nobody has touched SW2. Gi0/1 is the trunk to SW2. Find out what is wrong on SW1 and fix it, without breaking VLAN 20.

About 12 minutes. Included in the CCNA plans and the free trial.

Questions about this lab

Is this a real Cisco switch?

No. It is a small simulator written by CertAce. It understands a handful of commands and keeps the state of one switch, so you can practise the ideas without lab gear. Real devices print more, and the exam may ask for things this lab does not cover. CertAce is not affiliated with Cisco.

How do I read show interfaces trunk?

It has three lists: the VLANs allowed on the trunk, the VLANs allowed and active in the management domain, and the VLANs in spanning-tree forwarding state and not pruned. A VLAN missing from the first list is blocked by the allowed list.

What happens to a port assigned to a VLAN that does not exist?

On many switches the command creates the VLAN for you. If the VLAN is later deleted or absent, the port stays in the configuration but shows as inactive in show vlan brief and carries no traffic until the VLAN exists again.

Why test end to end after each fix?

Faults often come in pairs. One fix can make the symptom look unchanged while the second fault still blocks the path.

CertAce is not affiliated with or endorsed by Cisco Systems. CCNA and Cisco are trademarks of Cisco Systems, Inc. The simulator and every command output here were written by CertAce.