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