Specifications
Switching set vlan port 8-181
Software Release 2.7.3
C613-03098-00 REV A
set vlan port
Syntax SET VLAN={vlan-name|1..4094} POrt={port-list|ALL}
FRAme={UNTAGged|TAGged}
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 switch Ethernet port, including uplink ports.
Description This command changes the status of ports in a VLAN from tagged to untagged
or vice-versa.
The vlan parameter specifies the name of the VLAN or the numerical VLAN
Identifier of the VLAN. The name is not case sensitive, although the case is
preserved for display purposes. The vlan specified must exist.
The port parameter specifies the port or ports to be changed. The ports must
belong to the VLAN specified. 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. If all is specified, then all ports in the VLAN change.
The frame parameter specifies whether packets transmitted from a port for the
specified VLAN include a VLAN tag header. If frame is set to untagged, the
port becomes an untagged port for the specified VLAN, and the acceptable
switch parameter for the port is set to all. The user can then change the
acceptable parameter for the port. frame may only be set to untagged when
the port was previously a tagged port in the same VLAN, and is not an
untagged port of another VLAN. If frame is set to tagged, then the port
becomes a tagged port for the VLAN and the acceptable switch parameter for
the port is set to VLAN. The user cannot change the acceptable parameter for
the tagged port. frame can be set to tagged only when the ports were
previously untagged ports in the same VLAN.
Example To change the status of port 1 of the default VLAN from untagged to tagged,
use the command:
set vlan=default port=1 frame=tagged
Related Commands add vlan port
delete vlan port
show vlan