|
|
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:
The following global configurations are also required:
Layer 3 switching supports the following routing protocols.
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.
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 | ||
|---|---|---|---|---|
|
| Defines RIP as the routing protocol and starts the RIP routing process. | ||
|
| 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. | ||
| | Returns to global configuration mode. | ||
| | Defines IGRP as the IP routing protocol. The autonomous system number is the autonomous system to which this switch router belongs. | ||
| | Defines the directly connected networks that run IGRP. | ||
| | Returns to global configuration mode. | ||
| | Defines EIGRP as the IP routing protocol. The autonomous system number is the autonomous system to which this switch router belongs. | ||
| | Defines the directly connected networks that run EIGRP. The network number is the number of the network that is advertised by this switch router. | ||
| | Returns to global configuration mode. | ||
| | 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. | ||
| | Assigns an interface to a specific area.
| ||
| | Returns to privileged EXEC mode. | ||
| | Saves configuration changes to NVRAM. |
| Command | Purpose |
|---|---|
show ip protocol | |
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. |
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.
The routing protocols that the switch router uses to discover multicast groups and build routes for each group follow:
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:
To configure IP multicast routing, use the following steps beginning in global configuration mode.
| Step | Command | Purpose | ||
|---|---|---|---|---|
| | Enables IP multicast on the switch router. | ||
| | Enters interface configuration mode to configure the Fast Ethernet interface. | ||
| | |||
| | Returns to privileged EXEC mode. | ||
| | Saves your configuration changes to NVRAM. |
| Command | Purpose |
|---|---|
show ip mroute | Shows the complete multicast routing table. |
show ip mroute count | Shows the combined statistics of packets processed. |
IPX is a proprietary protocol. Novell IPX can be described as follows:
Novell IPX uses the following protocols and services:
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.
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 1 Start the IPX routing process.
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:
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).
To enable Novell IPX routing and configure an interface, use the following steps beginning in global configuration mode.
| Step | Command | Purpose |
|---|---|---|
| 1 | | 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 | | Allows load sharing over parallel metric paths to the destination. The maximum number of parallel paths is 2; the default number is 1. |
| 3 | | Enters interface configuration mode to configure the Fast Ethernet interface. |
| 4 | | Enters a unique hexadecimal IPX network number (up to 8 numbers in length) for each interface. |
| 5 | | Returns to privileged EXEC mode. |
| 6 | | Saves configuration changes to NVRAM. |
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.
![]()
![]()
![]()
![]()
![]()
![]()
![]()
Posted: Fri Apr 14 09:49:38 PDT 2000
Copyright 1989 - 2000©Cisco Systems Inc.