Specifications
Switching add vlan port 8-89
Software Release 2.7.3
C613-03098-00 REV A
The frame parameter specifies whether a VLAN tag header is included in each
frame transmitted on the specified ports. If tagged is specified, a VLAN tag is
added to frames prior to transmission. The port is then called a tagged port for
this VLAN. If untagged is specified, the frame is transmitted without a VLAN
tag. The port is then called an untagged port for this VLAN. A port can be
untagged for one and only one of the VLANs to which it belongs, or for none of
the VLANs to which it belongs. A port can have the frame parameter set to
tagged for zero or more VLANs to which it belongs. It is not possible to add an
untagged port to a VLAN when the port is already present in another port-
based VLAN, except the default VLAN. When the port is an untagged member
of the default VLAN, adding it untagged to another VLAN deletes it from the
default VLAN. The default setting is untagged.
The group parameter specifies that the listed ports may communicate with
each other, but not with any other private ports in the VLAN, and is valid only
for private VLANs. You can add a group of ports to multiple private VLANs,
as long as the group contains identical ports in each 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 uplink parameter specifies that the ports are to be added to the VLAN as
uplink ports, and is valid only for private VLANs. If more than one port is
specified, then they must be a trunked group. Each private VLAN can have
only one uplink. The port must not be a member of a non-private VLAN except
the default VLAN. The ports can be in another private VLAN when they are
the uplink for this VLAN. See “Private VLANs” on page 8-22 for information
about configuring private VLANs. Private VLANs are only available on Rapier
i Series switches.
Examples To add port 4 to the port-based marketing VLAN, use the command:
add vlan=marketing po=4
To add port 25 to the training VLAN as a tagged port, use the command:
add vlan=training po=25 fra=tag
To create vlan2 with two groups of private ports (3-5 and 6-9) connected to an
uplink trunk group (ports 21-24), without any Layer 3 configuration (only on
Rapier i Series switches):
1. Create vlan2, making it private.
cre vlan=vlan2 vid=2 priv
2. Add the uplink trunk group to the VLAN. The ports must already be
trunked together.
add vlan=vlan2 po=21-24 uplin
3. Define the groups and add their ports to vlan2.
add vlan=vlan2 po=3-5 group
add vlan=vlan2 po=6-9 group
Related Commands delete vlan port
show vlan