Download Print this page

HP 5900 series Command Reference Manual: Vlan

Layer 2 - lan switching.
Hide thumbs


Usage guidelines
A VLAN interface that was shut down with the shutdown command remains in DOWN (Administratively)
state until you bring it up, regardless of how the state of the ports in the VLAN changes.
Before you configure parameters for a VLAN interface, shut down the VLAN interface with the shutdown
command to prevent the configurations from affecting the network. You can use the undo shutdown
command to bring up a VLAN interface after you have configured related parameters and protocols for
the VLAN interface.
You can shut down a failed interface with the shutdown command and then bring it up with the undo
shutdown command to see whether it recovers.
In a VLAN, the state of any Ethernet port is independent of the state of the VLAN interface.
# Shut down VLAN interface 2, and then cancel the action of manually shutting down the VLAN
<Sysname> system-view
[Sysname] interface vlan-interface 2
[Sysname-Vlan-interface2] shutdown
[Sysname-Vlan-interface2] undo shutdown


Use vlan vlan-id to create a VLAN and enter its view or to enter the view of an existing VLAN.
Use vlan vlan-id1 to vlan-id2 to create VLANs vlan-id1 through vlan-id2, except reserved VLANs.
Use vlan all to create VLANs 1 through 4094.
Use undo vlan to remove the specified VLANs.
vlan { vlan-id1 [ to vlan-id2 ] | all }
undo vlan { vlan-id1 [ to vlan-id2 ] | all }
VLAN 1 (the default VLAN) exists.
System view
Predefined user roles
vlan-id1, vlan-id2: Specifies a VLAN ID in the range of 1 to 4094.
vlan-id1 to vlan-id2: Specifies a VLAN range. The vlan-id1 and vlan-id2 arguments specify VLAN IDs in
the range of 1 to 4094. The vlan-id1 argument cannot be greater than vlan-id2.
all: Creates or removes all VLANs except reserved VLANs.
Usage guidelines
You cannot create or remove the default VLAN (VLAN 1).



This manual also for:

5920 series

Comments to this Manuals

Symbols: 0
Latest comments: