Command Manual – VLAN
H3C S7500E Series Ethernet Switches
Chapter 1 VLAN Configuration Commands
1-7
You can use the
undo shutdown
command to bring up a VLAN interface after
configurations of the related parameter and protocol. When there is a fault in a VLAN
interface, you can use the
shutdown
command to shut down the interface and then
bring it up using the
undo shutdown
command. In this way, the interface will resume
Shutting down/bringing up a VLAN interface does not affect any Ethernet ports in the
VLAN. The state of an Ethernet port does not change with the VLAN interface state.
Examples
# Shut down the VLAN interface and then bring it up.
<Sysname> system-view
[Sysname] interface vlan-interface 2
[Sysname-Vlan-interface2] shutdown
[Sysname-Vlan-interface2] undo 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-id
: VLAN ID, in the range 1 to 4094.
vlan-id1
to
vlan-id2
: Specifies a VLAN range. VLAN ID is in the range 1 to 4094.
all
: Specifies all the VLANs except the reserved VLANs.
Description
Use the
vlan vlan-id
command to create specified VLAN(s).
If a specified VLAN exists, the command places you into its view.
Use the
undo vlan
command to delete specified VLAN(s).