After you select a VLAN mode for your modules and create VLAN interfaces with VLAN characteristics such as IEEE 802.1Q or no tagging, port membership, protocol type, and Layer 3 (network) address information, the system determines the details of VLAN operation by observing two main types of rules:
These rules are classified in the IEEE 802.1Q standard. In addition, the system relies on some module-specific rules, discussed next.
These rules determine the VLAN to which an incoming frame belongs. The frame is assigned to the VLAN that has the most specific match. The system uses this protocol match hierarchy to find the most specific match.
The ingress rules use the following hierarchy to determine the most specific match:
1 . IEEE 802.1Q tag VID value.
2 . For Multilayer Switching Modules, a specific protocol match (for example, IP, IPX, or AppleTalk).
3 . The default VLAN (an untagged, unspecified protocol type VLAN with all ports and a VID of 1), or any VLAN that has the unspecified protocol type.
4 . The null VLAN, a special VLAN that the system uses if the frame cannot be assigned to any VLAN. This VLAN has no ports and has no address table (in allClosed mode).
The Release 3.0 ingress rules are classified according to the tag status of the frame and the VLAN mode (allOpen for open VLANs or allClosed for closed VLANs). For the ingress rules, the system considers a priority tagged frame an untagged frame.
Figure 23 shows the flow chart for the Release 3.0 VLAN ingress rules for Multilayer Switching Modules.
Figure 23 Flow Chart for Release 3.0 Ingress Rules
The ingress rules for tagged frames also vary for the different releases. Table 57 summarizes the differences in ingress rules based on the releases.
These rules determine whether the outgoing frame is forwarded, filtered (dropped), or flooded. They also determine the frame's tag status. The same standard bridging rules apply to both open and closed VLANs, but they result in different behavior depending on the allOpen mode (one address table for the module) versus allClosed mode (one address table for each VLAN). For example, on a Multilayer Switching Module, if a frame is associated with a VLAN that uses VID 1 and has a destination address associated with a VLAN that uses VID 2, the frame is flooded over the VID 1 VLAN in allClosed mode but forwarded untagged in allOpen mode.
The frame is handled according to these bridging rules:
After the VLAN and the transmit ports are determined for the frame, the Tag Status rules determine whether the frame is transmitted with an IEEE 802.1Q tag. For Multilayer Switching Modules, priority tagged frames for QoS use the same frame format as IEEE 802.1Q tagging but with a VID of 0. Priority tagged frames received by the Multilayer Switching Module are transmitted as either untagged frames (that is, no priority tagging) or IEEE 802.1Q tagged frames.
For each port on which the frame is to be transmitted, if that port is tagged for the VLAN associated with the frame, transmit the frame as a tagged frame; otherwise, transmit the frame as an untagged frame.
If the transmit port is not a member of the assigned VLAN, the frame is transmitted untagged. For VLANs in allOpen mode on Multilayer Switching Modules, this result may occur in either of these situations:
If the frame is assigned to the null VLAN. (The frame can still be forwarded if the address was statically entered in the address table or dynamically learned on another VLAN.)
If the frame is assigned to a specific VLAN but the transmit port is not part of this VLAN.
This section provides several examples of flooding and forwarding decisions.
Table 58 lists how flooding decisions are made according to three VLANs that are set up by protocol (assuming a 12-port configuration).
|
Index |
VLAN |
Ports |
|---|---|---|
|
1 |
Default |
1-12 |
|
2 |
IP |
1-8 |
|
3 |
IPX |
9-11 |
If data arrives on a bridge port for a certain protocol and VLANs for that protocol are defined in the module but not on that bridge port, the default VLAN defines the flooding domain for that data. This case is called VLAN exception flooding. Table 59 lists how the VLAN exception flooding decision is made (assuming a 12-port configuration).
|
Index |
VLAN |
Ports |
|---|---|---|
|
1 |
Default |
1-12 |
|
2 |
IP |
1-8 |
Whenever an IP VLAN is defined with Layer 3 information, another VLAN is defined over the same ports called the All IP Subnets VLAN. Information about this VLAN is not available to the network administrator. Also, this VLAN has no VID associated with it and has no IEEE 802.1Q tagging on any of the ports. Incoming IP frames are assigned to this VLAN if they cannot be assigned to any of the network-based IP VLANs.
The following IP protocols are applicable to network-based VLANs:
The frames that are associated with these protocols have different ingress rules for assignment to the appropriate network-based VLAN:
Otherwise, assign to the network-based IP VLAN if the IP destination address is consistent with the VLAN subnetwork. Otherwise, assign to the All IP Subnets VLAN.
Table 60 lists the information for one network-based IP VLAN and how forwarding and flooding decisions are made for this VLAN.
|
Index |
VID |
VLAN Name |
Ports |
IP Subnet |
|---|---|---|---|---|
|
2 |
2 |
IP_100 |
1 (untagged) 2-6 (tagged) |
158.101.100.0 mask: 255.255.255.0 |