Question

Difficulty: MediumVLAN Configuration and Access Port Setup

A network administrator is provisioning interface GigabitEthernet0/1 on a Cisco Catalyst switch to connect a newly deployed workstation. The workstation must belong to VLAN 15. Which two configuration steps are required under the interface configuration mode to correctly establish this interface as a static access port in VLAN 15? (Select two.)

  1. Execute the command switchport mode access to statically set the interface to access mode.Answer
  2. Execute the command switchport access vlan 15 to assign the interface to VLAN 15.Answer
  3. C
    Execute the command switchport trunk native vlan 15 to map host traffic to VLAN 15.
  4. D
    Configure an IP address on interface GigabitEthernet0/1 because access ports require Layer 3 addresses to isolate broadcast domains.

Answer

Configuring a static access port in Cisco IOS requires explicitly defining the interface mode using switchport mode access and specifying the VLAN membership using switchport access vlan 15 under interface configuration mode.
Configuring an end-user host connection on a Cisco switch requires establishing static access mode using 'switchport mode access' and assigning the specific VLAN membership using 'switchport access vlan 15'. Together, these two commands ensure untagged traffic from the connected host is correctly mapped into VLAN 15.

Step-by-Step Solution

1
Enter interface configuration mode for GigabitEthernet0/1.
Access the target interface CLI prompt: Switch(config-if)#
Configuration parameters for access port operation must be applied directly to the physical interface.
2
Set the administrative operational mode to access.
Run switchport mode access.
Ensures the switchport operates strictly as an access port and prevents DTP from negotiating a trunk link.
3
Assign the interface to the target VLAN.
Run switchport access vlan 15.
Places untagged host frames into broadcast domain VLAN 15.

Key Concept

Cisco IOS VLAN Access Port Configuration Syntax
Rate this question