Command Manual (For Soliton) – VLAN
H3C S3100 Series Ethernet Switches
Chapter 1 VLAN Configuration Commands
1-8
Examples
# Disable the VLAN-interface1.
<Sysname> system-view
System View: return to User View with Ctrl+Z.
[Sysname] interface Vlan-interface 1
[Sysname-Vlan-interface1] shutdown
1.1.7 vlan
Syntax
vlan
{
vlan-id1
[
to vlan-id2
]
| all
}
undo vlan
{
vlan-id1
[
to vlan-id2
]
| all
}
View
System view
Parameters
vlan-id1
: Specifies the ID of the VLAN you want to create or remove, in the range of 1 to
4094.
to
vlan-id2
: In conjunction with
vlan-id1,
specify a VLAN ID range you want to create or
remove. The
vlan-id2
argument takes a value in the range of 1 to 4094, and must not be
less than that of
vlan-id1
.
all:
Creates or removes all existing VLANs except those configured with other
functions.
Description
Use the
vlan
command to create VLANs. If you create only one VLAN, you enter the
view of the VLAN upon its creation; if the specified VLAN already exists, you enter its
VLAN view directly.
Use the
undo vlan
command to remove VLANs.
By default, only VLAN 1 exists in the system.