Figure 25: VLAN Example.
Engineering
Marketing
VLAN tagging
VLAN Tagging is a method of controlling the distribution of information on the network. The
ports on devices supporting VLAN Tagging are configured with the following parameters:
Port VLAN ID
●
Tagging Mode
●
The Port VLAN ID is the number of the VLAN to which the port is assigned.
Note:
You need to create a VLAN with the set vlan command before you can assign
Note:
it to a port. You can also create a VLAN by using the interface vlan
command, followed by the number of the VLAN (e.g., type interface vlan 2
to create VLAN 2).
Untagged frames and frames tagged with VLAN 0 entering the port are assigned the port's
VLAN ID. Tagged frames are unaffected by the port's VLAN ID.
The Tagging Mode determines the behavior of the port that processes outgoing frames:
If Tagging Mode is set to Clear, the port transmits frames that belong to the port's VLAN
●
table. These frames leave the device untagged.
If Tagging Mode is set to IEEE-802.1Q, all frames keep their tags when they leave the
●
device. Frames that enter the switch without a VLAN tag are tagged with the VLAN ID of
the port they entered through.
Sales
Configuring VLANs
Marketing
Sales
Engineering
Issue 1.1 June 2005
221