Network structures
6.1 VLAN
SCALANCE XM-400/XR-500 Command Line Interface (CLI)
208
Configuration Manual, 06/2016, C79000-G8976-C252-11
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 { trunk | hybrid }
The parameters have the following meaning:
Parameter
Description
Range of values / note
trunk
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.
-
hybrid
Configures the port as a hybrid port that accepts tagged and
untagged frames.
Default:
hybrid
Result
The operating mode is configured.
Further notes
You reset the operating mode to the default with the
no 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.12
no switchport mode
Description
With this command, you reset the operating mode for the switch port to the default.
The default value is Hybrid.
Summary of Contents for SCALANCE XM-400
Page 882: ......