H3C S7500 Series Ethernet Switches Command Manual

Table Of Contents
Command Manual – VLAN
H3C S7500 Series Ethernet Switches Chapter 1
VLAN Configuration Commands
1-7
By default, the name of a VLAN is its VLAN ID, for example, “VLAN 0001”.
Examples
# Specify the name of VLAN 2 as hello.
<H3C> system-view
System View: return to User View with Ctrl+Z.
[H3C] vlan 2
[H3C-vlan2] name hello
1.1.7 shutdown
Syntax
shutdown
undo shutdown
View
VLAN interface view
Parameters
None
Description
Use the shutdown command to disable a VLAN interface.
Use the undo shutdown command to enable a VLAN interface.
By default, a VLAN interface is enabled. In this scenario, the VLAN interface’s status is
determined by the status of its ports, that is, if all the ports of the VLAN are down, the
VLAN interface is down (disabled); if one or more ports of the VLAN are up, the VLAN
interface is up (enabled).
If a VLAN interface is disabled, its status is not determined by the status of its ports.
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 any Ethernet
port belonging to this VLAN.
Examples
# Disable VLAN-interface 2 and then enable it.
<H3C> system-view
System View: return to User View with Ctrl+Z.