Network structures
6.2 VLAN
SCALANCE W760/W720 to IEEE 802.11n Command Line Interface
208
Configuration Manual, 11/2014, C79000-G8976-C351-03
Syntax
Call up the command with the following parameters:
switchport acceptable-frame-type{all|tagged}
The parameters have the following meaning:
Parameters
Description
all
All frames (with and without VLAN variables) are accepted
tagged
Only frames with VLAN variables are accepted
At system start or when using the
restart
command with the option
memory
or
factory
, the
following defaults apply:
●
The function is configured for
all
.
Result
The setting is enabled.
Further notes
You can display the status of this function and other information with the
show vlan port
config
command.
6.2.3.2
switchport access vlan
Description
With this command, you assign an VLAN to an interface and configure the port VLAN
identifier (PVID) for it.
Requirement
You are in the Interface configuration mode.
The command prompt is as follows:
cli(config-if-$$$)#
Syntax
Call up the command with the following parameters:
switchport access vlan <vlan-id(1-4094)>
The parameter has the following meaning:
Parameter
Description
Range of values / note
vlan-id
Number of the addressed VLAN
1 ... 4094