if you put a switch port in access mode, and you assigned it to a nonexistent vlan, the switch will create the vlan, like this:
SW1(config)#int fast 0/1
SW1(config-if)#switchport mode access
SW1(config-if)#switchport access vlan 12
% Access VLAN does not exist. Creating vlan 12
Is there any way to avoid this? I mean, if the vlan doesn't exist I don't want the switch to create it automatically, without my confirmation.
Appreciate any help.