You display this setting and other information with the commands show vlan port
config, show vlan and show vlan private-vlan.
You configure the interface as a promiscuous port with the switchport mode command.
6.1.3.16
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
vlan-id
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.
6.1.3.17
no switchport pvid
Description
With this command, you reset the setting for the port VLAN identifier (PVID) for an interface
to the default value.
SCALANCE XB-200/XC-200/XF-200BA/XP-200/XR-300WG Command Line Interface
Configuration Manual, 07/2017, C79000-G8976-C361-06
Description
Number of the addressed VLAN
Network structures
6.1 VLAN
Range of values / note
1 ... 4094
191