Question

Difficulty: EasyVLAN Configuration and Access Port Setup

A network technician is provisioning interface FastEthernet 0/1 for a newly attached workstation. Which two Cisco IOS commands must be executed in interface configuration mode to manually set the port as a static access interface assigned to VLAN 20? (Select two.)

  1. switchport mode accessAnswer
  2. switchport access vlan 20Answer
  3. C
    switchport trunk native vlan 20
  4. D
    vlan 20

Answer

The two required interface configuration commands are 'switchport mode access' and 'switchport access vlan 20'.
To complete access port configuration, the command 'switchport mode access' sets the administrative mode to access, while 'switchport access vlan 20' binds the port to the specific VLAN ID.

Step-by-Step Solution

1
Set the port mode
Interface is forced into access mode using 'switchport mode access'
Ensures DTP negotiation does not convert the port into a trunk link
2
Assign the VLAN membership
Interface is assigned to VLAN 20 using 'switchport access vlan 20'
Maps untagged frames received on this interface to broadcast domain 20

Key Concept

Access Port VLAN Configuration Syntax
Rate this question