1 © 2003, cisco systems, inc. all rights reserved. ccna 3 v3.0 module 3 eigrp cisco networking...

49
1 © 2003, Cisco Systems, Inc. All rights reserved. CCNA 3 v3.0 Module 3 EIGRP Cisco Networking Academy

Upload: pauline-hampton

Post on 13-Dec-2015

228 views

Category:

Documents


1 download

TRANSCRIPT

Page 1: 1 © 2003, Cisco Systems, Inc. All rights reserved. CCNA 3 v3.0 Module 3 EIGRP Cisco Networking Academy

1© 2003, Cisco Systems, Inc. All rights reserved.

CCNA 3 v3.0 Module 3 EIGRP

Cisco Networking Academy

Page 2: 1 © 2003, Cisco Systems, Inc. All rights reserved. CCNA 3 v3.0 Module 3 EIGRP Cisco Networking Academy

222© 2003, Cisco Systems, Inc. All rights reserved.

Objectives

• EIGRP concepts

• EIGRP configuration

• Troubleshooting Routing protocols

Page 3: 1 © 2003, Cisco Systems, Inc. All rights reserved. CCNA 3 v3.0 Module 3 EIGRP Cisco Networking Academy

333© 2003, Cisco Systems, Inc. All rights reserved.

EIGRP Design Features

• Rapid Convergence

• Efficient use of bandwidth

• Support for VLSM and CIDR

• Multiple network-layer support

• Independence from routed protocols

Page 4: 1 © 2003, Cisco Systems, Inc. All rights reserved. CCNA 3 v3.0 Module 3 EIGRP Cisco Networking Academy

444© 2003, Cisco Systems, Inc. All rights reserved.

Comparing EIGRP with IGRP

• Comparisons between EIGRP and IGRP fall into the following major categories:

–Compatibility mode – IGRP and EIGRP are compatible with each other.

–Metric calculation – EIGRP scales the metric of IGRP by a factor of 256. That is because EIGRP uses a metric that is 32 bits long, and IGRP uses a 24-bit metric.

–Hop count – IGRP has a maximum hop count of 255 and EIGRP has a maximum hop count limit of 224.

–Automatic protocol redistribution – EIGRP automatically redistributes IGRP routes from the same AS

–Route tagging – EIGRP will tag routes learned from IGRP or any outside source as external because they did not originate from EIGRP routers. IGRP cannot differentiate between internal and external routes.

Page 5: 1 © 2003, Cisco Systems, Inc. All rights reserved. CCNA 3 v3.0 Module 3 EIGRP Cisco Networking Academy

555© 2003, Cisco Systems, Inc. All rights reserved.

EIGRP and IGRP Metric Calculation

Page 6: 1 © 2003, Cisco Systems, Inc. All rights reserved. CCNA 3 v3.0 Module 3 EIGRP Cisco Networking Academy

666© 2003, Cisco Systems, Inc. All rights reserved.

Using EIGRP with IGRP

When configuring EIGRP it is only necessary to configure the classful network number of the subnet the interface belongs to.

Page 7: 1 © 2003, Cisco Systems, Inc. All rights reserved. CCNA 3 v3.0 Module 3 EIGRP Cisco Networking Academy

777© 2003, Cisco Systems, Inc. All rights reserved.

EIGRP Concepts

• Every EIGRP router maintains a topology table for each configured network protocol (IP, IPX).

• All learned routes to a destination are maintained in the topology table.

• The best routes from the topology table are installed into the routing table (similar to OSPF).

Page 8: 1 © 2003, Cisco Systems, Inc. All rights reserved. CCNA 3 v3.0 Module 3 EIGRP Cisco Networking Academy

888© 2003, Cisco Systems, Inc. All rights reserved.

EIGRP Technologies

• Neighbor discovery and recovery (Hello Packets)

• Reliable Transport Protocol (Layer 4)

• DUAL finite-state machine algorithm (Routing Decisions)

• Protocol-dependent modules (PDMs)

• By forming adjacencies, EIGRP routers:

1. Dynamically learn of new routes that join their network

2. Identify routers that become either unreachable or inoperable

3. Rediscover routers that had previously been unreachable

Page 9: 1 © 2003, Cisco Systems, Inc. All rights reserved. CCNA 3 v3.0 Module 3 EIGRP Cisco Networking Academy

999© 2003, Cisco Systems, Inc. All rights reserved.

