|
|
This chapter describes networking protocol configurations for your 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 references. This chapter includes the following sections:
The following global configurations are also required:
Layer 3 switching supports the routing protocols listed and described below.
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.
Table 6-1 shows an example of the Cisco IOS commands used to configure routing protocols to run on a Fast Ethernet interface.
| Step | Command | Description | ||
|---|---|---|---|---|
| | From global configuration mode, enter Ethernet interface configuration mode to configure a particular Fast Ethernet interface. | ||
| | |||
| | Exit interface configuration mode and step back one level to global configuration mode. | ||
|
| Use the switch router rip command to define RIP as the routing protocol and start the RIP routing process. | ||
|
| The network command 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. | ||
| | Use the router igrp command to define IGRP as the IP routing protocol. The autonomous system number is the autonomous system to which this switch router belongs. | ||
|
| The network command defines the directly connected networks that run IGRP. | ||
| | Use the router eigrp command to define EIGRP as the IP routing protocol. The autonomous system number is the autonomous system to which this switch router belongs. | ||
| | Use the network command to define the directly connected networks that run EIGRP. The network number is the number of the network that is advertised by this switch router. | ||
| | Use the router ospf command to define 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. | ||
| | The network area command is a way of assigning an interface to a specific area.
| ||
| | Save your configuration changes to NVRAM. |
Once IP routing is configured, you can monitor and troubleshoot the protocol operation using the commands in Table 6-2.
| Command | Displays |
|---|---|
show ip protocol | |
show ip route | 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 | 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. |
debug ip rip | |
debug lss ipucast events | errors | reload | Updates sent to the interface module for the IP switching control layer. |
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:
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:
Table 6-3 shows an example of how to configure IP multicast routing.
| Step | Command | Description |
|---|---|---|
| 1 | | From global configuration mode, enable IP multicast on the switch router. |
| 2 | | Enter Ethernet interface configuration mode to configure the Fast Ethernet interface. |
| 3 | | Assign an IP address and subnet mask to the interface. |
| 4 | | |
| 5 | | Return to privileged EXEC mode. |
| 6 | | Save your configuration changes to NVRAM. |
Once IP multicast routing is configured, you can monitor and troubleshoot its operation using the commands in Table 6-4.
| Command | Displays |
|---|---|
show ip mroute | Complete multicast routing table |
show ip mroute count | Combined statistics of packets processed by the RP and the Ethernet interface modules |
debug lss ipmcast events | errors | reload | Updates sent to the interface module for the IP switching control layer |
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.
Since 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 with 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.
The serial interface does not have a MAC address. It uses the default Novell node address, which is the MAC address of the first activated interface.
Step 1 Start the IPX routing process.
Step 2 Enable load sharing if appropriate for your network.
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).
Table 6-5 shows an example of how to enable Novell IPX routing, and configure an interface.
| Step | Command | Description |
|---|---|---|
| 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 | | Allow load sharing over parallel metric paths to the destination. The maximum number of parallel paths is 2; the default number is 1. |
| 3 | | Enter Ethernet interface configuration mode to configure the Fast Ethernet interface. |
| 4 | | Each interface must have a unique hexadecimal IPX network number (up to 8 numbers in length). |
| 5 | | Return to privileged EXEC mode. |
| 6 | | Save your configuration changes to NVRAM. |
Once IPX routing is configured, you can monitor and troubleshoot the protocol operation using the commands in Table 6-6.
| Command | Displays |
|---|---|
show ipx cache | |
show ipx interfaces | |
show ipx interface fa x/0/z | Status and parameters for the specified Fast Ethernet IPX interface |
show ipx route | Contents of the IPX routing table |
show ipx servers | 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 | Number and type of IPX packets transmitted and received, as well as the number of broadcasts, SAPs, and routing packets received |
debug ipx routing activity | Information about RIP update packets |
debug ipx sap | Information about SAP update packets |
Refer to "Comprehensive Configuration Examples," for switch router configuration examples.
AppleTalk refers to the Apple network protocol architecture. Layer 3 switching software supports AppleTalk Phase 1 and AppleTalk Phase 2. For AppleTalk Phase 2, Layer 3 switching software support both extended and nonextended networks.
AppleTalk Enhanced IGRP provides automatic redistribution. By default, AppleTalk Routing Table Maintenance Protocol (RTMP) routes are automatically redistributed into Enhanced IGRP, and AppleTalk Enhanced IGRP routes are automatically redistributed into RTMP. If desired, you can turn off redistribution. You can also completely turn off AppleTalk Enhanced IGRP and AppleTalk RTMP either on the device or on its individual interfaces.
Interfaces that are configured for AppleTalk can be configured to use either RTMP, Enhanced IGRP, or both. If two neighboring routers are configured to use both RTMP and Enhanced IGRP, the Enhanced IGRP routing information supersedes the RTMP information, however, both routers continue to send RTMP routing updates. This feature allows you to control the excessive bandwidth usage of RTMP.
Apple Update-based Routing Protocol (AURP) can be enabled on a tunnel interface.
The AppleTalk protocol architecture requires that security measures be implemented at higher application levels. Layer 3 switching supports AppleTalk distribution lists, allowing control of routing updates on a per-interface basis.
To prevent any possible corruption of the AARP table in any AppleTalk node that is performing address gleaning through Media Access Control (MAC), Layer 3 switching AppleTalk does not forward packets with local source and destination network addresses.
To enable AppleTalk routing, first enable it on the router, and then configure it on each interface. All routers in a network or data link must agree on the cable range, default zone, and zone list. After an address and a zone name are assigned, the interface is enabled for packet processing.
For more detailed instructions on AppleTalk configuration, see the Cisco IOS Command Reference.
To enable AppleTalk routing, use the procedure in Table 6-7.
| Step | Command | Description | ||
|---|---|---|---|---|
| | Enable AppleTalk routing in the switch router with the default RTMP routing protocol. | ||
|
| From the global configuration mode, enter Ethernet interface configuration mode to configure the Gigabit Ethernet interface. | ||
| Router(config-if)#appletalk cable-range 100-105 | |||
| | |||
| | Return to privileged EXEC mode. | ||
| | Save your configuration changes to NVRAM. |
After you assign the address and zone names, the interface attempts to verify them with another operational router on the connected network. If there are any discrepancies, the interface does not become operational. If there are no neighboring operational routers, the device assumes the interface's configuration is correct, and the interface becomes operational.
Now that you have configured the networking protocols for your switch router, see "Bridging Configurations."
![]()
![]()
![]()
![]()
![]()
![]()
![]()
Posted: Wed Aug 2 15:40:12 PDT 2000
Copyright 1989-2000©Cisco Systems Inc.