Question

Difficulty: HardVLAN Configuration and Access Port Setup

A network engineer is configuring interface GigabitEthernet1/0/12 on a Cisco Catalyst switch to connect an end-user workstation. The interface must be explicitly configured as a static, non-trunking Layer 2 port placed into VLAN 75. Which two Cisco IOS CLI commands must be executed within interface configuration mode to achieve this setup? (Select two.)

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

Answer

The correct commands to execute in interface configuration mode are 'switchport mode access' and 'switchport access vlan 75'.
Configuring a switch interface for an end-user host requires two distinct steps under interface configuration mode: explicitly declaring the Layer 2 operational mode as access ('switchport mode access') and specifying the target VLAN assignment for untagged frames ('switchport access vlan 75').

Step-by-Step Solution

1
Set the administrative interface mode
Interface is explicitly designated as a Layer 2 access port
Executing 'switchport mode access' under interface configuration mode turns off dynamic trunking negotiations and forces the port into operational access mode.
2
Assign the interface to the target VLAN
Interface forwards untagged traffic into VLAN 75
Executing 'switchport access vlan 75' maps untagged frame ingress and egress on this interface directly to VLAN 75.

Key Concept

Static Access Port Configuration Syntax
Estimated Time:1m 30s
Rate this question