
Virtual Local Area Network (VLAN) Commands
78-20269-01 Command Line Interface Reference Guide
406
30
Example 2 - The following example displays information for the default VLAN
(VLAN 1):
Example 3 - The following example displays information for the VLAN named
Marketing:
30.4
default-vlan vlan
Use the default-vlan vlan VLAN Configuration mode command to define the
default VLAN. Use the no form of this command to set VLAN 1 as the default VLAN.
Syntax
default-vlan vlan
vlan-id
no default-vlan vlan
Parameters
vlan
vlan-id
—Specifies the default VLAN ID.
Default Configuration
The default VLAN is 1 by default.
Command Mode
VLAN Configuration mode
Console#
show vlan tag
default
VLAN
----
1
Name
---------
default
Ports
--------
gi1-2
Type
-------
Default
Authorization
-------------
Required
Console#
show vlan name
Marketing
VLAN
----
1
Name
---------
Marketing
Ports
--------
gi3-14
Type
-------
static
Authorization
-------------
Required