1-6
You can use the undo shutdown command to enable a VLAN interface when its related parameters
and protocols are configured. When a VLAN interface fails, you can use the shutdown command to
disable the interface, and then use the undo shutdown command to enable this interface again, which
may restore the interface.
The operation of enabling/disabling a VLAN interface does not influence the status of the Ethernet ports
belonging to this VLAN.
Example
# Disable the VLAN-interface2.
<Sysname> system-view
System View: return to User View with Ctrl+Z.
[Sysname] interface Vlan-interface 2
[Sysname-Vlan-interface2] shutdown
vlan
Syntax
vlan vlan-id
undo vlan vlan-id
View
System view
Parameter
vlan-id: ID of the VLAN which you want to create and whose view you want to enter. This argument
ranges from 1 to 4,094.
Description
Use the vlan command to enter VLAN view. If the VLAN identified by the vlan-id argument does not
exist, this command creates the VLAN and then enters VLAN view.
Use the undo vlan command to remove the specified VLAN.
z VLAN 1 is the default VLAN and cannot be removed.
z When you use the undo vlan command to remove a VLAN which is the default VLAN of a trunk
port or a hybrid port on the device, the configuration of the default VLAN of the trunk port or hybrid
port does not change after the undo vlan command is executed, that is, the trunk port or the hybrid
port will use the removed VLAN (the already non-existing VLAN) as its default VLAN.
z The VLANs kept by protocol , voice VLAN, management VLAN, the control VLAN of SmartLink and
the probe VLAN for remote mirroring cannot be removed using the undo vlan command.