state

To set the operational state for a VLAN, use the state command. To return a VLAN to its default operational state, use the no form of this command.

state {active | suspend}

no state

Syntax Description

active

Specifies that the VLAN is actively passing traffic.

suspend

Specifies that the VLAN is not passing any packets.


Command Default

The VLAN is actively passing traffic.

Command Modes

VLAN configuration mode

Command History

Release
Modification

4.0(0)N1(1a)

This command was introduced.


Usage Guidelines

You cannot suspend the state for VLAN 1 or VLANs 1006 to 4094.

VLANs in the suspended state do not pass packets.

Examples

This example shows how to suspend VLAN 2:

switch(config)# vlan 2  switch(config-vlan)# state suspend  

Related Commands

Command
Description

show vlan

Displays VLAN information.