Building Neighbor Tables

Page 10: 1 © 2003, Cisco Systems, Inc. All rights reserved. CCNA 3 v3.0 Module 3 EIGRP Cisco Networking Academy

101010© 2003, Cisco Systems, Inc. All rights reserved.

Discover Routes

Page 11: 1 © 2003, Cisco Systems, Inc. All rights reserved. CCNA 3 v3.0 Module 3 EIGRP Cisco Networking Academy

111111© 2003, Cisco Systems, Inc. All rights reserved.

EIGRP Technologies

Four key technologies set EIGRP apart from IGRP

– Neighbor discovery and recovery

– Reliable Transport Protocol (RTP)

– PDMs

– DUAL finite-state machine (FSM)

Page 12: 1 © 2003, Cisco Systems, Inc. All rights reserved. CCNA 3 v3.0 Module 3 EIGRP Cisco Networking Academy

121212© 2003, Cisco Systems, Inc. All rights reserved.

Neighbor Discovery/Recovery

• EIGRP routers establish adjacencies with neighbor routers by using small hello packets.

• An EIGRP router assumes that, as long as it is receiving hello packets from known neighbors, those neighbors (and their routes) remain viable.

Page 13: 1 © 2003, Cisco Systems, Inc. All rights reserved. CCNA 3 v3.0 Module 3 EIGRP Cisco Networking Academy

131313© 2003, Cisco Systems, Inc. All rights reserved.

Reliable Transport Protocol

• RTP (Reliable Transport Protocol)

– transport-layer protocol

• EIGRP is protocol-independent; that is, it doesn’t rely on TCP/IP to exchange routing information the way RIP, IGRP, and OSPF do.

• To stay independent of IP, EIGRP uses its own, proprietary transport-layer protocol to guarantee delivery of routing information: RTP. (Don’t confuse with Real-Time Protocol)

Page 14: 1 © 2003, Cisco Systems, Inc. All rights reserved. CCNA 3 v3.0 Module 3 EIGRP Cisco Networking Academy

141414© 2003, Cisco Systems, Inc. All rights reserved.

Protocol Dependent Modules

• PDM (Protocol-dependent module)

• EIGRP is modular

• Different PDMs can be added to EIGRP as new routed protocols are enhanced or developed:

– IPv4, IPv6, IPX, and AppleTalk

Page 15: 1 © 2003, Cisco Systems, Inc. All rights reserved. CCNA 3 v3.0 Module 3 EIGRP Cisco Networking Academy

151515© 2003, Cisco Systems, Inc. All rights reserved.

PDMs

Each PDM is responsible for all functions related to its specific routed protocol.

The IP-EIGRP module is responsible for the following:

– Sending and receiving EIGRP packets that bear IP data

– Notifying DUAL of new IP routing information that is received

– Maintaining the results of DUAL’s routing decisions in the IP routing table

– Redistributing routing information that was learned by other IP-capable routing protocols

Page 16: 1 © 2003, Cisco Systems, Inc. All rights reserved. CCNA 3 v3.0 Module 3 EIGRP Cisco Networking Academy

161616© 2003, Cisco Systems, Inc. All rights reserved.

Diffusing Update Algorithm (DUAL)

• The DUAL finite state machine (FSM) is the routing decision process for EIGRP.

• DUAL tracks all routes advertised by all neighbors.

• DUAL uses the distance information to select the best routes to install into the routing table.

• This distance, or metric is the feasible distance.

• DUAL is the EIGRP distance vector algorithm part of the hybrid routing protocol.

Page 17: 1 © 2003, Cisco Systems, Inc. All rights reserved. CCNA 3 v3.0 Module 3 EIGRP Cisco Networking Academy

171717© 2003, Cisco Systems, Inc. All rights reserved.

DUAL FSM (Finite State Machine)

• DUAL selects alternate routes quickly by using the information in the EIGRP topology tables.

• If a link goes down, DUAL looks for a feasible successor in its neighbor and topology tables.

Page 18: 1 © 2003, Cisco Systems, Inc. All rights reserved. CCNA 3 v3.0 Module 3 EIGRP Cisco Networking Academy

181818© 2003, Cisco Systems, Inc. All rights reserved.

EIGRP Successors and Feasible Successors

• A successor is a neighboring router used for packet forwarding that has a least cost path to a destination, based on the feasible distance, that is guaranteed not to be part of a routing loop.

