VLAN 3 is not yet configured on your switch. What happens if you set the switchport access vlan 3 command interface configuration mode?
Click on the arrows to vote for the correct answer
A. B. C. D.A
When the command switchport access vlan 3
is entered in interface configuration mode of a switch, the switch port is assigned to VLAN 3 as an untagged member of the VLAN.
Here are the possible outcomes based on the scenarios:
A. The command is accepted and the respective VLAN is added to VLAN database:
If VLAN 3 is not yet created on the switch, the command switchport access vlan 3
will create the VLAN with VLAN ID 3 and add it to the VLAN database. The switch port is then assigned to VLAN 3 as an untagged member of the VLAN.
B. The command is rejected:
If VLAN 3 is not defined in the VLAN database of the switch, the switch will not accept the command switchport access vlan 3
. This is because the VLAN must be created in the switch's VLAN database before assigning it to a port.
C. The command is accepted and you must configure the VLAN manually:
If VLAN 3 is not defined in the VLAN database, the switch will accept the switchport access vlan 3
command but the VLAN will not be created automatically. You will need to manually create the VLAN in the VLAN database before assigning it to the switch port.
D. The port turns amber:
If the switch