Specifications
vlan
143
vlan
Sets VLAN-related items.
Syntax
To set or change information:
vlan <VLAN ID>
vlan
<VLAN-ID-list>
vlan <VLAN ID> protocol-based
vlan
<VLAN ID list> protocol-based
vlan
<VLAN ID> mac-based
vlan
<VLAN ID list> mac-based
To delete information:
no vlan <VLAN ID>
no vlan
<VLAN ID list>
Input mode
(config)
Parameters
<VLAN ID>
Sets the VLAN ID. When this command is entered, the mode switches to config-vlan
mode.
1. Default value when this parameter is omitted:
This parameter cannot be omitted.
2. Range of values:
See Specifiable values for parameters. Note that the default VLAN (VLAN ID
= 1) cannot be set when information is deleted.
<VLAN ID list>
Sets multiple VLAN-IDs at one time. If a VLAN ID that is being set for the first time is
included, the applicable VLAN is created. When this command is entered, the mode
switches to config-vlan mode.
1. Default value when this parameter is omitted:
This parameter cannot be omitted.
2. Range of values:
For details about how to specify <VLAN ID List> and the specifiable values,
see Specifiable values for parameters. Note that the default VLAN (VLAN ID =
1) cannot be set when information is deleted.
protocol-based
Set this parameter for protocol VLAN.
1. Default value when this parameter is omitted:
The VLANs become port-based VLANs.
2. Note on using this parameter:
- When configuring protocol VLANs, you must set
protocol-based.