Which TWO switch port configurations are required when connecting a Cisco IP phone and a desktop PC to a single access port?
Trap 1: Configure the port as a trunk and allow both VLANs.
This is incorrect because the port should remain an access port, not a trunk. Trunk ports are used for switch-to-switch or switch-to-router links, not for end devices like phones and PCs.
Trap 2: Disable spanning tree on the port to prevent voice delays.
Disabling spanning tree is dangerous and unnecessary; STP prevents loops and should remain enabled. Voice delays are better managed by QoS and proper VLAN configuration.
Trap 3: Configure the port as a routed port with an IP address for…
Routed ports are used for Layer 3 connectivity between routers or switches, not for connecting end devices like phones and PCs. This would break VLAN segmentation.
- A
Configure the port as a trunk and allow both VLANs.
Why wrong: This is incorrect because the port should remain an access port, not a trunk. Trunk ports are used for switch-to-switch or switch-to-router links, not for end devices like phones and PCs.
- B
Use the 'switchport voice vlan' command to assign a dedicated voice VLAN.
This command separates voice traffic from data traffic by placing the phone in a specific VLAN, typically VLAN 10 or similar, while the PC remains in the native access VLAN.
- C
Disable spanning tree on the port to prevent voice delays.
Why wrong: Disabling spanning tree is dangerous and unnecessary; STP prevents loops and should remain enabled. Voice delays are better managed by QoS and proper VLAN configuration.
- D
Apply 'mls qos trust cos' on the interface to preserve voice packet markings.
Cisco IP phones mark voice packets with CoS value 5. Trusting these markings on the access port ensures that the QoS policy in the network treats voice traffic with priority.
- E
Configure the port as a routed port with an IP address for management.
Why wrong: Routed ports are used for Layer 3 connectivity between routers or switches, not for connecting end devices like phones and PCs. This would break VLAN segmentation.