User Manual

Table Of Contents
6.2.2 Set VLAN interface
[Syntax]
vlan vlan-id [name name] [state state]
no vlan vlan-id
[Keyword]
name : Specifies the name of the VLAN
state : Specifies the state of the VLAN
[Parameter]
vlan-id : <2-4094>
VLAN ID
name : Single-byte alphanumeric characters and single-byte symbols(32characters or less)
Name of the VLAN
state : Whether frame forwarding is enabled or disabled
Setting value Description
enable Frames are forwarded
disable Frames are not forwarded
[Initial value]
none
[Input mode]
VLAN mode
[Description]
Sets the VLAN interface.
If this command is executed with the "no" syntax, the VLAN interface is deleted.
If "name" is omitted, the name of the VLAN is specified as "VLANxxxx" (xxxx is the four-digit VLAN ID).
If "state" is omitted, "enable" is specified.
If "disable" is specified, all settings of the VLAN interface are deleted.
[Note]
If this command is executed with "name" omitted for a VLAN ID for which name is already specified, the already-specified
name is not changed.
Multiple VLAN IDs can be specified for vlan-id. However, if multiple VLAN IDs are specified, the name cannot be specified.
To specify multiple items, use "-" or "," as shown below
To select from VLAN #2 through VLAN #4: 2-4
To select VLAN #2 and VLAN #4: 2,4
[Example]
Set VLAN #1000 with the name "Sales".
SWR2310(config-vlan)#vlan 1000 name Sales
6.2.3 Set private VLAN
[Syntax]
private-vlan vlan-id type
no private-vlan vlan-id type
[Parameter]
vlan-id : <2-4094>
VLAN ID set by the vlan command
Command Reference | Layer 2 functions | 197