Question

Difficulty: MediumVLAN Configuration and Access Port Setup

A network administrator needs to assign interface GigabitEthernet1/0/8 on a Cisco Catalyst switch to VLAN 70 (named RESEARCH) as a static access port. The configuration must force the interface into access mode and statically assign it to VLAN 70. Which TWO commands must be entered in interface configuration mode to complete this setup?

  1. switchport mode accessAnswer
  2. B
    switchport trunk native vlan 70
  3. switchport access vlan 70Answer
  4. D
    vlan 70

Answer

The correct commands to execute in interface configuration mode are 'switchport mode access' and 'switchport access vlan 70'.
Configuring an access port on a Cisco switch requires defining the port behavior as access mode ('switchport mode access') and specifying the target VLAN assignment ('switchport access vlan 70'). Together, these commands ensure untagged traffic on the port belongs exclusively to VLAN 70.

Step-by-Step Solution

1
Set the interface mode to access
Interface is explicitly designated as an access port using 'switchport mode access'.
Ensures the port operates exclusively as an access interface and disables DTP negotiation into trunking mode.
2
Assign the specific access VLAN membership
Interface is associated with VLAN 70 using 'switchport access vlan 70'.
Directs untagged traffic entering or leaving GigabitEthernet1/0/8 into broadcast domain VLAN 70.

Key Concept

Configuring static access ports in Cisco IOS requires enforcing access mode and setting the access VLAN membership at the interface configuration prompt.
Rate this question