Specifications

8-88 add vlan port Rapier Switch Software Reference
Software Release 2.7.3
C613-03098-00 REV A
add vlan port
Syntax ADD VLAN={vlan-name|1..4094} POrt={port-list|ALL}
[FRAme={TAGged|UNTAGged}]
For private VLANs (only available on Rapier i Series switches):
ADD VLAN={vlan-name|1..4094} POrt={port-list|ALL}
[FRAme={TAGged|UNTAGged}] [UPLINk] [GROUP]
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.
port-list is a port number, range (specified as n-m), or comma-separated list
of numbers and/or ranges. Port numbers start at 1 and end at m, where m
is the highest numbered Ethernet switch port, including uplink ports.
Description This command adds ports to the specified VLAN.
A port cannot be a member of both a private VLAN and a non-private VLAN.
See “Private VLANs” on page 8-22 for more information about configuring
private VLANs.
The ports must belong to only one STP after being added to the VLAN, except
on the Rapier i Series switches. This means that if the port is a member of
multiple VLANs then all those VLANs must belong to the same STP.
On the Rapier i Series switches only, a port can belong to multiple STPs if the
port is a member of more than one VLAN. If the port being added to the VLAN
also belongs to another STP through concurrent membership of another
VLAN, it is not removed from that VLAN or STP.
If as a result of the port addition, ports are moved from one STP to another STP,
the two affected STPs are initialised if they are currently enabled. Any
previously disabled ports in the STPs are enabled.
The vlan parameter specifies the name or numerical VLAN Identifier of the
VLAN. The name is not case sensitive, although the case is preserved for
display purposes. The vlan must already exist. By default, all ports belong to
the default VLAN, with a numerical VLAN Identifier (VID) of 1.
The port parameter specifies the ports. All the ports in a trunk group must
have the same VLAN configuration. If the command requires that ports be
implicitly deleted from the default VLAN and these ports belong to a trunk
group, then the command fails. The ports must belong to only one STP after
being added to the VLAN. When the command succeeds on a subset of the
specified ports but causes errors on the others, then the command as a whole
fails and has no effect. The mirror port cannot be added to a VLAN.
If the VLAN is a private VLAN and you do not specify the uplink or group
parameter, then the ports are added as individual private ports. Private ports
cannot be added to a private VLAN until the VLAN has an uplink port or
uplink trunk group added to it. The port must not be in a non-private VLAN.
See “Private VLANs” on page 8-22 for information about configuring private
VLANs.