You are connected to a Multilayer Switch MLS1. Configure the switch so that interface GigabitEthernet1/0/1 is an access port for VLAN 10, with voice VLAN 110 for an IP phone, and enable PoE. Additionally, interface GigabitEthernet1/0/2 must be an access port for VLAN 20 to connect an AP. Verify the configuration using 'show interfaces switchport' and 'show power inline'.
Exhibit
Current running-config (partial): ! hostname MLS1 ! vlan 10 name DATA ! vlan 20 name AP ! vlan 110 name VOICE ! interface GigabitEthernet1/0/1 description IP Phone Port ! interface GigabitEthernet1/0/2 description AP Port ! interface Vlan1 ip address 192.168.1.1 255.255.255.0 no shutdown ! line con 0 logging synchronous exit
Trap 1: interface GigabitEthernet1/0/1 switchport mode trunk switchport…
This is incorrect because Gi1/0/1 is configured as a trunk port instead of an access port. While a trunk can carry multiple VLANs, the requirement is for an access port with a voice VLAN. The 'switchport mode trunk' command changes the port to trunk mode, which is not desired.
Trap 2: interface GigabitEthernet1/0/1 switchport mode access switchport…
This is incorrect because 'power inline never' disables PoE on Gi1/0/1, preventing the IP phone from receiving power. The requirement explicitly states to enable PoE. The correct command is 'power inline auto' (or no command, as auto is default).
Trap 3: interface GigabitEthernet1/0/1 switchport mode access switchport…
This is incorrect because the access VLAN and voice VLAN are swapped. The access VLAN should be 10 (data) and the voice VLAN should be 110 (voice). This misconfiguration would place the IP phone's data traffic in VLAN 110 and voice traffic in VLAN 10, which is not the requirement.
- A
interface GigabitEthernet1/0/1 switchport mode access switchport access vlan 10 switchport voice vlan 110 power inline auto interface GigabitEthernet1/0/2 switchport mode access switchport access vlan 20
This configuration correctly sets Gi1/0/1 as an access port in VLAN 10, assigns voice VLAN 110, and enables PoE (auto is default). Gi1/0/2 is correctly set as an access port in VLAN 20. The 'show interfaces switchport' and 'show power inline' commands will verify these settings.
- B
interface GigabitEthernet1/0/1 switchport mode trunk switchport trunk allowed vlan 10,110 power inline auto interface GigabitEthernet1/0/2 switchport mode access switchport access vlan 20
Why wrong: This is incorrect because Gi1/0/1 is configured as a trunk port instead of an access port. While a trunk can carry multiple VLANs, the requirement is for an access port with a voice VLAN. The 'switchport mode trunk' command changes the port to trunk mode, which is not desired.
- C
interface GigabitEthernet1/0/1 switchport mode access switchport access vlan 10 switchport voice vlan 110 power inline never interface GigabitEthernet1/0/2 switchport mode access switchport access vlan 20
Why wrong: This is incorrect because 'power inline never' disables PoE on Gi1/0/1, preventing the IP phone from receiving power. The requirement explicitly states to enable PoE. The correct command is 'power inline auto' (or no command, as auto is default).
- D
interface GigabitEthernet1/0/1 switchport mode access switchport access vlan 110 switchport voice vlan 10 power inline auto interface GigabitEthernet1/0/2 switchport mode access switchport access vlan 20
Why wrong: This is incorrect because the access VLAN and voice VLAN are swapped. The access VLAN should be 10 (data) and the voice VLAN should be 110 (voice). This misconfiguration would place the IP phone's data traffic in VLAN 110 and voice traffic in VLAN 10, which is not the requirement.