Specifications
198 ExtremeWare XOS 10.1 Command Reference Guide
VLAN Commands
configure vlan add ports
configure vlan <vlan_name> add [ports <port_list> | all] {tagged | untagged
| stpd <stpd_name> [dot1d | emistp | pvst-plus} {nobroadcast}
Description
Adds one or more ports in a VLAN.
Syntax Description
Default
Untagged.
Usage Guidelines
The VLAN must already exists before you can add (or delete) ports: use the create vlan command to
create the VLAN.
If the VLAN uses 802.1Q tagging, you can specify tagged or untagged port(s). If the VLAN is untagged,
the ports cannot be tagged.
Untagged ports can only be a member of a single VLAN. By default, they are members of the default
VLAN (named Default). In order to add untagged ports to a different VLAN, you must first remove
them from the default VLAN. You do not need to do this to add them to another VLAN as tagged
ports.
You must configure a loopback port with a unique loopback VLAN tag ID before adding rate-shaped
ports.
This command is not supported on SONET modules.
Example
The following command assigns tagged ports 1:1, 1:2, 1:3, and 1:6 to a VLAN named accounting:
configure vlan accounting add ports 1:1, 1:2, 1:3, 1:6 tagged
vlan_name Specifies a VLAN name.
port_list Specifies a list of ports or slots and ports. May be in the form 1, 2, 3-5, 2:5,
2:6-2:8.
tagged Specifies the ports should be configured as tagged.
untagged Specifies the ports should be configured as untagged.
stpd_name Specifies an STP domain name.
nobroadcast Prevents broadcasts, multicasts, and unknowns from being transmitted on
these ports.