Creating & applying VLANs (CLI)
Creating & applying VLANs using CLI:

  1. Create VLAN
Enable

Configure

VLAN database

VLAN <VLAN ID>

exit
  1. Select interface and port
Interface <port label> <port #>
  1. Assign VLAN to switch port
Switchport access vlan

End
  1. Confirm VLAN settings
Show vlan Example: