H3C S7500 Series Ethernet Switches Command Manual

Table Of Contents
Command Manual – VLAN
H3C S7500 Series Ethernet Switches Chapter 1
VLAN Configuration Commands
1-8
[H3C] interface Vlan-interface 2
[H3C-Vlan-interface2] shutdown
[H3C-Vlan-interface2] undo shutdown
1.1.8 vlan
Syntax
vlan vlan-id
undo vlan { vlan-id [ to vlan-id ] | all }
View
System view
Parameters
vlan-id: ID of the VLAN that you want to enter. Its value ranges from 1 to 4,094.
to: Specifies the range of VLANs to be removed.
all: Specifies to remove all VLANs.
Description
Use the vlan command to enter a VLAN view. If the VLAN identified by the vlan-id
argument does not exist, this command creates the VLAN and then enters the VLAN
view.
Use the undo vlan command to remove a VLAN.
Caution:
z The protocol reserved VLAN, Voice VLAN, the system default VLAN (VLAN 1) and
remote-probe VLAN used for remote mirroring cannot be removed by the undo vlan
command.
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 port will use VLAN 1 as the
default VLAN after the undo vlan command is executed.
Related commands: display vlan
Examples
# Enter VLAN 1 view.
<H3C> system-view
System View: return to User View with Ctrl+Z.