Specifications

Switching create vlan 8-95
Software Release 2.7.3
C613-03098-00 REV A
create vlan
Syntax CREate VLAN=vlan-name VID=2..4094 [PROtected]
On Rapier i Series switches:
CREate VLAN=vlan-name VID=2..4094 [PRIvate]
where vlan-name is a unique name from 1 to 32 characters. Valid characters are
uppercase and lowercase letters, digits, the underscore, and the hyphen. The
vlan-name cannot be a number or all.
Description This command creates a VLAN with a unique name and VLAN identifier
(VID), and assigns it to the default STP. To change the VID of an existing
VLAN, that VLAN must be destroyed and created again with a modified VID.
A maximum of 62 VLANs can be created with a VID from 2 to 4094. On the
Rapier i Series switches only, a maximum of 254 VLANs can be created with a
VID from 2 to 4094.
If you create a protected VLAN, you can add ports to it that are isolated from
the other ports in the VLAN. See “Protected VLANs” on page 8-22 for
information about configuring protected VLANs
If you create a private or protected VLAN, you can add ports or groups of ports
to it that are isolated from the other ports in the VLAN. See “Protected
VLANs” on page 8-22 and “Private VLANs” on page 8-22 for more
information. Private VLANs are only available on Rapier i Series switches.
The vlan parameter specifies a unique name for the VLAN. This name can be
more meaningful than the VID and makes administration easier. The VLAN
name is 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 to which VLAN subsequent
commands refer.
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 acts as an identifier for the VLAN in the forwarding database. The default
port based VLAN has a VID of 1.
The private parameter specifies that the VLAN is a private VLAN. A private
VLAN contains ports or groups of ports that are isolated from the other ports
in the VLAN. See “Private VLANs” on page 8-22 for information about
configuring private VLANs. Private VLANs are only available on Rapier i
Series switches.
The protected parameter specifies that the VLAN is a protected VLAN. If a
VLAN is protected, Layer 2 traffic is blocked between its ports.
Examples To create a VLAN named marketing with a VLAN Identifier of 2, use the
command:
cre vlan=marketing vid=2