Network structures
6.1 VLAN
SCALANCE XM-400/XR-500 Command Line Interface (CLI)
Configuration Manual, 06/2016, C79000-G8976-C252-11
215
● The interface is configured as a promiscuous port.
● You are in the Interface configuration mode.
The command prompt is:
cli(config-if-$$$)#
Call the command without parameter assignment:
no switchport private-vlan mapping
The configuration is deleted.
You configure a promiscuous port with the switchport private-vlan mapping command.
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.
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