You are connected to a single switch, SW1, which is a Cisco Catalyst 2960 running Cisco IOS. Configure port GigabitEthernet0/1 as an access port for a Cisco IP phone and a PC on the same VLAN (Voice VLAN 20, Data VLAN 10). The switch must provide PoE to the phone. Additionally, configure GigabitEthernet0/2 as an access port for a wireless access point (AP) that requires PoE. Verify both configurations using the appropriate show commands. The current running-config is incomplete; you must add the necessary commands.
Hints
- •Voice VLAN is configured with a separate command on the interface.
- •PoE may be disabled; use 'power inline auto' to enable it.
- •Use 'show interfaces switchport' to confirm voice VLAN assignment.
! SW1 configure terminal interface gigabitEthernet 0/1 switchport voice vlan 20 power inline auto exit interface gigabitEthernet 0/2 power inline auto end write memory
Why this answer
The configuration was missing the voice VLAN assignment on Gi0/1 and PoE settings on both ports. For Gi0/1, the command 'switchport voice vlan 20' is required to separate voice traffic from data traffic. For both Gi0/1 and Gi0/2, PoE must be enabled; by default 'power inline auto' is set, but since the ports show 'off', they may have been disabled.
The solution ensures PoE is enabled with 'power inline auto' and sets the voice VLAN correctly. Verification with 'show interfaces switchport' should show 'Voice VLAN: 20' and 'show power inline' should show 'auto' for both ports.
Exam trap
Candidates often confuse the need for a trunk port when multiple VLANs are involved, but the voice VLAN feature allows an access port to carry both data and voice traffic. Also, remember that 'power inline auto' is the default but may need to be explicitly configured if disabled. Always verify with 'show interfaces switchport' to see the voice VLAN and 'show power inline' to see PoE status.
Why the other options are wrong
The specific factual error is that trunk ports are used to carry multiple VLANs between switches, not for connecting end devices like phones and PCs. The correct method is to use an access port with a voice VLAN.
The specific factual error is that 'power inline never' explicitly disables PoE, which would prevent the phone from powering on. The correct command is 'power inline auto' to enable PoE detection and delivery.
The specific factual error is that the VLAN numbers are reversed. The access VLAN should be the data VLAN (10), and the voice VLAN should be 20. Swapping them would place data traffic in VLAN 20 and voice in VLAN 10, which is not the intended configuration.
Why candidates pick the wrong answer
Candidates might think that because two VLANs are needed (voice and data), a trunk port is required. However, Cisco's voice VLAN feature allows both VLANs on an access port.
Candidates might confuse 'never' with 'auto' or think that PoE is enabled by default and doesn't need configuration. However, if the port shows 'off', it must be explicitly set to 'auto'.
Candidates might misread the question or confuse which VLAN is for voice and which for data. The question clearly states 'Voice VLAN 20, Data VLAN 10'.