Syntax
Call the command without parameters:
no switchport mode
Result
The setting is reset to the default value.
Further notes
You configure the operating mode with the switchport mode command.
You display this setting and other information with the show vlan port config command.
You configure the interface as a switch port with the switchport command.
6.1.3.9 switchport mode private vlan
Description
With this command, you specify the operating mode for the private VLAN port.
Requirement
● The interface is configured as a switch 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 mode private-vlan {promiscuous | host}
The parameters have the following meaning:
Parameter Description Range of values / note
promiscuou
s
Configures the port as a promiscuous port.
Promiscuous ports belong to a primary PVLAN. Connect de‐
vices to promiscuous ports that are intended to communicate
with all other devices of the PVLAN.
GVRP must be disa‐
bled on the port.
host Configures the port as a host port.
Host ports belong to a secondary PVLAN. Connect devices to
host ports that are only intended to communicate with certain
devices of the PVLAN.
Network structures
6.1 VLAN
SCALANCE XB-200/XC-200/XF-200BA/XP-200/XR-300WG Command Line Interface
Configuration Manual, 07/2017, C79000-G8976-C361-06 185