User Manual

Chapter 11
L2 switching function
11.1 VLAN
11.1.1 Move to VLAN mode
[Syntax]
vlan database
[Input mode]
global configuration mode
[Description]
Moves to VLAN mode in order to make VLAN interface settings.
[Note]
To return from VLAN mode to global configuration mode, use the exit command. To return to priviledged EXEC mode, use the
end command.
[Example]
Move to VLAN mode.
SWP1(config)#vlan database
SWP1(config-vlan)#
11.1.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 (32 characters 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]
Depends on VLAN preset. Refer to 3.2 Default setting values on page 20.
[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.
120 | Command Reference | L2 switching function