Network structures
6.2 VLAN
SCALANCE W760/W720 to IEEE 802.11n Command Line Interface
234 Configuration Manual, 10/2015, C79000-G8976-C351-05
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.