• Feasible successors are viewed by a router as neighbors that are downstream with respect to the destination.

Page 19: 1 © 2003, Cisco Systems, Inc. All rights reserved. CCNA 3 v3.0 Module 3 EIGRP Cisco Networking Academy

191919© 2003, Cisco Systems, Inc. All rights reserved.

DUAL FSM

• Feasible successors are routes that represent the next lowest-cost paths to a destination without introducing routing loops.

• Feasible successor routes can be used in case the existing route fails; packets to the destination network are immediately forwarded using the feasible successor, which at that point, is promoted to the status of successor.

• If a feasible successor is not found, the route is flagged as Active, or unusable at present.

• Once a feasible successor is found the route is placed back into the Passive state.

Page 20: 1 © 2003, Cisco Systems, Inc. All rights reserved. CCNA 3 v3.0 Module 3 EIGRP Cisco Networking Academy

202020© 2003, Cisco Systems, Inc. All rights reserved.

Calculating a Feasible Successor

• Reported distance is the total metric along a path to a destination network as advertised by an upstream neighbor.

• A feasible successor is a path whose reported distance is less than the feasible distance.

Page 21: 1 © 2003, Cisco Systems, Inc. All rights reserved. CCNA 3 v3.0 Module 3 EIGRP Cisco Networking Academy

212121© 2003, Cisco Systems, Inc. All rights reserved.

EIGRP Successors and Feasible Successors

Page 22: 1 © 2003, Cisco Systems, Inc. All rights reserved. CCNA 3 v3.0 Module 3 EIGRP Cisco Networking Academy

222222© 2003, Cisco Systems, Inc. All rights reserved.

Feasible Successor Route Selection Rules

Page 23: 1 © 2003, Cisco Systems, Inc. All rights reserved. CCNA 3 v3.0 Module 3 EIGRP Cisco Networking Academy

232323© 2003, Cisco Systems, Inc. All rights reserved.

Successors and Feasible Successors

• A passive route is one that is stable and available for use.

• An active route is a route in the process of being recomputed by DUAL.

• Recomputation happens if a route becomes unavailable and DUAL can’t find any feasible successors.

Page 24: 1 © 2003, Cisco Systems, Inc. All rights reserved. CCNA 3 v3.0 Module 3 EIGRP Cisco Networking Academy

242424© 2003, Cisco Systems, Inc. All rights reserved.

Route Tagging with EIGRP

• All external routes are included in the topology table and are tagged with the following information: – Identification number, known as router ID, of the EIGRP

router that redistributed the route into the EIGRP network

– AS number of the destination

– Protocol used in that external network

– Cost or metric received from that external protocol

– Configurable administrator tag

Page 25: 1 © 2003, Cisco Systems, Inc. All rights reserved. CCNA 3 v3.0 Module 3 EIGRP Cisco Networking Academy

252525© 2003, Cisco Systems, Inc. All rights reserved.

Data Structure

The five EIGRP packet types are as follows:

1. Hello (used to discover, verify, and rediscover neighbor routers)

2. Acknowledgment

3. Update

4. Query

5. Reply

Page 26: 1 © 2003, Cisco Systems, Inc. All rights reserved. CCNA 3 v3.0 Module 3 EIGRP Cisco Networking Academy

262626© 2003, Cisco Systems, Inc. All rights reserved.

EIGRP Packet Types

Page 27: 1 © 2003, Cisco Systems, Inc. All rights reserved. CCNA 3 v3.0 Module 3 EIGRP Cisco Networking Academy

272727© 2003, Cisco Systems, Inc. All rights reserved.

Default Hello Intervals and Hold Times for EIGRP

The default hold time is three times the hello interval

Page 28: 1 © 2003, Cisco Systems, Inc. All rights reserved. CCNA 3 v3.0 Module 3 EIGRP Cisco Networking Academy

282828© 2003, Cisco Systems, Inc. All rights reserved.

EIGRP Hello Packets

• 5-second hello:

– broadcast media, such as Ethernet, Token Ring, and FDDI

– point-to-point serial links, such as PPP or HDLC leased circuits, Frame Relay point-to-point subinterfaces, and ATM

– point-to-point subinterfaces

– high bandwidth (greater than T1) multipoint circuits, such as ISDN PRI and Frame Relay

• 60-second hello:

