Creating and enabling a VLAN

Procedure
  1. Switch to the configuration context with the command config.
  2. Create a new VLAN with the command vlan.

Example

This example creates VLAN 10. The VLAN is enabled by default.

switch# config
switch(config)# vlan 10
switch(config-vlan-10)#