Assigning a Different VLAN ID to Default and Reserved VLANs

You can assign a different VLAN ID to the default VLAN or to a reserved VLAN. When you enable port-based VLANs, all ports in the system are added to the default VLAN. By default, the default VLAN ID is "VLAN 1".
The default VLAN is not configurable. If you want to use the VLAN ID "VLAN 1" as a configurable VLAN, you can assign a different VLAN ID to the default VLAN. You must specify a valid VLAN ID that is not already in use.
  1. Enter global configuration mode.
    device# configure terminal
  2. Assign a different VLAN ID to the VLAN.
    • Assign a different VLAN ID to the default VLAN.
      device(config)# default-vlan-id 4095

      Reassigning a different VLAN ID to the default VLAN does not change the properties of the default VLAN, but allows you to use the VLAN ID "1" as a configurable VLAN.

    • Assign a different VLAN ID to a reserved VLAN (4091 or 4092).
      device(config)# reserved-vlan-map vlan 4091 new-vlan 10
      device(config)# write memory
      device(config)# exit
      device# reload
      Note: You must save and reload the configuration.

      In the example, the configuration changes the VLAN ID of 4091 to 10.

The following example shows how to assign a VLAN ID to the default VLAN.

device# configure terminal
device(config)# default-vlan-id 4095

The following example shows how to assign a VLAN ID to a reserved VLAN.

device(config)# reserved-vlan-map vlan 4092 new-vlan 33
device(config)# write memory
device(config)# exit
device# reload