Creating and enabling a VLAN
Procedure
-
Switch to the configuration context with the command
config
. -
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)#