Operation Manual

Switch
SIP Software Release 6-0-0
J613-M0524-00
85
A port can be tagged for zero or more VLANs to which it belongs.
A port cannot be tagged or untagged at the same time: the choice is exclusive. If
you assign a port to a VLAN as untagged, only untagged setting will be
permitted and if you assign a port to VLAN as tagged, only tagged setting will
be permitted.
The default setting is UNTAGGED.
Examples
To add WAN port to the port-based corporateA VLAN, use:
ADD VLAN=corporateA PORT=WAN
To add LAN1 port to the corporateB VLAN as a tagged port, use:
ADD VLAN=corporateB PORT=LAN1 FRAME=TAGGED
See Also
CREATE VLAN
Syntax
CREATE VLAN=vlanname VID=2..4094
Short Syntax
C VLAN=vlanname VID=2..4094
where:
vlanname is a unique name for the VLAN, 1 to 15 characters in length.
Valid characters are uppercase letters (A-Z), lowercase letters (a-z),
digits (0-9) the underscore character (‘‘_’’), and the hyphen character (-).
The vlanname cannot be a number or ALL.
Description
This command creates a VLAN with a unique name and VLAN Identifier
(VID). To change the VID of an existing VLAN, that VLAN must be
destroyed and created again with the modified VID. A maximum of 16
VLANs can be created with any VID in the range 2 to 4094.
The VLAN parameter specifies a unique name for the VLAN. This name can
be more meaningful than the VID, to make administration easier. The
VLAN name is only used within the switch; it is not transmitted to other
VLAN-aware devices, or used in the Forwarding Process or stored in the
Forwarding Database. If the VLAN name begins with “vlan” and ends with
a number, for instance “vlan1” or “vlan234”, then the number must be the
same as the VID specified. This avoids confusion when identifying which
VLAN subsequent commands refer to.
The VID parameter specifies a unique VLAN Identifier for the VLAN. If
tagged ports are added to this VLAN, the specified VID is used in the VID
field of the tag in outgoing frames. If untagged ports are added to this
VLAN, the specified VID only acts as an identifier for the VLAN in the
Forwarding Database. The default port based VLAN has a VID of 1.
Examples
To create a VLAN named marketing with a VLAN Identifier of 2, use:
CREATE VLAN=marketing VID=2
To create a VLAN named vlan42, which must have a VID of 42, use:
CREATE VLAN=vlan42 VID=42