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.
config
vSwitch-name vRouter-name vlan
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:
|
eventFilter enumeration |
Optional: The event filter level set for the interface. The default setting is "informational". Valid values:
|
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
|