Converting a dynamic VLAN to a static VLAN

Syntax

static-vlan <dynamic-vlan-id>

Description

If a port on the switch has joined a dynamic VLAN, use the command to convert dynamic VLAN to static VLANs in the switch.

Example output

switch(config)# static-vlan 40
switch(config)# show vlan

Status and Counters - VLAN Information

  Maximum VLANs to support : 256
  Primary VLAN : DEFAULT_VLAN
  Management VLAN :

  VLAN ID Name                             | Status     Voice Jumbo
  ------- -------------------------------- + ---------- ----- -----
  1       DEFAULT_VLAN                     | Port-based No    No
  40      VLAN40                           | Port-based No    No