The shutdown vlan command disables a VLAN.
The undo shutdown vlan command re-enables a VLAN.
By default, a VLAN is enabled.
Usage Scenario
When you want to shield a VLAN or a VLAN fails, you can run the shutdown vlan command to shut down the VLAN. If a VLAN is in the shutdown state, the users within the VLAN cannot communicate.
Configuration Impact
The shutdown vlan command takes effect only on the VLANs on which the command is run.
If you have added an interface to a specific VLAN using the port trunk allow-pass vlan or port default vlan command, after you run the shutdown vlan command in the view of the specific VLAN, the interface in the VLAN cannot forward data with the VLAN ID.
Precautions
The traffic on VLANIF interface contains Layer 2 and Layer 3 traffic. Run the shutdown vlan command to prohibit all traffic on VLANIF interface. However, if run the shutdown command in the VLANIF interface view, you can only prohibit Layer 3 traffic but not Layer 2.