Network structures
6.1 VLAN
SCALANCE XM-400/XR-500 Command Line Interface (CLI)
220
Configuration Manual, 06/2016, C79000-G8976-C252-11
Syntax
Call up the command with the following parameters:
ports
(
[<interface-type><0/a-b,0/c,...>]
[<interface-type><0/a-b,0/c,...>]
[port-channel<a,b,c-d>]
)
[
untagged<interface-type> <0/a-b,0/c,...>
(
[<interface-type><0/a-b,0/c,...>]
[port-channel <a,b,c-d>]
[all]
)
]
[
forbidden<interface-type><0/a-b,0/c,...>
[<interface-type><0/a-b,0/c,...>]
[portchannel<a,b,c-d>]
]
[name<vlan-name>][add]
The parameters have the following meaning:
Parameter
Description
Range of values / note
interface-type
Type or speed of the interface
Enter a valid interface.
/a-b,0/c,...
Port no. of the interface
port-channel
Keyword for a port channel
-
a,b,c-d
Port no. of the interface
Enter a valid interface name
untagged
Keyword for interfaces or ports that
transfer data packets without VLAN
marking
-
all
Specifies that all interfaces or ports are
set to "untagged"
-
forbidden
Keyword for forbidden interfaces or
ports
-
name
Keyword for the name assignment
-
vlan-name
Name of the VLAN
max. 32 characters
add
Adds and interface to an existing con-
figuration.
-
For information on names of addresses and interfaces, refer to the section "Interface
identifiers and addresses (Page 42)".
Result
The existing VLAN configuration is replaced. To add individual interfaces, you need to
recreate the full list.