Converting a Dynamic VLAN to a Static VLAN
If a port on the switch has joined a dynamic VLAN, you can use the following command to convert that dynamic VLAN to a static VLAN:
static dynamic-vlan-id
Converts a dynamic, port-based VLAN membership to a static, port-based VLAN membership (allows port-based VLANs only).
For this command,
vlan
-id refers to the VID of the dynamic VLAN membership. Use
show vlan
to help identify the VID.
This command requires that GVRP is running on the switch and a port is a dynamic member of the selected VLAN.
After you convert a dynamic VLAN to static, you must configure the switch's per-port participation in the VLAN in the same way that you would for any static VLAN.
Converting a dynamic VLAN 333 to a static VLAN
When converting a dynamic VLAN to a static VLAN as shown here, all ports on the switch are assigned to the VLAN in Auto mode.
switch(config)# static 333