Cisco Certified Network Associate (CCNA) Practice Exam

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

Prepare for the Cisco Certified Network Associate (CCNA) Practice Exam. Test your knowledge with our interactive quizzes featuring multiple choice questions, hints, and explanations. Equip yourself for success!

Practice this question and more.


What command is utilized to assign a physical interface to a VLAN?

  1. (config)#interface INTERFACE

  2. (config-if)#switchport access vlan VLAN NUMBER

  3. #copy run start

  4. All of the above

The correct answer is: All of the above

The command used to assign a physical interface to a VLAN is specifically through the configuration mode of the interface. In this context, when you enter the interface configuration mode with the command that specifies the interface, you then use the command to set the VLAN. When configuring an interface for a VLAN, you first navigate to the desired interface using “interface INTERFACE” command, and then you can assign it to a specific VLAN with “switchport access vlan VLAN NUMBER.” This sets the interface as an access link for that VLAN. The command “copy run start” is related but does not assign an interface to a VLAN. Instead, it is used to save the running configuration to the startup configuration. Thus, while not all commands directly assign a physical interface to a VLAN, they do represent steps in the configuration process. Therefore, option describing the use of specific switchport commands reflects the actual configuration needed to assign a physical interface to a VLAN.