Network structures
6.1 VLAN
SCALANCE XM-400/XR-500 Command Line Interface (CLI)
212
Configuration Manual, 06/2016, C79000-G8976-C252-11
6.1.3.16
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.
Requirement
●
The interface is configured as a host port.
●
You are in the Interface configuration mode.
The command prompt is:
cli(config-if-$$$)#
Syntax
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:
Parameter
Description
Range of values / note
primary-vlanId
VLAN ID of the primary PVLAN
1 ... 4094
secondary-vlanId
VLAN ID of the secondary PVLAN
1 ... 4094
Result
The interface is configured.
Further notes
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.
Summary of Contents for SCALANCE XM-400
Page 882: ......