Cisco Certified Network Associate (CCNA) Practice Exam

Disable ads (and more) with a membership for a one time $2.99 payment

Study for the Cisco Certified Network Associate (CCNA) exam with our comprehensive quiz featuring multiple-choice questions and detailed explanations. Prepare effectively and enhance your understanding of networking concepts!

Practice this question and more.


Which command configures a switch port to access mode?

  1. (config)#interface INTERFACE

  2. (config-if)#switchport mode trunk

  3. (config-if)#switchport mode access

  4. (config)#interface mode access

The correct answer is: (config-if)#switchport mode access

The command that configures a switch port to access mode is indeed the correct choice. In Cisco networking, access mode is used to configure a switch port to carry traffic for a single VLAN. This is typically the configuration needed for ports connected to end devices like computers, printers, or any other endpoint that operates on a single VLAN. When the command "switchport mode access" is executed in the interface configuration mode, it explicitly sets the port to only accept frames that are associated with its assigned VLAN and ensures that it does not participate in trunking protocols, which are used to carry multiple VLANs over a single port. The other commands listed serve different purposes. For instance, configuring an interface does not explicitly set its operational mode — it's a preliminary step before setting the mode. Using "switchport mode trunk" instead sets the port to trunk mode, allowing it to manage traffic for multiple VLANs, which is not suitable for an access port configuration. The last option does not correspond to a recognized command in the context of Cisco switch port configuration. Thus, the command you have identified correctly establishes a port as an access port, locking it to a single VLAN and preparing it for mainstream end-device connectivity.