Network structures
6.1 VLAN
SCALANCE XM-400/XR-500 Command Line Interface (CLI)
212 Configuration Manual, 06/2016, C79000-G8976-C252-11
switchport private-vlan host-association
Description
With this command, you configure a host port.
The following settings are made:
● The interface becomes an untagged member of the primary PVLAN and its secondary
PVLANs.
● With incoming untagged frames, the port VLAN-ID of the secondary VLAN is set.
● Ingress filtering is enabled.
● The interface is configured as a host port.
● You are in the Interface configuration mode.
The command prompt is:
cli(config-if-$$$)#
Call up the command with the following parameters:
switchport private-vlan host-association <primary-vlanId(1-4094)> <secondary-
vlanId(1-4094)>
The parameters have the following meaning:
VLAN ID of the primary PVLAN
VLAN ID of the secondary PVLAN
The interface is configured.
You delete the configuration with the 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 host port with the command.