Network structures
6.1 VLAN
SCALANCE XM-400/XR-500 Command Line Interface (CLI)
Configuration Manual, 06/2016, C79000-G8976-C252-11
215
Requirement
●
The interface is configured as a promiscuous port.
●
You are in the Interface configuration mode.
The command prompt is:
cli(config-if-$$$)#
Syntax
Call the command without parameter assignment:
no switchport private-vlan mapping
Result
The configuration is deleted.
Further notes
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.
6.1.3.20
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.
Requirement
You are in the Interface configuration mode.
The command prompt is as follows:
cli(config-if-$$$)#
Syntax
Call up the command with the following parameters:
switchport pvid <vlan-id(1-4094)>
The parameter has the following meaning:
Parameter
Description
Range of values / note
vlan-id
Number of the addressed VLAN
1 ... 4094
Summary of Contents for SCALANCE XM-400
Page 882: ......