– multipoint circuits T1 bandwidth or slower, such as Frame Relay multipoint interfaces, ATM multipoint interfaces, ATM

– switched virtual circuits, and ISDN BRIs

Page 29: 1 © 2003, Cisco Systems, Inc. All rights reserved. CCNA 3 v3.0 Module 3 EIGRP Cisco Networking Academy

292929© 2003, Cisco Systems, Inc. All rights reserved.

EIGRP Hello packets

• If a neighbor is not heard from for the duration of the hold time, EIGRP considers that neighbor down, and DUAL must step in to reevaluate the routing table.

– By default, the hold time is three times the hello interval, but an administrator can configure both timers as desired.

Page 30: 1 © 2003, Cisco Systems, Inc. All rights reserved. CCNA 3 v3.0 Module 3 EIGRP Cisco Networking Academy

303030© 2003, Cisco Systems, Inc. All rights reserved.

EIGRP Hello packets

• Unlike OSPF routers, EIGRP routers do not need to have the same hello intervals and hold down intervals.

Page 31: 1 © 2003, Cisco Systems, Inc. All rights reserved. CCNA 3 v3.0 Module 3 EIGRP Cisco Networking Academy

313131© 2003, Cisco Systems, Inc. All rights reserved.

Acknowledgement Packets

• Acknowledgement packets, which are “dataless” hello packets, are used to ensure reliable communication.

– Unlike multicast hellos, acknowledgement packets are unicast.

– Acknowledgements can be made by piggybacking on other kinds of EIGRP packets, such as reply packets.

Page 32: 1 © 2003, Cisco Systems, Inc. All rights reserved. CCNA 3 v3.0 Module 3 EIGRP Cisco Networking Academy

323232© 2003, Cisco Systems, Inc. All rights reserved.

Update Packet

Update packets are used when a router discovers a new neighbor.

– An EIGRP router sends unicast update packets to that new neighbor so that it can add to its topology table.

– More than one update packet may be needed to convey all of the topology information to the newly discovered neighbor.

Page 33: 1 © 2003, Cisco Systems, Inc. All rights reserved. CCNA 3 v3.0 Module 3 EIGRP Cisco Networking Academy

333333© 2003, Cisco Systems, Inc. All rights reserved.

Update Packet

• Update packets are also used when a router detects a topology change. In this case, the EIGRP router sends a multicast update packet to all neighbors alerting them to the change.

• All update packets are sent reliably.

Page 34: 1 © 2003, Cisco Systems, Inc. All rights reserved. CCNA 3 v3.0 Module 3 EIGRP Cisco Networking Academy

343434© 2003, Cisco Systems, Inc. All rights reserved.

Query and Reply Packets

• EIGRP routers use query packets whenever it needs specific information from one, or all, of its neighbors.

– A reply packet is used to respond to a query.

Page 35: 1 © 2003, Cisco Systems, Inc. All rights reserved. CCNA 3 v3.0 Module 3 EIGRP Cisco Networking Academy

353535© 2003, Cisco Systems, Inc. All rights reserved.

Query and Reply Packets

• If an EIGRP router loses its successor and cannot find a feasible successor for a route, DUAL places the route in the active state.

– the router multicasts a query to all neighbors, searching for a successor to the destination network.

– Neighbors must send replies that either provide information on successors, or indicate that no successor information is available.

• Queries can be multicast or unicast, while replies are always unicast. Both packet types are sent reliably.

Page 36: 1 © 2003, Cisco Systems, Inc. All rights reserved. CCNA 3 v3.0 Module 3 EIGRP Cisco Networking Academy

363636© 2003, Cisco Systems, Inc. All rights reserved.

EIGRP Configuration

Page 37: 1 © 2003, Cisco Systems, Inc. All rights reserved. CCNA 3 v3.0 Module 3 EIGRP Cisco Networking Academy

373737© 2003, Cisco Systems, Inc. All rights reserved.

EIGRP Route Summarization

• EIGRP automatically summarizes routes at the classful boundary.

• The two routers below will auto-summarize to each other because the 2.1.1.0/24 and 2.2.2.0/24 networks are separated by a 10.1.1.0/30 network.

• This separation of subnets from one major network number by a different major network number is known as discontiguous subnets.

Page 38: 1 © 2003, Cisco Systems, Inc. All rights reserved. CCNA 3 v3.0 Module 3 EIGRP Cisco Networking Academy

