Quick Reference Guide

180 PowerConnect B-Series TI24X Configuration Guide
53-1002269-02
Enabling port-based VLANs
7
Use the vlan <num> parameter to remove all MAC addresses for a specific VLAN.
Enabling port-based VLANs
When using the CLI, port and protocol-based VLANs are created by entering one of the following
commands at the global CONFIG level of the CLI.
To create a port-based VLAN, enter commands such as the following.
PowerConnect(config)#vlan 222 by port
PowerConnect(config)#vlan 222 name Mktg
Syntax: vlan <num> by port
Syntax: vlan <num> name <string>
The <num> parameter specifies the VLAN ID. The valid range for VLAN IDs starts at 1 on all
systems but the upper limit of the range differs depending on the device. In addition, you can
change the upper limit on some devices using the system max-vlans... command.
The <string> parameter is the VLAN name and can be a string up to 32 characters. You can use
blank spaces in the name if you enclose the name in double quotes (for example, “Product
Marketing”.)
You can configure up to 4063 port-based VLANs on a device running Layer 2 code or 4061
port-based VLANs on a device running Layer 3 code. Each port-based VLAN can contain either
tagged or untagged ports. A port cannot be a member of more than one port-based VLAN unless
the port is tagged. On both device types, valid VLAN IDs are 1 – 4095. You can configure up to the
maximum number of VLANs within that ID range.
NOTE
If you want to use VLANs 4091 and 4092 as configurable VLANs, you can assign them to different
VLAN IDs. For more information, refer to Assigning different VLAN IDs to reserved VLANs 4091 and
4092” on page 265.
NOTE
The second command is optional and also creates the VLAN if the VLAN does not already exist. You
can enter the first command after you enter the second command if you first exit to the global
CONFIG level of the CLI.
Assigning IEEE 802.1Q tagging to a port
When a port is tagged, it allows communication among the different VLANs to which it is assigned.
A common use for this might be to place an email server that multiple groups may need access to
on a tagged port, which in turn, is resident in all VLANs that need access to the server.
NOTE
Tagging does not apply to the default VLAN.
When using the CLI, ports are defined as either tagged or untagged at the VLAN level.