Consider the following guidelines when you configure VLANs on your Switch 4007 system.
On your multi-layer modules, you can either configure network-based IP VLANs or you can define a single VLAN with the protocol type IP and then define multiple IP routing interfaces fro that single protocol-based VLAN (an IP VLAN).
If you decide to convert an existing network-based VLAN to a protocol-based VLAN that has multiple interfaces associated with it, use the following procedure:
1 . Remove any existing network-based VLANs on your Multilayer Switching Modules.
2 . Define an IP VLAN or a VLAN that supports IP as one of its protocols.
3 . Define multiple IP interfaces (with different IP addresses) to use that IP VLAN. (See Chapter 16.)
You can define up to 32 IP interfaces on each Multilayer Switching Module, including IP routing interfaces for static VLANs, router port IP VLANs (described in the next section), or any combination of static VLANs and router port IP VLANs.
If you define multiple interfaces for an IP VLAN, you cannot subsequently modify that IP VLAN to supply Layer 3 address information. If only one routing interface is defined for the IP VLAN, then (at Release 3.0) you can supply Layer 3 address information as long as it matches the Layer 3 information specified for the routing interface.
This latter procedure is not recommended, because it makes the IP VLAN a network-based VLAN, which will not be supported at releases higher than 3.0.
If you continue to use network-based VLANs for Release 3.0 on your Multilayer Switching Modules, you are limited to defining only one IP routing interface for that VLAN. When you define an IP routing interface with the interface type vlan, the system does not allow you to select a network-based IP VLAN that already has a routing interface defined for it. For more information on IP routing interfaces, see Chapter 16.
By default, the Multilayer Switching Modules use a routing over bridging model, in which any frame is bridged before it is potentially routed. If you want to define IP routing interfaces that use a routing versus bridging model, however, you can bypass your static VLAN configuration and instead go directly to defining an IP interface on a single router port (a router port IP interface).
If you define a router port IP interface, note the following information:
For more information about defining a router port IP interface on a
Multilayer Switching Module, see Chapter 16.
(Example: If the backplane and switch fabric module ports for the default VLAN are untagged, the backplane and switch fabric module ports for all other VLANs must be tagged.) It is safer to tag the backplane and switch fabric module ports of all VLANs, although in some configurations, some overhead could be associated with tagging.
Follow these procedural guidelines to configure VLANs on the modules in your system:
1 . Use the EME to connect to each Layer 2 and Multilayer Switching Module individually and configure the VLAN mode and VLANs for each module.
2 . On each switching module, select the VLAN mode of allOpen or allClosed.
3 . On each switching module, create the appropriate number of VLANs for your configuration. For each VLAN definition:
4 . On each Multilayer switching module with VLANs that you want to perform routing, define a routing interface for each protocol-based or network-based VLAN. Verify that the routing interface is defined to use the same network or subnetwork as any other module that supports the VLAN.
5 . Use the EME to connect to the switch fabric module and configure all VLANs that will pass traffic through the Layer 2 switch fabric module (that is, VLANs that are associated with switching modules or the GEN interface modules).
You must evaluate the number of VLANs on a per-module basis. The module type determines the number of VLANs that can be supported:
To determine the number of VLANs of any type that you can have on a Multilayer Switching Module, use the following equation:
No._of_VLANs_supported = (125 / No._of_Protocol_Suites) minus 3
When you use the VLAN equation to calculate the number of VLANs that you may have on your Multilayer Switching Module, keep in mind that the formula provides only an estimate. You may see more or fewer VLANs, depending on your configuration, use of protocol suites, and chosen tag style. If, for example, you are using the Release 3.0 VLAN tag style of all ports, this formula generally yields a maximum; if you change to use the Release 1.2 tag style of taggedVlanPorts, then this formula generally yields a minimum number of VLANs.
A result of up to 64 is valid. If your result is greater than 64, you must observe 64 as the limit for the number of VLANs supported.
The number of allowable VLANs includes the default VLAN, and the number of protocol suites always includes the unspecified protocol type.
To perform the calculation, determine the total number of protocol suites used on your system. Remember to include the unspecified type for the default VLAN, even if you have removed the default VLAN and do not have other VLAN defined with the unspecified protocol type.
Use the following guidelines to count the protocol suites that are used on the Multilayer Switching Module:
In addition to the limit on the number of VLANs, a limit of 15 different protocols can be implemented by the protocol suites on the module. See Table 53 later in this chapter for a list of the supported protocol suites and the number of protocols within each suite.
The following examples show how to use the equation.
Example 1
You have 7 protocol suites on the Multilayer Switching Module (IP, AppleTalk, unspecified for the default VLAN, and generic IPX, which counts as 4 protocol suites):
(125 / 7) minus 3 = 14
In this configuration, the module supports a minimum of 14 VLANs. As shown in Table 53, these 7 protocol suites use 8 protocols (3 IP, 2 AppleTalk, 1 unspecified, and 2 generic IPX).
Example 2
You have 5 protocol suites: IP, unspecified, AppleTalk, IPX 802.2 Sub-Network Access Protocol (SNAP), and IPX 802.3 Raw:
(125 / 5) minus 3 = 22
In this configuration, the Multilayer Switching Module supports a minimum of 22 VLANs. As shown in Table 53, these 5 protocol suites use 7 protocols: 3 IP, 1 unspecified, 2 AppleTalk, 1 IPX 802.2 SNAP, and 0 IPX 802.3 Raw (because it does not use an Ethernet protocol type).
If you are upgrading from a Switch 4007 2.x release and the VLAN resource limit is reached during a power-on with a serial port console connection, you can use the Administration Console command bridge vlan vlanAwareMode to change the VLAN aware mode to taggedVlanPorts. See the section "VLAN Aware Mode"
For Multilayer Switching Modules only, VLAN aware mode accommodates the difference in VLAN resource usage as well as tagged-frame ingress rules between Release 2.x and Release 3.0. For more information on ingress rules, see "Rules of VLAN Operation" later in this chapter.
The VLAN aware mode, which you set with the Administration Console command bridge vlan vlanAwareMode, reflects the difference in VLAN resource usage and modes of tagging on Multilayer Switching Modules as follows:
This difference in resource usage and modes of tagging has the following impact: After you upgrade the system from 2.x to 3.0, the release uses VLAN resources differently than did Release 2.x and may cause a change in the total number of allowable VLANs.
VLAN aware mode is currently supported only through the Administration Console, not through Web Management or SNMP.
Initial installation of Release 3.0 provides a default VLAN aware mode of allPorts, which is consistent with the 3.0 ingress rules and resource allocation. If you upgrade your Multilayer Switching Module and the VLAN resource limit is reached during a power up with a serial port console connection, the console displays an error message similar to the following one to identify the index of the VLAN that it was unable to create:
Could not create VLAN xx - Internal resource threshold exceeded
In this situation, the module removes all bridge ports from the VLAN that it could not restore from NV data, although it does maintain the previously stored NV data. To restore your VLANs after you see the resource error message, enter the bridge vlan vlanAwareMode command and then set the VLAN aware mode to taggedVlanPorts. If VLANs are already defined, the Administration Console prompts you to reboot the module to put the new mode into effect.
If you do not see the VLAN internal resource error message, maintain the default VLAN aware mode of allPorts. In this case, the module can accommodate the number of Release 2.x VLANs, but it now uses different ingress rules for tagged frames.
The Administration Console commands bridge vlan summary and bridge vlan detail display the current VLAN aware mode after the VLAN mode (allOpen or allClosed).
If you change the VLAN mode after you have defined VLANs, the interface module or switch fabric module deletes all configured VLANs and redefines the default VLAN. See "Modifying the VLAN Mode" later in this chapter.