Network structures
5.1 VLAN
SCALANCE S615 Command Line Interface
Configuration Manual, 06/2015, C79000-G8976-C406-02
161
switchport pvid
Description
With this command, you assign an interface to a VLAN and configure the port VLAN
identifier (PVID) for it. If a received frame has no VLAN tag, it has a tag added with the VLAN
ID specified here and is sent according to the switch rules for the port.
You are in the Interface configuration mode.
The command prompt is as follows:
cli(config-if-$$$)#
Call up the command with the following parameters:
switchport pvid <vlan-id(1-4094)>
The parameter has the following meaning:
Number of the addressed VLAN
The PVID is configured
You can reset the setting to the default with the no switchport pvid command.
You configure the VLAN ID with the
switchport access vlan command.
You display the setting and other information with the
show vlan port config command.