Creating and enabling a VLAN

Procedure
  1. 开关to the configuration context with the commandconfig
  2. Create a new VLAN with the commandvlan

Example

This example createsVLAN 10。VLAN是默认启用。

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