IEEE 802.1Q VLANs are based on the IEEE 802.1Q Virtual Bridged Local Area Networks standard, which proposes a standardized format for MAC-Layer frame tagging. IEEE 802.1Q VLANs enable the switch to communicate VLAN membership information across multiple, multivendor devices. The standard enables you to assign ports to more than one VLAN. You can easily use one or more switch-to-switch connections that are known as trunks to create VLANs that span multiple switches You can enable a device such as a server to belong to more than one VLAN, as long as the device has a network interface card (NIC) that supports IEEE 802.1Q frame tagging.
When you create a tagged trunk between switches, a header is inserted into any frames that traverse the trunk, to uniquely identify the frame's VLAN. To enable the VLANs to communicate, make sure that the ports that connect the switches belong to all the VLANs that you define.
Device View enables you to set up IEEE 802.1Q VLANs on devices such as the SuperStack II Switch 1100, 3300, 3800 and 9000 SX.
This section contains the following topics:
The IEEE 802.1Q Virtual Bridged Local Area Networks draft proposes a standardized format for frame tagging, also known as encapsulation, to communicate VLAN membership information across multiple, multivendor devices.
Many switches support VLANs based on physical port, IEEE 802.1Q tag, or combinations of port and tag assignments. In practice, most VLANs use a combination of both methods.
IEEE 802.1Q VLANs are most commonly used to create VLANs that span multiple switches. The switch-to-switch connections, which are called trunks, can carry traffic for all the VLANs that you create. The tagged VLANs provide a more effective means of connecting devices than port-based VLANs, which require a separate trunk for every VLAN that you create.
Another benefit of tagged VLANs is the ability to assign a port to more than one VLAN. This is particularly useful if you have a device, such as a file or print server, that must belong to multiple VLANs. The device must have a NIC that supports IEEE 802.1Q tagging.
A single port can be a member of only one port-based VLAN. Any additional VLAN membership for the port must involve the use of IEEE 802.1Q frame tagging. However, you do not need to tag all the ports in an IEEE 802.1Q VLAN. When the switch forwards traffic, it determines whether the port uses tagged or untagged packets and adds or removes tags as necessary.
Figure 30 provides an example of the physical layout of a network that uses tagged and untagged traffic, and a logical picture of VLAN membership.
Figure 30 Tagged and Untagged Ports on IEEE 802.1Q VLANs
The tagged trunk, which connects port 7 on Switch A to port 2 on Switch B, carries traffic for both Marketing and Sales VLANs. In addition, the server that is connected to port 1 on Switch A has a NIC that supports 802.1Q tagging. The server is a member of both Marketing and Sales VLANs.
As data passes into the switch, the switch determines if the destination port requires the frames to be tagged or untagged. All traffic to and from the trunk ports, and to and from the server, is tagged. All the other stations use untagged traffic.
You can configure VLANs using a combination of port-based and tagged assignments. A port can be a member of multiple VLANs, but only one of its VLANs can use untagged traffic. In other words, a port can simultaneously be a member of one port-based VLAN and multiple tag-based VLANs.
The mode of VLAN membership affects the way that the port behaves. However, as a general rule, both tagged and untagged ports only forward frames from VLANs in which they are a member.
For example, the SuperStack II Switch 9000 SX has three modes of port membership:
Figure 31 shows that a tagged VLAN can contain tagged and untagged ports, and that a port can be a PVid member of one VLAN, and an 802.1Q Mode member of one or more other VLANs.
Figure 31 PVid and 802.1Q Mode VLAN Membership
In this example, tagged ports 2 and 3 belong to one or more VLANs as tagged members, and to their default VLANs as untagged members.
When you assign a port to be a tagged member of one or more VLANs, always make sure it is not a tagged member of the default (PVid) VLAN. A port that belongs to the VLAN in both 802.1Q and PVid modes can send tagged packets but receive untagged packets. Thus, the device that is connected to the port cannot send and receive traffic.
Observe the following guidelines when you create IEEE 802.1Q VLANs:
Spanning Tree Protocol (STP) Bridge Protocol Data Unit (BPDU) traffic is always untagged and occurs on all ports when Spanning Tree is enabled.
If you are running non-routable protocols such as NetBIOS or DEC LAT, devices can communicate only with members of the same VLAN.
IEEE 802.1Q frame tagging enables ports to be assigned to more than one VLAN. This means you can use one or more switch-to-switch connections that are known as trunks to create VLANs that span multiple switches. It also means you can enable a device such as a server to belong to more than one VLAN, as long as the device has a Network Interface Card (NIC) that supports IEEE 802.1Q frame tagging.
Creating a new 802.1Q VLAN involves performing the following steps using Device View:
1 . Create 802.1Q tags
2 . Add and edit VLANs
3 . Assign ports to VLANs
4 . Set the port mode
Enterprise VLAN Manager enables you to set up, discover, and map 802.1Q VLANs on the following packet switches:
Enterprise VLAN Manager automatically discovers and models port-to-VLAN mappings across all the 3Com switches that support 802.1Q VLANs in your network: