| 6.2 | Route Switch Modules | ||
| 6.2.4 | Configure RSM interfaces |
Configuring inter-VLAN routing on the
RSM consists of two main procedures:
As previously discussed, VLANs are created at the switch level as a means of grouping ports. However, VLANs are controlled at the route-processor level. VLAN interfaces on the RSM are virtual interfaces, but you configure them much as you do a physical router interface. To specify a VLAN interface on the RSM of a Catalyst 5000 Series Switch, enter the following command in global configuration mode:
To specify a VLAN interface other than VLANs 0 and 1, use the VLAN number as the vlan-interface-number. The interface number configured on the Route Processor corresponds to the VLAN number configured on the Catalyst 5000 Series Switch. For example, interface VLAN 100 corresponds to VLAN 100 on the Catalyst 5000 Series Switch. The RSM can route up to 256 VLANs. After you define the VLAN interface, you must assign a unique IP address to that interface. To assign a unique IP address and subnet mask to an interface, enter the following command in interface configuration mode:
Each VLAN that the RSM is routing appears as a separate virtual interface. Therefore, the configuration file of the RSM has an interface description for each VLAN. The RSM on the Catalyst 5000 Series has one global MAC address that applies to all interfaces on that device. Specifying a unique MAC address per interface enhances the operations of the RSM interface when working with some Catalyst Switches. Assigning a unique MAC address per interface has the following benefits:
The Catalyst 5000 Series set command-based switches are slightly different. The Catalyst 4000 Family Layer 3 engine uses Cisco Express Forwarding (CEF). This technology provides Layer 3 switching based on a topology map of the entire network that is distributed to multiple application-specific integrated circuits (ASICs), allowing autonomous-switching decisions without the involvement of a centralized CPU. The RSM concept is gone. The Layer 3 module looks like a router, but it is never referred to as an RSM rather a Layer 3 service module. Inter-VLAN traffic is run through the Gigabit Ethernet ports (both on the front panel and on backplane gigabit ports that you can't see). The concept of "interface vlan xxx" from the Catalyst 5000 Series does not apply here. With the Catalyst 5000 Series, you configure subinterfaces on IEEE 802.1q gigabit ports and the subinterfaces are assigned to a VLAN. Perform the following steps to configure the interfaces as a channel (in this procedure, the Layer 3 services module is in Slot 2): Step 1 - Use the set port channel mod/ports command to configure a Gigabit EtherChannel. Before you create the channel, ensure that the ports you intend to channel (in this case, 2/1 and 2/2) belong to the same VLAN:
Step 2 - Use the set trunk mod_num/port_num command to enable trunking and specify an encapsulation type on the EtherChannel ports (specifying the encapsulation type on one of the EtherChannel ports enables trunking and the specified encapsulation on all ports in the channel):
Step 3 - Use the session mod_num command to access the Layer 3 services module console prompt:
Step 4 - Create an
EtherChannel (portchannel) interface (the channel number can be from
Step 5 - Assign the g3 and g4 interfaces to the port channel:
Step 6 - Configure subinterfaces on the port channel interface, one for each allowed VLAN configured on the Layer 3 service module trunk over which you want to route (specify the same type of encapsulation as in Step 2):
Step 7 - Configure a subinterface for the native VLAN by specifying the native keyword in the encapsulation command:
The example in Figures The example in Figures
|