Network structures
6.1 VLAN
SCALANCE XM-400/XR-500 Command Line Interface (CLI)
Configuration Manual, 11/2015, C79000-G8976-C252-10
193
You assign a protocol group and a VLAN to an interface with the switchport map protocols-
group
command.
You can display the status of this function and other information with the
show vlan
protocols-group
command.
switchport mode
Description
With this command, you specify the operating mode for the switch port.
● The interface is configured as a switch port.
● You are in the Interface configuration mode.
The command prompt is:
cli(config-if-$$$)#
Call up the command with the following parameters:
switchport mode { trunk | hybrid }
The parameters have the following meaning:
Configures the port as a trunk port that only forwards tagged
frames. The port can then only be configured as the trunk
port if the port is not entered in any VLAN that exchanges
untagged frames.
For the trunk port to forward tagged frames, all VLAN IDs to
which the trunk port forwards frames must be stored.
If a new VLAN is created, the VLAN ID is automatically en-
tered at the trunk port.
With a trunk port, the VLAN assignment is dynamic. Static
configurations can only be created if, in addition to the trunk
port property, the port is also entered statically as a member
in the VLANs involved. An example of a static configuration
is the assignment of the multicast groups in certain VLANs.
If you execute the "acceptable frame-type all" command
at the trunk port, the port also receives untagged frames.
-
Configures the port as a hybrid port that accepts tagged and
Default: hybrid