Assigning Ports to VLANs

Assigning Ports to VLANs
When statically assigning ports to VLANs, first make it an access port, and
then assign the port to a VLAN. At the interface configuration prompt:
(config-if)#switchport mode access
(config-if)#switchport access vlan 12
The commands are similar when using dynamic VLAN assignment. At interface
configuration mode:
(config-if)#switchport mode access
(config-if)#switchport access vlan dynamic
If you use dynamic, you must also enter the IP address of the VMPS server
at global configuration mode:
(config-if)#vmps server ip address