|
|
This chapter describes networking protocol configurations for the Layer 3 switch routers. It provides initial configuration information so you can get your switch router up and running. For more information about the Cisco IOS commands used in this chapter, refer to the Cisco IOS Command Reference publication. This chapter includes the following sections:
![]() |
Note You are at Step 5 in the suggested process for configuring your Layer 3 switch router (see Table 2-1). You should have already completed general interface configurations before proceeding with configuring networking and routing protocols. |
![]() |
Note Layer 2 entries, IP routing, IP multicast routing, and Novell IPX routing share the 24K content addressable memory (CAM) on the Catalyst 2948G-L3 and the 32K CAM on the Catalyst 4908G-L3. |
This section briefly describes how to configure the switch router for supported IP routing protocols. It is intended to provide enough information for a network administrator to get the protocols up and running. However, this section does not provide in-depth configuration detail for each protocol. For detailed information, refer to the Cisco IOS IP and IP Routing Configuration Guide and the
Cisco IOS IP and IP Routing Command Reference publications.
You also need to set the following global configurations:
Layer 3 switching supports the routing protocols listed and described in the following sections.
Enhanced Interior Gateway Routing Protocol (EIGRP) is an enhanced version of IGRP that combines the advantages of link-state protocols with distance vector protocols. EIGRP incorporates the Diffusing Update Algorithm (DUAL). EIGRP includes features such as fast convergence, variable-length subnet masks, partial bounded updates, and multiple network-layer support.When a network topology change occurs, EIGRP checks its topology table for a suitable new route to the destination. If such a route exists in the table, EIGRP updates the routing table instantly.You can use the fast convergence and partial updates EIGRP provides to route IPX packets.
EIGRP saves bandwidth by sending routing updates only when routing information changes. The updates contain only information about the link that changed, not the entire routing table. EIGRP also takes into consideration the available bandwidth when determining the rate at which it transmits updates.
![]() |
Note Layer 3 switching does not support the Next Hop Resolution Protocol (NHRP). |
To configure routing protocols to run on a Fast Ethernet or Gigabit Ethernet interface, use the following Cisco IOS commands beginning in global configuration mode:
| Command | Purpose | |
|---|---|---|
Step 1 | Router(config)# router rip Router(config-router)# | Defines RIP as the routing protocol and starts the RIP routing process. |
Step 2 | Router(config-router)#
| Specifies a directly connected network based on the Internet Network Information Center (InterNIC) network numbernot a subnet number or individual address. The routing process associates interfaces with the appropriate addresses and begins processing packets on the specified network. |
Step 3 | Router(config-router)# exit Router(config)# | Returns to global configuration mode. |
Step 4 | Router(config)# Router(config-router)# | Defines IGRP as the IP routing protocol. The autonomous system number is the autonomous system to which this switch router belongs. |
Step 5 | Router(config-router) # | Defines the directly connected networks that run IGRP. The network number is the number of the network that is advertised by this switch router. |
Step 6 | Router(config-router)# Router(config)# | Returns to global configuration mode. |
Step 7 | Router(config)# Router(config-router)# | Defines EIGRP as the IP routing protocol. The autonomous system number is the autonomous system to which this switch router belongs. |
Step 8 | Router(config-router)# | Defines the directly connected networks that run EIGRP. The network number is the number of the network that is advertised by this switch router. |
Step 9 | Router(config-router)# Router(config)# | Returns to global configuration mode. |
Step 10 | Router(config)# router ospf Router(config-router)# | Defines OSPF as the IP routing protocol. The process ID identifies a unique OSPF router process. This number is internal to the switch router only; the process ID does not have to match the process IDs on other routers. |
Step 11 | Router(config-router)# | Assigns an interface to a specific area.
|
Step 12 | Router(config-router)# end Router# | Returns to privileged EXEC mode. |
Step 13 | Router# copy running-config startup-config | Saves configuration changes to NVRAM. |
![]() |
Note This section does not describe IP configuration in detail. Refer to the IP documentation on the Cisco Documentation CD for detailed conceptual and configuration information. |
Command | Purpose |
|---|---|
| |
|
|
|
|
As networks increase in size, multicast routing becomes critically important as a means to determine which segments require multicast traffic and which do not. IP multicast is a routing technique that allows IP traffic to be propagated from one source to a number of destinations, or from many sources to many destinations. Rather than sending one packet to each destination, one packet is sent to the multicast group identified by a single IP destination group address.
Cisco Group Management Protocol (CGMP) performs tasks similar to those performed by IGMP. CGMP works in conjunction with IGMP messages to dynamically configure ports on Cisco Layer 2 switches so that IP multicast traffic is forwarded only to those ports associated with IP multicast groups. Layer 3 switching supports CGMP server functionality, which is useful in integrating IP multicast support with Catalyst wiring closet switches. CGMP and IGMP protocols are necessary not only for IP multicast clients to join groups, but also for efficient leave processing, which saves bandwidth.
Layer 3 switch routers support the following:
Protocol Independent Multicast (PIM) includes two different modes of behavior for dense and sparse traffic environments. These are referred to as dense mode and sparse mode.
When a sender wants to send data, it first sends the data to the rendezvous point. When a router is ready to receive data, it registers with the rendezvous point. After the data stream begins to flow from the sender to the rendezvous point and then to the receiver, routers in the data path optimize the path by automatically removing any unnecessary hops, including the rendezvous point.
PIM sparse mode is optimized for environments in which there are many multipoint data streams and each multicast stream goes to a relatively small number of LANs in the internetwork. PIM sparse mode is most useful under these conditions:
Distance Vector Multicast Routing Protocol (DVMRP) uses a reverse path flooding technique to form multicast routes. The Layer 3 switch routers support interoperability with routers configured for DVMRP, but do not support a full DVMRP implementation. Layer 3 switch routers can send and receive DVMRP routing updates and can be configured to tunnel as DVMRP does, but do not run the actual routing protocol. Layer 3 switch routers forward multicast packets that have been forwarded by DVMRP routers and, in turn, forward multicast packets to DVMRP routers.
Layer 3 switch routers support the following IP multicast functionalities:
Switches logically concatenate several network segments together, and these network segments appear as a single segment to any routers attached to the switch. If an IP host on any switched segment joins a group, IP multicast data packets destined to that group are typically flooded by a switch to all switched segments.
CMF functionality helps a switch constrain the flooding of IP multicast data packets to only those switched segments that lead toward group members by listening to CGMP or IGMP transactions between hosts and multicast routers. Constrained flooding relieves the switch of unnecessary multicast packet replication, and relieves the network of unnecessary multicast packet transmission.
When CMF is enabled and at least one of the two lists contains information, the bridge forwards the IP multicast data packets destined for group G to group G ports and the multicast router ports. If both lists do not contain any information, IP multicast data packets destined for group G are flooded to all the ports in the bridge group.
Similarly, CMF forwards multicast data packets for BVIs over Fast EtherChannels. For example, IP multicast data packets for group G are forwarded to a BVI (that is part of group G's corresponding multicast entry) over a Fast EtherChannel that is also part of this group.
CMF is disabled by default and can be enabled through the CLI using the bridge cmf command.
IP multicasting consists of the transmission of IP traffic between source and destination. The multicast data is sent from the server to hosts that want to join the multicast transmission. Host groups have a Class D IP address and the server transmits one data stream to the entire host group at the same time as opposed to sending data streams to each host separately. The propagation of multicast traffic requires coordination amongst all network devices such as servers, hosts, routers, and switches.
To support IP multicasting services, all devices in a network must support Internet Group Management Protocol (IGMP). Cisco Group Management Protocol (CGMP) support is optional.
![]() |
Note The Layer 3 switch routers do not support IGMP snooping. |
Similarly when a host wants to leave a multicast transmission, it sends an IGMP leave message to the server. The switch router with CGMP server functionality maintains the forwarding table for the members in a multicast group that it supports.
The IGMP capable switch router sends periodic multicast group queries. When a host wants to remain in a multicast group, it responds to the query. In this case, the router does nothing. If a host does not want to remain in the multicast group, it does not respond to the router query. If after a number of queries the switch router receives no reports from any host in a multicast group, the switch router removes the host from the multicast group and updates its forwarding table.
CGMP offers the following benefits:
To configure IP multicast routing, use the following steps beginning in global configuration mode:
| Command | Purpose | |
|---|---|---|
Step 1 | Router(config)# ip multicast-routing | Enables IP multicast on the switch router. |
Step 2 | Router(config)# interface type number Router(config-if)# | Enters interface configuration mode to configure either the Fast Ethernet or Gigabit Ethernet interface. |
Step 3 | Router(config-if)# | |
Step 4 | Router(config-if)# end Router# | Returns to privileged EXEC mode. |
Step 5 | Router# | Saves your configuration changes to NVRAM. |
Command | Purpose |
|---|---|
|
|
IPX is a proprietary protocol. Novell IPX can be described as follows:
Novell IPX uses the following protocols and services:
![]() |
Note Layer 3 switching does not support the NetWare Link Services Protocol (NLSP). |
Both the network number and the host address are needed to deliver traffic to a host. Addresses are usually given as network numbers, followed by host addresses, separated by dots, as in the example: 4a.0000.0c00.23fe. In this example, the network number is 4a, and the host address is 0000.0c00.23fe.
To configure Novell IPX as a routing protocol, you must configure both global and interface parameters.
To configure global parameters for Novell IPX routing, follow these steps:
Step 2 Enable load sharing if appropriate for your network.
Once you have started IPX routing and enabled load sharing (if needed) on the router, you can configure the interface for Novell IPX routing.
To configure an interface for Novell IPX routing, follow these steps:
You can assign multiple network numbers to an interface, allowing support of different encapsulation types. The IPX network number is the number of the Novell network to which the interface is attached. IPX packets received on an interface that does not have a network number are ignored.
Step 2 Set the optional encapsulation type, if it is different from the default.
The default encapsulation type for the switch router is novell-ether (Ethernet_802.3).
![]() |
Note This section does not describe IPX configuration in detail. Refer to the IPX documentation on the Cisco Documentation CD for detailed conceptual and configuration information. |
To enable Novell IPX routing and configure an interface, use the following steps beginning in global configuration mode:
| Command | Purpose | |
|---|---|---|
Step 1 | Router(config)# ipx routing [node] | Enables Novell IPX routing, and starts the IPX routing process. If no node address is specified, the switch router uses the MAC address of the interface. |
Step 2 | Router(config)# ipx maximum-paths number | Allows load sharing over parallel metric paths to the destination. The maximum number of parallel paths is 2; the default number is 1. |
Step 3 | Router(config)# interface type number Router(config-if)# | Enters interface configuration mode to configure the Fast Ethernet or |
Step 4 | Router(config-if)# | |
Step 5 | Router(config-if)# end Router# | Returns to privileged EXEC mode. |
Step 6 | Router# | Saves configuration changes to NVRAM. |
Once IPX routing is configured, you can monitor and troubleshoot the protocol operation using the following commands.
Command | Purpose |
|---|---|
|
|
|
|
|
|
|
|
|
|
See "Configuration Examples," for Catalyst 2948G-L3 switch router configuration examples.
![]()
![]()
![]()
![]()
![]()
![]()
![]()
Posted: Thu Sep 7 09:18:48 PDT 2000
Copyright 1989-2000©Cisco Systems Inc.