Network structures
6.1 VLAN
SCALANCE XM-400/XR-500 Command Line Interface (CLI)
196 Configuration Manual, 11/2015, C79000-G8976-C252-10
Call the command without parameters:
no switchport priority default
The setting is reset to the default value.
You configure the priority default with the switchport priority default command.
You display this setting and other information with the
show vlan port config command.
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.