QuestionQ269

Network Access

Question Image

Refer to the exhibit. An administrator needs to configure interfaces Gi1/1 and Gi1/3 on switch SW11.

  • PC-1 and PC-2 must be assigned to the Data VLAN.
  • Phone-1 must be assigned to the Voice VLAN.

Which configuration satisfies these requirements?

  • A interface gigabitethernet1/1 switchport mode access switchport access vlan 8 ! interface gigabitethernet1/3 switchport mode access switchport access vlan 8 switchport voice vlan 9
  • B interface gigabitethernet1/1 switchport mode access switchport access vlan 8 ! interface gigabitethernet1/3 switchport mode trunk switchport trunk vlan 8 switchport voice vlan 9
  • C interface gigabitethernet1/1 switchport mode access switchport access vlan 9 ! interface gigabitethernet1/3 switchport mode trunk switchport trunk vlan 8 switchport trunk vlan 9
  • D interface gigabitethernet1/1 switchport mode access switchport access vlan 8 ! interface gigabitethernet1/3 switchport mode access switchport voice vlan 8 switchport access vlan 9
Explanation

A PC connected directly to a switch port belongs on an access port in the data VLAN, so Gi1/1 must be an access port in VLAN 8. For an IP phone with a downstream PC, the switch port is typically configured as an access port for the PC’s untagged data traffic and with a separate voice VLAN for the phone’s tagged voice traffic. On Cisco switches, that is done with switchport access vlan 8 and switchport voice vlan 9 on Gi1/3. This places PC-1 and PC-2 in Data VLAN 8 and Phone-1 in Voice VLAN 9.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!