Scenario
Each desk has an IP phone, with the PC plugged into the phone. The PCs must be in the data VLAN 10 (DATA). The phones must be in the voice VLAN 150 (VOICE), so their traffic stays apart. Fa0/1 and Fa0/2 are desk ports. Fa0/3 is a network printer and belongs in VLAN 10 only, with no voice VLAN. Gi0/1 is the uplink to the distribution switch and must carry exactly the two VLANs.
Topology
Requirements
- 1VLAN 10 is named DATA and VLAN 150 is named VOICE
- 2Fa0/1 is an access port in VLAN 10 with voice VLAN 150
- 3Fa0/2 is an access port in VLAN 10 with voice VLAN 150
- 4Fa0/3 is an access port in VLAN 10 and has no voice VLAN
- 5Gi0/1 is a trunk that carries exactly VLANs 10 and 150
- 6Fa0/1 and Fa0/2 have PortFast
SW1 is a new switch with default settings. Type ? for the commands you can use. Start with: enable
SW1> show running-config
CCNA lab · about 12 min
Voice VLAN: IP phones and PCs on one access port
Create a data VLAN and a voice VLAN, give two desk ports both an access VLAN and a voice VLAN with switchport voice vlan, keep the printer port on data only, and carry both VLANs on the uplink trunk.
This lab is included in the CCNA plans and in the free trial.