default-vlan-id

Changes the default VLAN ID.
Syntax
default-vlan-id vlan-id
no default-vlan-id vlan-id
Command Default

The default VLAN ID is 1.

Parameters
vlan-id
Specifies the VLAN ID that you want to configure as the default. Valid VLAN ID values are from 1 through 4095.
Modes

Global configuration mode

Usage Guidelines

You must specify a valid VLAN ID that is not already in use. For example, if you have already defined VLAN 10, you cannot use "10" as the new VLAN ID for the default VLAN.

Note: This command does not change the properties of the default VLAN. Changing the name allows you to use the VLAN ID "1" as a configurable VLAN.

The no form of the command resets the VLAN ID to the default.

Examples

The following example shows how to change the default VLAN ID.

device(config)# default-vlan-id 4095