cc/td/doc/product/l3sw/8540/rel_12_0/w5_13
hometocprevnextglossaryfeedbacksearchhelp
PDF

Table of Contents

Networking Protocol Configurations

Networking Protocol Configurations

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 further information about the commands used in this chapter, refer to the command reference publications in the Cisco IOS documentation set and to "Command Reference."

This chapter includes the following sections:


Note You are at Step 4 in the suggested process for configuring your switch router (see Table 2-1). You should have already completed general interface configurations and now be ready to proceed with configuring networking and routing protocols.

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 any of the protocol configuration guides in the public domain.

IP routing is enabled by default on the switch router. For IP routing, make the following configurations for the interface:

The following global configurations are also required:

Supported Routing Protocols

Layer 3 switching supports the routing protocols listed and described below. For more information on these routing protocols, see the Cisco IOS Network Protocols Configuration Guide.

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.

Border Gateway Protocol

Border Gateway Protocol (BGP) is an Exterior Gateway Protocol (EGP) that allows you to set up an interdomain routing system to automatically guarantee the loop-free exchange of routing information between autonomous systems. In BGP each route consists of a network number, a list of autonomous systems that information has passed through (called the autonomous system path), and a list of other path attributes.

Layer 3 switching supports BGP version 4, including classless interdomain routing (CIDR). CIDR lets you reduce the size of your routing tables by creating aggregate routes resulting in supernets. CIDR eliminates the concept of network classes within BGP and supports the advertising of IP prefixes. CIDR routes can be carried by OSPF, EIGRP, and RIP.


Note Layer 3 switching does not support the Next Hop Resolution Protocol (NHRP).

Configuring IP Routing Protocols

Table 5-1 shows an example of the Cisco IOS commands used to configure routing protocols to run on a Fast Ethernet interface.


Table 5-1: Configuring Routing Protocols
Step Command Purpose

1 . 

Router(config)# interface fa x/0/z

From global configuration mode, enter Ethernet interface configuration mode to configure a particular Fast Ethernet interface.

2 . 

Router(config-if)# ip address ip-address subnet-mask

Assign an IP address and subnet mask to the interface.

3 . 

Router(config-if)# exit

Exit interface configuration mode and step back one level to global configuration mode.

4 . 

Router(config)# router rip

Use the switch router rip command to define RIP as the routing protocol and start the RIP routing process.

5 . 

Router(config-router)# network net-number

Use the network command to specify 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.

6 . 

Router(config-router)# exit

Return to global configuration mode.

7 . 

Router# router igrp autonomous-system-number

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.

8 . 

Router(config-router) # network net-number

Use the network command to define the directly connected networks that run IGRP.

9 . 

Router(config-router)# exit

Return to global configuration mode.

10 . 

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

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.

11 . 

Router(config-router)# network net-number

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.

12 . 

Router(config-router)# exit

Return to global configuration mode.

13 . 

Router(config)# router ospf process-id

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.

14 . 

Router(config-router)# network network-address wildcard-mask area area-id

Use the network area command to assign 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.

15 . 

Router(config-router)# Ctrl-Z

Return to privileged EXEC mode.

16 . 

Router# copy running-config startup-config

Save your configuration changes to NVRAM.

Verifying IP Operation

Once IP routing is configured, you can monitor and troubleshoot the protocol operation using the commands in Table 5-2.


Table 5-2: Monitoring and Troubleshooting the Protocol Operation
Command Purpose

show ip protocol

Displays 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

Displays 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

Displays 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

Displays RIP routing updates as the updates are sent and received.

debug lss ipucast events | errors | reload

Displays pdates sent to the interface module for the IP switching control layer.

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 8500 supports interoperability with routers configured for DVMRP.

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

Table 5-3 shows an example of how to configure IP multicast routing.


Table 5-3: Configuring IP Multicast Routing
Step Command Purpose
1

Router(config)# ip multicast-routing

From global configuration mode, enable IP multicast on the switch router.

2

Router(config)# interface fa x/0/z

Enter Ethernet interface configuration mode to configure the Fast Ethernet interface.

3

Router(config-if)# ip address ip-address subnet-mask

Assign an IP address and subnet mask to the interface.

4

Router(config-if)# ip pim [dense-mode |
sparse-mode | sparse-dense-mode]

Enter this command on each interface on which you want to run IP multicast routing. Note that you must indicate dense mode, sparse mode, or sparse-dense mode (for internetworks that include both cases).

5

Router(config-if)# Ctrl-Z

Return to privileged EXEC mode.

6

Router# copy running-config startup-config

Save your configuration changes to NVRAM.

Verifying IP Multicast Operation

Once IP multicast routing is configured, you can monitor and troubleshoot its operation using the commands in Table 5-4.


Table 5-4: Monitoring and Troubleshooting IP Multicast Operation
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

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 Identifies a node on the network, represented by dotted triplets of 4-digit hexadecimal numbers. The node number is normally the MAC address of the NetWare node or router interface.

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.

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, with a default of one.

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

Table 5-5 shows an example of how to enable Novell IPX routing, and configure an interface.


Table 5-5: Configuring Novell IPX Routing
Step Command Purpose
1

Router(config)# ipx routing [node]

Enable Novell IPX routing and start the IPX routing process. If no node address is specified, the switch router uses the MAC address of the interface.

2

Router(config)# ipx maximum-paths number

Allow load sharing over parallel metric paths to the destination. The maximum number of parallel paths is 2; the default number is 1.

3

Router(config)# interface fa x/0/z

Enter Ethernet interface configuration mode to configure the Fast Ethernet interface.

4

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

Each interface must have a unique hexadecimal IPX network number (up to 8 numbers in length).

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

5

Router(config-if)# Ctrl-Z

Return to privileged EXEC mode.

6

Router# copy running-config startup-config

Save your configuration changes to NVRAM.

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 commands in Table 5-6.


Table 5-6: Monitoring and Troubleshooting IPX Operation
Command Purpose

show ipx cache

Display the contents of the IPX fast-switching cache

show ipx interfaces

Display the status and parameters of the interfaces configured for IPX

show ipx interface fa x/0/z

Display the status and parameters for the specified Fast Ethernet IPX interface

show ipx route

Display the contents of the IPX routing table

show ipx servers

Display 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

Display the 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

Turn on debugging information about RIP update packets

debug ipx sap

Turn on debugging information about SAP update packets

Refer to "Configuration Examples," for switch router configuration examples.

About AppleTalk

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

Configuring AppleTalk

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.

To enable AppleTalk routing, use the procedure in Table 5-7.


Table 5-7: Enabling AppleTalk
Step Command Description

1 . 

Router(config)# appletalk routing router-number

Enable AppleTalk routing in the switch router with the default RTMP routing protocol.

2 . 

Router (config)# interface gi x/0/z

From the global configuration mode, enter Ethernet interface configuration mode to configure the Gigabit Ethernet interface.

3 . 

Router(config-if)# appletalk cable-range range

Establish a range of network numbers available to devices on the interface. Values can be decimal numbers from 0 to 65279. The starting network number must be less than or equal to the ending network number.

4 . 

Router(config-if)# appletalk zone name

Place the interface into a named zone. Multiple zone names can be assigned to one interface with AppleTalk 2. The first zone name is the default zone.

5 . 

Router(config-if)# Ctrl-Z

Return to privileged EXEC mode.

6 . 

Router# copy running-config startup-config

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


hometocprevnextglossaryfeedbacksearchhelp
Posted: Wed Dec 22 14:10:18 PST 1999
Copyright 1989-1999©Cisco Systems Inc.