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.
6.1.3.13
no switchport private-vlan host-association
Description
With this command, you delete the configuration of a host port.
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 the command without parameter assignment:
Network structures
6.1 VLAN
SCALANCE XB-200/XC-200/XF-200BA/XP-200/XR-300WG Command Line Interface
188
Configuration Manual, 07/2017, C79000-G8976-C361-06