You are connected to a multilayer switch MLS1. Configure FastEthernet0/1 as an access port for an IP phone and a PC, with voice VLAN 20 and data VLAN 10. Also enable PoE on the port. Then verify the configuration using 'show interfaces switchport' and 'show power inline'.
Hints
- •The interface currently has 'no switchport' — remove that to make it a Layer 2 port.
- •You need to set both access VLAN and voice VLAN using the switchport command.
- •PoE is currently disabled globally or per interface — enable it with 'power inline auto'.
! MLS1 configure terminal interface FastEthernet0/1 switchport mode access switchport access vlan 10 switchport voice vlan 20 power inline auto end
Why this answer
It configures FastEthernet0/1 as an access port with data VLAN 10, voice VLAN 20, and PoE enabled, which is the required setup for an IP phone and PC. Option B is incorrect because 'no switchport' makes the interface a routed port (Layer 3), but it needs to be a Layer 2 access port to support an IP phone and PC. Option C is incorrect because trunk mode is used for switch-to-switch links, not for connecting end devices like an IP phone and PC.
Option D is incorrect because 'power inline never' disables PoE, but the IP phone requires power; it should use 'power inline auto'.
Exam trap
The trap is that candidates may incorrectly use 'no switchport' to make the interface a routed port, or use trunk mode instead of access mode with voice VLAN. Remember that for end devices, the port must be an access port; the voice VLAN is configured separately. Also, ensure PoE is enabled with 'auto', not 'never'.
Why the other options are wrong
'no switchport' creates a routed port, which cannot handle VLANs for an IP phone and PC.
Trunk mode is for inter-switch links, not for end devices; access mode is required.
'power inline never' disables PoE, but the IP phone needs power from the switch.
Why candidates pick the wrong answer
Candidates might think a routed port is needed for the phone or that an IP address must be assigned to the interface.
Candidates may confuse trunking with the ability to carry voice and data VLANs, not realizing that the switch uses the voice VLAN feature on an access port.
Candidates might think 'never' is a valid option to conserve power or misunderstand the PoE configuration commands.