Network structures
6.2 VLAN
SCALANCE W760/W720 to IEEE 802.11n Command Line Interface
230
Configuration Manual, 10/2015, C79000-G8976-C351-05
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
Result
The Interface is added to the VLAN as an untagged port and the corresponding VLAN ID is
set.
Further notes
You can reset the setting to the default with the
no switchport access vlan
command.
You display the setting and other information with the
show vlan port config
command.
6.2.3.3
no switchport access vlan
Description
With this command, you reset the setting for the port VLAN identifier (PVID) for an interface
to the default value.
The default value is 1.