What is the effect of issuing a switchport access vlan 20 command on the Fa0/18 port of a switch that does not have this VLAN in the VLAN database?

ccna2-answer
ccna2-exam
dynamic-routing

#1

What is the effect of issuing a switchport access vlan 20 command on the Fa0/18 port of a switch that does not have this VLAN in the VLAN database?

  1. The command will have no effect on the switch.
  2. VLAN 20 will be created automatically.*
  3. An error stating that VLAN 20 does not exist will be displayed and VLAN 20 is not created.
  4. Port Fa0/18 will be shut down.