383838© 2003, Cisco Systems, Inc. All rights reserved.

EIGRP Automatically Summarizes Based on Class

Page 39: 1 © 2003, Cisco Systems, Inc. All rights reserved. CCNA 3 v3.0 Module 3 EIGRP Cisco Networking Academy

393939© 2003, Cisco Systems, Inc. All rights reserved.

Turning off Auto-Summarization

• To turn off auto-summarization:

Router(config)# router eigrp 1

Router(config-router)# no auto-summary

Page 40: 1 © 2003, Cisco Systems, Inc. All rights reserved. CCNA 3 v3.0 Module 3 EIGRP Cisco Networking Academy

404040© 2003, Cisco Systems, Inc. All rights reserved.

Manual Summarization with EIGRP

With EIGRP, a summary address can be manually configured by configuring a prefix network.

Manual summarization of EIGRP routes is done at interface configuration mode.

Router(config-if)# ip summary-address eigrp 1 2.1.0.0 255.255.0.0

Page 41: 1 © 2003, Cisco Systems, Inc. All rights reserved. CCNA 3 v3.0 Module 3 EIGRP Cisco Networking Academy

414141© 2003, Cisco Systems, Inc. All rights reserved.

Using the ip bandwidth-percent command

Page 42: 1 © 2003, Cisco Systems, Inc. All rights reserved. CCNA 3 v3.0 Module 3 EIGRP Cisco Networking Academy

424242© 2003, Cisco Systems, Inc. All rights reserved.

Verifying EIGRP

Page 43: 1 © 2003, Cisco Systems, Inc. All rights reserved. CCNA 3 v3.0 Module 3 EIGRP Cisco Networking Academy

434343© 2003, Cisco Systems, Inc. All rights reserved.

EIGRP debug Commands

Page 44: 1 © 2003, Cisco Systems, Inc. All rights reserved. CCNA 3 v3.0 Module 3 EIGRP Cisco Networking Academy

444444© 2003, Cisco Systems, Inc. All rights reserved.

Troubleshooting Routing Protocols

1. Analyze the network failure, make a clear problem statement.

2. Gather the facts needed to help isolate possible causes.

3. Consider possible problems based on the facts that have been gathered.

4. Create an action plan based on the remaining potential problems.

5. Implement the action plan, performing each step carefully while testing to see whether the symptom disappears.

6. Analyze the results to determine whether the problem has been resolved. If it has, the process is complete.

7. If the problem has not been resolved, create an action plan based on the next most likely problem in the list. Return to Step 4, change one variable at a time, and repeat the process until the problem is solved.

8. Once the actual cause of the problem is identified, try to solve it.

Page 45: 1 © 2003, Cisco Systems, Inc. All rights reserved. CCNA 3 v3.0 Module 3 EIGRP Cisco Networking Academy

454545© 2003, Cisco Systems, Inc. All rights reserved.

Troubleshooting RIP Configuration

• Layer 1 or Layer 2 connectivity issues exist.

• VLSM subnetting is configured. VLSM subnetting cannot be used with RIPv1

• Mismatched RIPv1 and RIPv2 routing configurations exist.

• Network statements are missing or incorrectly assigned.

• The outgoing interface is down.

• The advertised network interface is down.

Page 46: 1 © 2003, Cisco Systems, Inc. All rights reserved. CCNA 3 v3.0 Module 3 EIGRP Cisco Networking Academy

464646© 2003, Cisco Systems, Inc. All rights reserved.

Troubleshooting IGRP Configuration

Page 47: 1 © 2003, Cisco Systems, Inc. All rights reserved. CCNA 3 v3.0 Module 3 EIGRP Cisco Networking Academy

474747© 2003, Cisco Systems, Inc. All rights reserved.

Troubleshooting EIGRP Configuration

Page 48: 1 © 2003, Cisco Systems, Inc. All rights reserved. CCNA 3 v3.0 Module 3 EIGRP Cisco Networking Academy

484848© 2003, Cisco Systems, Inc. All rights reserved.

Troubleshooting EIGRP Configuration

Page 49: 1 © 2003, Cisco Systems, Inc. All rights reserved. CCNA 3 v3.0 Module 3 EIGRP Cisco Networking Academy

494949© 2003, Cisco Systems, Inc. All rights reserved.

Troubleshooting OSPF Configuration