shutdown

Syntax

shutdown

no shutdown

Description

Disables a VLAN. (By default, a VLAN is automatically enabled when it is created with the vlan command.)

The no form of this command enables a VLAN.
NOTE:

Unlike interfaces, no shutdown is the default for VLANs.

Command context

config-vlan

Authority

Administrators or local user group members with execution rights for this command.

Examples

Enabling VLAN 20:

switch(config)# vlan 20
switch(config-vlan-20)# no shutdown

Disabling VLAN 20:

switch(config)# vlan 20
switch(config-vlan-20)# shutdown