cc/td/doc/product/l3sw/4908g_l3/ios_12/7w515d
hometocprevnextglossaryfeedbacksearchhelp
PDF

Table of Contents

Configuring Networking Protocols

Configuring Networking Protocols

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.

About IP Routing Protocols

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.

IP routing is enabled by default on the switch router. For IP routing, you need the following to configure your interface:

You also need to set the following global configurations:

Layer 3 switching supports the routing protocols listed and described in the following sections.

Routing Information Protocol

Routing Information Protocol (RIP) is a distance-vector, intradomain routing protocol. RIP works well in small, homogeneous networks. However, in larger, more complex internetworks it has many limitations, such as a maximum hop count of 15, lack of support for variable-length subnet masks (VLSMs), inefficient use of bandwidth, and slow convergence. (RIP II does support VLSMs.)

Open Shortest Path First

Open Shortest Path First (OSPF) is a standards-based IP routing protocol designed to overcome the limitations of IP RIP. Because OSPF is a link-state routing protocol, it sends link-state advertisements (LSAs) to all other routers within the same hierarchical area. Information on the attached interfaces and their metrics is used in OSPF LSAs. As routers accumulate link-state information, they use the shortest path first algorithm (SPF) to calculate the shortest path to each node. Additional OSPF features include equal-cost multipath routing and routing based on the upper-layer type of service (ToS) requests.

OSPF employs the concept of an area, which is a grouping of contiguous OSPF networks and hosts. OSPF areas are logical subdivisions of OSPF autonomous systems whose internal topology is hidden to routers outside the area. Areas allow an additional level of hierarchy different from that provided by IP network classes, and they can be used to aggregate routing information and mask the details of a network. These features make OSPF particularly scalable to large networks.

Interior Gateway Routing Protocol

Interior Gateway Routing Protocol (IGRP) is a distance vector interior-gateway routing protocol developed by Cisco Systems, Inc. Distance vector routing protocols call for each other to send all or a portion of its routing table in a routing update message at regular intervals to each of its neighboring routers. As routing information proliferates through the network, routers can calculate distance to all the nodes within the internetwork. IGRP uses a combination of metrics: internetwork delay, bandwidth, reliability, and load are all factored into the routing decision.

Enhanced Interior Gatewayl Routing Protocol

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).

Configuring IP Routing Protocols

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)# network net-number

Specifies a directly connected network based on the Internet Network Information Center (InterNIC) network number—not 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 igrp autonomous-system-number

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) # network net-number

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)# exit

Router(config)#

Returns to global configuration mode.

Step 7 

Router(config)# router eigrp autonomous-system-number

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)# network net-number

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)# exit

Router(config)#

Returns to global configuration mode.

Step 10 

Router(config)# router ospf process-ID

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)# network net-address | wildcard-mask area area-ID

Assigns an interface to a specific area.

  • The network address is the address of directly connected networks or subnets.

  • The wildcard mask is an inverse mask that compares a given address with interface addressing to determine whether OSPF uses this interface.

  • The area parameter identifies the interface as belonging to an area.

  • The area ID specifies the area associated with the network address.

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.

Monitoring and Verifying IP Operation

Once IP routing is configured, you can monitor and verify the protocol operation using the following commands:

Command
Purpose

show ip protocol

Shows the values about routing timers and network information associated with the entire router. Use this information to identify a router that is suspected of delivering bad router information.

show ip route

Shows the contents of the IP routing table. The routing table contains entries for all known networks and subnetworks, and contains a code that indicates how that information was learned.

show ip interfaces

Shows the status and global parameters associated with an interface. Cisco IOS automatically enters a directly connected route in the routing table if the interface is one through which a protocol can send and receive packets. Such an interface is marked "up." If the interface is unusable, it is removed from the routing table.

About IP Multicast Routing

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.

A principle component of IP multicast is the Internet Group Membership Protocol (IGMP). Hosts identify their multicast group membership by sending IGMP messages to the switch router. Traffic is sent to all members of a multicast group. A host can be a member of more than one group at a time. Also, a host does not need to be a member of a group to send data to that group. Enabling Protocol Independent Multicast (PIM) on an interface also enables IGMP operation on that interface.

IP multicast supports constrained multicast flooding over Bridge Group Virtual Interfaces (BVIs), as well as BVIs over Fast EtherChannel. Using constrained multicast flooding, the switch router can dynamically determine per-group membership of bridge ports and flood multicast packets only to those ports where group members reside.

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.

Supported IP Multicast Routing Protocols

Layer 3 switch routers support the following:

Protocol Independent Multicast

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.

PIM dense mode assumes that the downstream networks want to receive the datagrams forwarded to them. The switch router forwards all packets on all outgoing interfaces until pruning and truncating occurs.Thus, interfaces with PIM dense mode enabled receive the multicast data stream until it times out. PIM dense mode is most useful under these conditions:

PIM sparse mode assumes that the downstream networks do not want to forward multicast packets for a group unless there is an explicit request for the traffic. PIM sparse mode defines a rendezvous point, which is used as a registration point to facilitate the proper routing of packets.

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 Interoperability

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.

Supported IP Multicast Functionalities

Layer 3 switch routers support the following IP multicast functionalities:

Constrained Multicast Flooding Functionality

Constrained multicast flooding (CMF) functionality uses CGMP or IGMP to control the flooding of IP multicast data packets to only those ports where group members reside.

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.

Layer 3 switch routers support CMF over Bridge Group Virtual Interfaces (BVIs) as well as BVIs with Fast EtherChannels. CMF constrains the propagation of IP multicast data packets to only those bridge ports that lead toward group members or multicast routers.The following two types of lists for CMF are maintained in a bridge group:

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.

Cisco Group Management Protocol Server Functionality

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.

The Layer 3 switch routers support CGMP server functionality. When a host wants to join a multicast transmission, it sends a CGMP or IGMP join message to the server. In this join message the host specifies its MAC address and indicates the IP multicast group it wants to join. By sending the join message the host becomes a member of a multicast host group.

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:

Configuring IP Multicast Routing

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)# ip pim [dense-mode |
sparse mode | sparse-dense-mode]

Runs IP multicast routing on each interface on which you enter this command. You must indicate dense mode, sparse mode, or sparse-dense mode (for internetworks that include both cases).

Step 4 

Router(config-if)# end

Router#

Returns to privileged EXEC mode.

Step 5 

Router# copy running-config startup-config

Saves your configuration changes to NVRAM.

Monitoring and Verifying IP Multicast Operation

Once IP multicast routing is configured, you can monitor and verify its operation using the following command:

Command
Purpose

show ip mroute |count|

Shows the complete multicast routing table and the combined statistics of packets processed.

About Novell IPX Protocol

The Cisco implementation of Novell Internetwork Packet Exchange (IPX) protocol provides all of the functionality of a Novell external bridge (Novell refers to their router functionality as bridging).

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).

About IPX Network Addresses

An IPX network address consists of a network number and a node number, expressed in the format network.node.

Network number

A 4-byte (32-bit) number that identifies the physical network. The network number is expressed in hexadecimal and must be unique throughout the entire IPX internetwork. When configuring an IPX network number, you can omit the leading zeros.

Node number

Dotted triplets of 4-digit hexadecimal numbers that identify a node on the network. The node number is normally the MAC address of the NetWare node or router interface.

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.

About Global and Interface Parameters

To configure Novell IPX as a routing protocol, you must configure both global and interface parameters.

Global Configuration Parameters

To configure global parameters for Novell IPX routing, follow these steps:


Step 1   Start the IPX routing process.

Step 2   Enable load sharing if appropriate for your network.

Load sharing divides routing tasks evenly among multiple routers to balance the work and improve network performance. The switch router supports up to two parallel paths.


Once you have started IPX routing and enabled load sharing (if needed) on the router, you can configure the interface for Novell IPX routing.

Interface Configuration Parameters

To configure an interface for Novell IPX routing, follow these steps:


Step 1   Assign unique network numbers to each interface.

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.

Configuring Novell IPX Routing

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
Gigabit Ethernet interface.

Step 4 

Router(config-if)# ipx network number [encapsulation {type}] [secondary]

Enters a unique hexadecimal IPX network number (up to eight numbers in length) for each interface.The IPX network number is the number of the Novell network to which the interface is attached. Novell packets received on an interface that does not have a Novell network number are ignored.

The encapsulation type is optional. You can specify one of the following types: novell-ether (the default), sap, arpa, or snap.

Step 5 

Router(config-if)# end

Router#

Returns to privileged EXEC mode.

Step 6 

Router# copy running-config startup-config

Saves configuration changes to NVRAM.

Monitoring and Verifying IPX Operation

Once IPX routing is configured, you can monitor and troubleshoot the protocol operation using the following commands.

Command
Purpose

show ipx interfaces

Shows the status and parameters of the interfaces configured for IPX.

show ipx interface fastethernet 1

Shows the status and parameters for the specified Fast Ethernet IPX interface.

show ipx route

Shows the contents of the IPX routing table.

show ipx servers

Shows the list of IPX servers discovered through SAP advertisements, plus the network address, port number, and number of hops and ticks to the server.

show ipx traffic

Shows the number and type of IPX packets transmitted and received, as well as the number of broadcasts, SAPs, and routing packets received.

See "Configuration Examples," for Catalyst 2948G-L3 switch router configuration examples.


hometocprevnextglossaryfeedbacksearchhelp
Posted: Thu Sep 7 09:18:48 PDT 2000
Copyright 1989-2000©Cisco Systems Inc.