Add a VLAN configuration


Create a VLAN with the specified number as an ID.

You can use this command to configure several characteristics of the VLAN. All ports assigned to the VLAN inherit these characteristics. If you previously configured these characteristics using the port command, the settings configured with this command override those settings. Any of these characteristics set with the Vlan interface command take precedence over this command's settings.

Access mode

config

Syntax

vSwitch-name vRouter-name vlan

Arguments

Field Name Description
vlanName text Specifies the unique name for the VLAN. VLAN names must be unique across the entire switch (you cannot use the same name within different vRouters on the system).
vlanId integer Specifies the unique identifier for the VLAN. VLAN IDs must be unique across the entire switch (you cannot use the same ID within different vRouters on the system).

Valid values are from 1 to 4094.
adminState enumeration Optional: The administrative (manually configured) status of the interface.

The default setting is "enabled".

Valid values: enabled, disabled
learning enumeration Optional: Sets whether the VLAN learns and stores addresses as they are received (dynamically). You can display the address learning method with the Type field of the show address command. If enabled, the VLAN stores addresses in its address table. If disabled, addresses are not stored.

The default setting is "enabled".

Valid values: enabled, disabled
linkUpDownTrap enumeration Optional: Specifies if link up/down SNMP traps should be sent on the interface.

The default setting is "enabled".

Valid values:
  • enabled : Link up/down trap enabled.
  • disabled : Link up/down trap disabled.
eventFilter enumeration Optional: The event filter level set for the interface.

The default setting is "informational".

Valid values:
  • emergency : The system detected a serious problem; further operation can cause damage.
  • alert : The system detected a problem that requires operator attention.
  • critical : The system software detected a critical problem requiring a restart.
  • error : The system detected a significant problem, but continues operating.
  • warning : The system detected a problem, but was able to recover.
  • notice : The system detected normal activity, but event was generated for review.
  • informational : The system detected a normal operational activity.
  • debug : The system detected normal operational activities and unexpected events.
packetTrace enumeration Optional: The setting for the packet trace capability. When enabled, the system sends debug messages relating to packets moving through the system. Because of the large amount of data generated by setting this variable, you should only enable it when you want to debug your network by verifying where packets are going in the system.

The default setting is "disabled".

Valid values: enabled, disabled
description text Optional: The text string you assigned to the interface. You can use this value to identify a interface name (for example, vlan.10) with a meaningful description.

The default setting is "".
bridgeModeLoadBalancing enumeration Optional: Bridge Mode Load Balancing.

The default setting is "disabled".

Valid values: enabled, disabled