Question

Difficulty: MediumVLAN Configuration and Access Port Setup

A network administrator is configuring interface FastEthernet0/18 on switch SW-2 to connect an end-user workstation in VLAN 75. The interface must be explicitly set to access mode and assigned to VLAN 75. Which two commands must be entered in interface configuration mode to complete this setup? (Select two.)

  1. switchport mode accessAnswer
  2. switchport access vlan 75Answer
  3. C
    switchport trunk native vlan 75
  4. D
    spanning-tree portfast trunk

Answer

To configure a switch port for end-device access connectivity, the engineer must statically set the port mode to access using 'switchport mode access' and assign it to the designated VLAN using 'switchport access vlan 75'.
Proper access port configuration requires two explicit commands in interface configuration mode: 'switchport mode access' to define the port as a static access port, and 'switchport access vlan 75' to assign it to VLAN 75.

Step-by-Step Solution

1
Set the administrative mode of the interface to access.
The interface is forced into access mode and will not negotiate trunking.
Ensures the port operates strictly as a single-VLAN access port.
2
Assign the access port to VLAN 75.
The interface becomes a member of VLAN 75.
Associates untagged frames received on FastEthernet0/18 with broadcast domain VLAN 75.

Key Concept

Access Port VLAN Assignment
Rate this question