Beruflich Dokumente
Kultur Dokumente
Objectives
Describe the background and history of Enhanced Interior Gateway Routing Protocol (EIGRP). Examine the basic EIGRP configuration commands and identify their purposes. Calculate the composite metric used by EIGRP. Describe the concepts and operation of DUAL. Describe the uses of additional configuration commands in EIGRP.
IGRP EIGRP Message format Packet types Hello protocol PDM RTP Algorithm Routing update AD Authentication Summary route Propagate default route
Introduction to EIGRP
EIGRP
The main purpose in Cisco's development of EIGRP was to create a classless version of IGRP. EIGRP includes several features that are not commonly found in other distance vector routing protocols like RIP (RIPv1 and RIPv2) and IGRP. These features include: 1. Reliable Transport Protocol (RTP) 2. Bounded Updates 3. Diffusing Update Algorithm (DUAL) 4. Establishing Adjacencies 5. Neighbor and Topology Tables Although EIGRP may act like a link-state routing protocol, it is still a distance vector routing protocol.
H c vi n m ng Bach Khoa - Website: www.bkacad.com 5
EIGRP
Roots of EIGRP: IGRP
Developed in 1985 to overcome RIPv1s limited hop count Distance vector routing protocol Metrics used by IGRP bandwidth (used by default) delay (used by default) reliability load Discontinued support starting with IOS 12.2(13)T & 12.2(R1s4)S
IGRP to EIGRP
Traditional Distance Vector Routing Protocols Use the Bellman-Ford or Ford-Fulkerson algorithm. Age out routing entries and uses periodic updates. Keep track of only the best routes; the best path to a destination network. When a route becomes unavailable, the router must wait for a new routing update. Slower convergence due to holddown timers. Enhanced Distance Vector Routing Protocol: EIGRP Uses the Diffusing Update Algorithm (DUAL) Does not age out routing entries nor uses periodic updates. Maintains a topology table separate from the routing table, which includes the best path and any loopfree backup paths. When a route becomes unavailable, DUAL will use a backup path if one exists in the topology table. Faster convergence due to the absence of holddown timers and a system of coordinated route calculations.
7
The Autonomous System (AS) Number specifies the EIGRP routing process. Unlike RIP, Cisco routers can run multiple instances of EIGRP. The AS number is used to track multiple instances of EIGRP. EIGRP Parameters contains Weights Hold time
10
11
12
Used by EIGRP to transmit and receive EIGRP packets Characteristics of RTP Involves both reliable & unreliable delivery of EIGRP packet Reliable delivery requires acknowledgment from destination Unreliable delivery does not require an acknowledgement from destination Packets can be sent Unicast Multicast Using address 224.0.0.10
H c vi n m ng Bach Khoa - Website: www.bkacad.com 13
EIGRPs 5 Packet Types Hello packets Used to discover & form adjacencies with neighbors
H c vi n m ng Bach Khoa - Website: www.bkacad.com 14
Update packets Used to propagate routing information Update packets are sent as a multicast when required by multiple routers, or as a unicast when required by only a single router. Acknowledgement packets Used to acknowledge receipt of update, query & reply packets EIGRP acknowledgement packets are always sent as an unreliable unicast.
15
16
Hello Protocol
Purpose of Hello Protocol
To discover & establish adjacencies with neighbor routers Characteristics of hello protocol Time interval for sending hello packet Most networks it is every 5 seconds Multipoint non broadcast multi-access networks Unicast every 60 seconds
Holdtime This is the maximum time router should wait before declaring a neighbor down Default holdtime 3 times hello interval
17
EIGRP Bounded Updates EIGRP only sends update when there is a change in route status Partial update A partial update includes only the route information that has changed the whole routing table is NOT sent Bounded update When a route changes, only those devices that are impacted will be notified of the change EIGRPs use of partial bounded updates minimizes use of bandwidth
H c vi n m ng Bach Khoa - Website: www.bkacad.com 18
DUAL: An Introduction
Diffusing Update Algorithm (DUAL) Purpose EIGRPs primary method for preventing routing loops Advantage of using DUAL Provides for fast convergence time by keeping a list of loop-free backup routes
H c vi n m ng Bach Khoa - Website: www.bkacad.com 19
Administrative Distance
Administrative Distance (AD) Defined as the trustworthiness of the source route EIGRP default administrative distances Summary routes = 5 Internal routes = 90 Imported routes = 170
20
Authentication
Authentication EIGRP can Encrypt routing information Authenticate routing information Note: Authentication does not encrypt the router's routing table
21
22
Network Topology Topology used is the same as previous chapters with the addition of an ISP router
H c vi n m ng Bach Khoa - Website: www.bkacad.com 23
EIGRP
24
25
EIGRP autonomous system number actually functions as a process ID Process ID represents an instance of the routing protocol running on a router Example
26
The router eigrp command The global command that enables eigrp is router eigrp autonomous-system All routers in the EIGRP routing domain must use the same process ID number (autonomous-system number)
H c vi n m ng Bach Khoa - Website: www.bkacad.com 27
The Network Command Functions of the network command Enables interfaces to transmit & receive EIGRP updates Includes network or subnet in EIGRP updates Example Router(config-router)#network network-address
H c vi n m ng Bach Khoa - Website: www.bkacad.com 28
29
Verifying EIGRP
Verifying EIGRP EIGRP routers must establish adjacencies with their neighbors before any updates can be sent or received Command used to view neighbor table and verify that EIGRP has established adjacencies with neighbors is show ip eigrp neighbors
30
RTO
Seq Num 6 4
Verifying EIGRP
The show ip protocols command is used to verify that EIGRP is enabled
33
34
command is also used to verify EIGRP EIGRP routes are denoted in a routing table by the letter D By default , EIGRP automatically summarizes routes at major network boundary
35
Introducing the Null0 Summary Route Null0 is not a physical interface In the routing table summary routes are sourced from Null0 Reason: routes are used for advertisement purposes EIGRP will automatically include a null0 summary route as child route when 2 conditions are met: 1. At least one subnet is learned via EIGRP 2. Automatic summarization is enabled
H c vi n m ng Bach Khoa - Website: www.bkacad.com 36
R3s routing table shows that the 172.16.0.0/16 network is automatically summarized by R1 & R3
37
38
EIGRP Composite Metric & the K Values EIGRP uses the following values in its composite metric Bandwidth, delay, reliability, and load The composite metric used by EIGRP formula used has values K1 K5 K1 & K3 =1 all other K values = 0
tos is always set to 0; at one time it was Ciscos intent to use it, but it was never implemented
39
40
41
42
The EIGRP metric can be determined by examining the: bandwidth & delay
45
46
47
Delay = 2,560
Fa0/0 192.168.72.1/24
Bandwidth = 25,600
S0/1 192.168.64.6/30 S0/0 192.168.64.2/30
Delay = 512,000
S0/0 192.168.64.5/30
Bandwidth = 1,657,856
Fa0/0 192.168.1.1/24
EIGRP AS 100
H c vi n m ng Bach Khoa - Website: www.bkacad.com
Delay = 2,560
Fa0/0 192.168.72.1/24
Bandwidth = 25,600
S0/1 192.168.64.6/30 S0/0 192.168.64.2/30
Delay = 512,000
S0/0 192.168.64.5/30
Bandwidth = 1,657,856
Fa0/0 192.168.1.1/24
EIGRP AS 100
H c vi n m ng Bach Khoa - Website: www.bkacad.com
Administrative Distance / Metric SanJose2#show ip route D 192.168.72.0/24 [90/2172416] via 192.168.64.6, 00:28:26, Serial0
H c vi n m ng Bach Khoa - Website: www.bkacad.com
51
DUAL Concepts
The Diffusing Update Algorithm (DUAL) is used to prevent looping: Successor Feasible Distance (FD) Feasible Successor (FS) Reported Distance (RD) or Advertised Distance (AD) Feasible Condition or Feasibility Condition (FC)
H c vi n m ng Bach Khoa - Website: www.bkacad.com 53
Successor The best least cost route to a destination found in the routing table Feasible distance(FD) The lowest calculated metric along a path to a destination network H c vi n m ng Bach Khoa - Website: www.bkacad.com
54
Feasible Successor
Feasible Successor This is a loop free backup route to same destination as successor route
55
56
57
58
Reported distance (RD) The metric that a router reports to a neighbor about its own cost to that network Feasibility Condition (FC) Met when a neighbors RD is less than the local routers FD to the same destination network
59
172.30.1.0
60
RTZ is NOT Feasible Successor, FC: RD220 not< FD31 Neighbor X In Topology Table Y In Routing Table Z Not in Topology Table
61
Advertised or Destination Feasible Dist. Reported. Dist. 172.30.1.0 40 30 172.30.1.0 31 21 172.30.1.0 230 220
RTY is successor with a computed cost of 31. 31 is the Feasible Distance (FD). RTX is a feasible successor because its RD is less than or equal to the FD. - RTXs RD (30) is less than the FD (31).
H c vi n m ng Bach Khoa - Website: www.bkacad.com 62
Example of a Loop
Cost=19
Cost=70
RTZ has a Reported Distance to RTA of 220. Since its Reported Distance is greater than RTAs own Feasibile Distance of 31, RTA cant trust that the route RTZ takes is somehow back through itself.
63
DUAL Concepts
Topology Table: Successor & Feasible Successor EIGRP Topology table Viewed using the show ip eigrp topology command Contents of table include: all successor routes all feasible successor routes
H c vi n m ng Bach Khoa - Website: www.bkacad.com 64
DUAL Concepts
65
DUAL Concepts
Topology Table: No Feasible Successor A feasible successor may not be present because the feasibility condition may not be met In other words, the reported distance of the neighbor is greater than or equal to the current feasible distance
H c vi n m ng Bach Khoa - Website: www.bkacad.com 66
X
Queries Replies
172.30.1.0
X
?
RTZ was previously NOT a Feasible Successor, FC: RD220 not< FD31 or FD40, but now there is no Sucessor
RTZ replies that it still has a route to 172.30.1.0, while RTX and RTY reply that they do not. Current Successor is now RTZ, with a FD of 230 and a RD of RTZ= 220.
H c vi n m ng Bach Khoa - Website: www.bkacad.com 67
Finite State Machine (FSM) An abstract machine that defines a set of possible states something can go through, what event causes those states and what events result form those states FSMs are used to describe how a device, computer program, or routing algorithm will react to a set of input events
68
DUAL FSM Selects a best loop-free path to a destination Selects alternate routes by using information in EIGRP tables
69
70
71
72
73
74
The Null0 Summary Route By default, EIGRP uses the Null0 interface to discard any packets that match the parent route but do not match any of the child routes EIGRP automatically includes a null0 summary route as a child route whenever both of the following conditions exist One or subnets exists that was learned via EIGRP Automatic summarization is enabled
H c vi n m ng Bach Khoa - Website: www.bkacad.com 75
Automatic Summarization
Disabling Automatic Summarization The auto-summary command permits EIGRP to automatically summarize at major network boundaries The no auto-summary command is used to disable automatic summarization This causes all EIGRP neighbors to send updates that will not be automatically summarized this will cause changes to appear in both routing tables topology tables
76
77
78
79
Manual Summarization
Manual Summarization Manual summarization can include supernets Reason: EIGRP is a classless routing protocol & include subnet mask in update Command used to configure manual summarization Router(config-if)# ip summary-address eigrp asnumber network-address subnet-mask
80
Manual Summarization
81
Manual Summarization
82
EIGRP Default Routes quad zero static default route Can be used with any currently supported routing protocol Is usually configured on a router that is connected a network outside the EIGRP domain EIGRP & the Quad zero static default route Requires the use of the redistribute static command to disseminate default route in EIGRP updates
H c vi n m ng Bach Khoa - Website: www.bkacad.com 83
84
85
86
Fine-Tuning EIGRP
EIGRP bandwidth utilization
By default, EIGRP uses only up to 50% of interface bandwidth for EIGRP information The command to change the percentage of bandwidth used by EIGRP is Router(config-if)#ip bandwidth-percent eigrp as-number percent
87
88
89
90
Extra:Authentication
MD5 cryptographic checksums are the only authentication supported in
EIGRP, which on first consideration might seem less flexible than RIPv2 and OSPF, which support both MD5 and clear-text passwords. However, clear-text password authentication should be used only when a neighboring device does not support the more secure MD5. Because EIGRP will be spoken only between two Cisco devices, this situation will never arise. The steps for configuring EIGRP authentication are Step 1. Define a key chain with a name. Step 2. Define the key or keys on the key chain. Step 3. Enable authentication on an interface and specify the key chain to be used. Step 4. Optionally configure key management.
91
Extra:Authentication
92
Let's look at an example, there are three ways to get to Network X, from Router E: (Note: metrics incorrectly not including outgoing interface to Net X.)
E-B-A with a metric of 30 E-C-A with a metric of 20 <<<-- Minimum Metric E-D-A with a metric of 45
H c vi n m ng Bach Khoa - Website: www.bkacad.com 93
variance 2
This increases the minimum metric to 40 (2 * 20 = 40). EIGRP includes all the routes that have a metric less than or equal
to 40, and are feasible successors.
E-B-A with a metric of 30 <<<-- Also below 2*20 E-C-A with a metric of 20 <<<-- Minimum Metric E-D-A with a metric of 45
EIGRP doesn't use path E-D-A because it has a metric of 45, and it's not a feasible successor. Can have up to 6 unequal cost paths.
H c vi n m ng Bach Khoa - Website: www.bkacad.com 95
Summary
Describe the background and history of EIGRP Describe the features and operation of EIGRP Examine the basic EIGRP configuration commands and identity their purposes Calculate the composite metric used by EIGRP Describe the concepts and operation of DUAL Describe the uses of additional configuration commands in EIGRP
97
98