cc/td/doc/product/l3sw/2948g-l3/rel_12_0
hometocprevnextglossaryfeedbacksearchhelp
PDF

Table of Contents

Configuring Networking Protocols

Configuring Networking Protocols

This chapter describes networking protocol configurations for the Catalyst 2948G-L3 switch router. 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 switch router (see Table 2-1). You should have already completed general interface configurations before proceeding with configuring networking and routing protocols.

Note The 24K content addressable memory (CAM) on the Catalyst 2948G-L3 is shared by Layer 2 entries, IP routing, IP multicast routing, and Novell IPX routing.

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 Network Protocols Configuration Guide and the
Cisco IOS Network Protocols Command Reference publications.

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

The following global configurations are also required:

Supported Routing Protocols

Layer 3 switching supports the following routing protocols.

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 (SPF) algorithm 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 Gateway 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 interface, use the following Cisco IOS commands beginning in global configuration mode.

Step Command Purpose

1 . 

2948G-L3(config)# router rip

2948G-L3(config-router)#

Defines RIP as the routing protocol and starts the RIP routing process.

2 . 

2948G-L3(config-router)# network net-number

Specifies a directly connected network based on the Network Information Center (NIC) 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.

3 . 

2948G-L3(config-router)# exit

2948G-L3(config)#

Returns to global configuration mode.

4 . 

2948G-L3(config)# router igrp autonomous-system-number

2948G-L3(config-router)#

Defines IGRP as the IP routing protocol.

The autonomous system number is the autonomous system to which this switch router belongs.

5 . 

2948G-L3(config-router) # network net-number

Defines the directly connected networks that run IGRP.

6 . 

2948G-L3(config-router)# exit

2948G-L3(config)#

Returns to global configuration mode.

7 . 

2948G-L3(config)# router eigrp autonomous-system-number

2948G-L3(config-router)#

Defines EIGRP as the IP routing protocol.

The autonomous system number is the autonomous system to which this switch router belongs.

8 . 

2948G-L3(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.

9 . 

2948G-L3(config-router)# exit

2948G-L3(config)#

Returns to global configuration mode.

10 . 

2948G-L3(config)# router ospf process-ID

2948G-L3(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.

11 . 

2948G-L3(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 used to compare a given address with interface addressing to determine whether OSPF will use this interface.

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

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

12 . 

2948G-L3(config-router)# Ctrl-Z

2948G-L3#

Returns to privileged EXEC mode.

13 . 

2948G-L3# 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.

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 group membership of IP multicast groups and flood multicast packets only to those ports where group members reside.

A principle component of IP multicast is the Internet Group Membership Protocol (IGMP). With IGMP, a class D address can dynamically register an individual host in a multicast group. Hosts identify their 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.

The routing protocols that the switch router uses to discover multicast groups and build routes for each group follow:

The Catalyst 2948G-L3 switch router supports interoperability with routers configured for Distance Vector Multicast Routing Protocol (DVMRP).

Note The 2948G-L3 switch router supports Cisco Group Management Protocol (CGMP) server functionality.

About 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:

Configuring IP Multicast Routing

To configure IP multicast routing, use the following steps beginning in global configuration mode.

Step Command Purpose

1 . 

2948G-L3(config)# ip multicast-routing

Enables IP multicast on the switch router.

2 . 

2948G-L3(config)# interface f1

2948G-L3(config-if)#

Enters interface configuration mode to configure the Fast Ethernet interface.

3 . 

2948G-L3(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).

4 . 

2948G-L3(config-if)# Ctrl-Z

2948G-L3#

Returns to privileged EXEC mode.

5 . 

2948G-L3# 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 commands.

Command Purpose

show ip mroute

Shows the complete multicast routing table.

show ip mroute count

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

Step Command Purpose
1

2948G-L3(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.

2

2948G-L3(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.

3

2948G-L3(config)# interface f1

2948G-L3(config-if)#

Enters interface configuration mode to configure the Fast Ethernet interface.

4

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

Enters a unique hexadecimal IPX network number (up to 8 numbers in length) for each interface.

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

5

2948G-L3(config-if)# Ctrl-Z

2948G-L3#

Returns to privileged EXEC mode.

6

2948G-L3# copy running-config startup-config

Saves configuration changes to NVRAM.

Monitoring and Verifying IPX Operation

The argument number is the number of the Novell network to which that interface is attached. Novell packets received on an interface that does not have a Novell network number are ignored.

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 f1

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 the 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: Fri Apr 14 09:49:38 PDT 2000
Copyright 1989 - 2000©Cisco Systems Inc.