Professional Documents
Culture Documents
EIGRP Part 1
Review
Neighbor Adjacencies and
EIGRP Reliability
EIGRP Metric
DUAL
Basic EIGRP Configuration
Passive-Interfaces
Summarization
Default Route
Materials
Book:
Implementing Cisco IP Routing
(ROUTE) Foundation Learning
Guide: Foundation learning for the
ROUTE 642-902 Exam
By Diane Teare
Book
ISBN-10: 1-58705-882-0
ISBN-13: 978-1-58705-882-0
eBook
ISBN-10: 0-13-255033-4
ISBN-13: 978-0-13-255033-8
Review
ProtocolDependent
Modules
EIGRP Packet
Types Hello
Packet
Hello Protocol
11
Hello Protocol
12
13
EIGRP Packet
Types Query
and Reply
Packets
14
DUAL: An Introduction
J. J. Garcia-Luna-Aceves
15
Or holdtime expires
.
16
17
Administrative Distance
We will discuss Administrative
Distance in more detail in a
later chapter.
Later in this chapter, you
learn how to configure EIGRP
summary routes.
18
19
20
21
Start
Stop
Start
Stop
No ACK Returned
22
Queue countThe number of EIGRP packets (update, query, and reply) waiting
in the queue to be sent out.
If this value is constantly higher than 0, a congestion problem might exist.
0 = no EIGRP packets in the queue.
Seq NumThe sequence number of the last update, query, or reply packet that
was received from this neighbor.
A sequence number is assigned to each reliable packet.
An explicit ACK is required for that sequence number.
23
Start
EIGRP Reliability
RTOThe amount of time, in milliseconds, that the
router waits for an acknowledgment before
retransmitting a reliable packet from the
retransmission queue to a neighbor.
Updates, queries and replies are sent reliably.
A sequence number is assigned and an explicit ACK
is returned for each sequence number.
Stop
No ACK Returned
EIGRP Reliability
Update 100
Update 101
(in queue)
Multicast Flow
Timer expires
e101
t
a
d
Up
ACK
Upda
No A te100
CK R
eceiv
ed
R3#Potential
show ip problem
eigrp interfaces
When a neighbor
is slow
not acknowledge
R3#multicast, the router will retransmit the packet as a unicast.
This allows reliable multicasts to continue and speeds up convergence without
waiting for peers on lower speed links.
Multicast flow timer - Determines how long a router should wait for an ACK to
be received before switching from multicast to unicast.
Calculation is based on RTO and SRTT (Cisco proprietary)
25
10.0.0.18
Version 12.3/1.2,
10.0.0.14
Version 12.3/1.2,
10.0.0.5
Version 12.3/1.2,
10.0.0.9
Version 12.3/1.2,
1
0
Hold Uptime
SRTT
(sec)
(ms)
Se0/3
13 01:03:55
24
Retrans: 2, Retries: 0
Se0/2
14 01:04:08
29
Retrans: 1, Retries: 0
Se0/0
13 01:09:52 607
Retrans: 0, Retries: 0
Se0/1
12 01:10:19
60
Retrans: 0, Retries: 0
RTO
Q Seq Type
Cnt Num
200 0 5
200
3642
13
360
21
R3#
B
Updated
Updated
EIGRP
Neighbor
Table
EIGRP
Neighbor
Table
Hello, I am Router B.
Updated
EIGRP
Topology
Table
Successor
Updated
IP
Routing
Table
Updated
EIGRP
Topology
Table
Successor
Updated
IP
Routing
Table
27
Router-ID
Router(config)# router eigrp as
Router(config-router)# router-id ip-address
EIGRP Router ID is an IP address used to uniquely identify an
EIGRP router.
1. Use the IP address configured with the EIGRP router-id
command.
2. Highest IP address of any of its loopback interfaces.
3. Highest active IP address of any of its physical interfaces.
28
29
The Metric
Metric
By default, K1 and K3 are set to 1, and K2, K4, and K5 are set to 0.
The result is that only the bandwidth and delay values are used in
the computation of the default composite metric.
Reliability and Load are optional metrics.
MTU is NOT a metric, never has been, never will be.
31
Metric
R1# show ip protocols
Routing Protocol is eigrp 1
Outgoing update filter list for all interfaces is not set
Incoming update filter list for all interfaces is not set
Default networks flagged in outgoing updates
Default networks accepted from incoming updates
EIGRP metric weight K1=1, K2=0, K3=1, K4=0, K5=0
<output omitted>
K1
K2
K3
K4
K5
32
Metric Calculation
34
DUAL
DUAL Concepts
Diffusing Update Algorithm is the algorithm used by
EIGRP.
Determines:
best loop-free path
loop-free backup paths (which can be used immediately)
DUAL also provides the following:
Fast convergence
Minimum bandwidth usage with bounded updates
DUAL uses several terms that are discussed in more detail
throughout this section:
Successor
Feasible distance
Feasible successor
Reported distance or advertised distance
Feasible condition or feasibility condition
36
FD = 6,500,000
Which router is
the successor?
Network X
R1
S0/0
S0/1
FD = 3,500,000
R3
RD = 3,000,000
Example 1
RD = 6,000,000
R2
FD = 6,500,000
Is R2 a feasible
successor?
Network X
R1
S0/0
S0/1
FD = 3,500,000
R3
Successor
RD = 3,000,000
Example 1
RD = 6,000,000
NOT a Feasible
Successor
R2
FD = 6,500,000
Network X
R1
S0/0
S0/1
FD = 3,500,000
R3
Successor
RD = 3,000,000
40
Example 1
RX
RD = 6,000,000
R2
NOT a Feasible
Successor
Network X
R1
S0/0
S0/1
R3
Successor
RD = 3,000,000
Example 1
RD = 6,000,000
R2
R1
S0/0
RX
NOT a Feasible
Successor
Network X
S0/1
R3
Successor
RD = 3,000,000
42
FD = 5,500,000
Feasible
Successor?
Network X
R1
S0/0
S0/1
FD = 4,500,000
R3
Successor
RD = 3,000,000
Example 2
RD = 4,000,000
R2
FD = 5,500,000
Feasible
Successor
Network X
R1
S0/0
S0/1
FD = 4,500,000
R3
Successor
RD = 3,000,000
44
RtrD
RtrB
Replies
RtrE
RtrA
X
RtrF
RtrC
RtrG
45
Step 1
10.1.1.0/24
A
(1)
(1)
D
(2)
(2)
(1)
(1)
The topology
46
Step 2
10.1.1.0/24
A
(1)
(1)
D
(2)
(2)
(1)
(1)
Successor
Feasible Successor (AD is less than FD)
47
Step 3
10.1.1.0/24
Unusable
(1)
Successor still
via Router A
Unreachable
B
(2)
(2)
Successor still
via Router B
(1)
(1)
Unusable
Step 4
10.1.1.0/24
A
Unusable
(1)
Successor still
via Router A
D
(2)
(2)
(1)
R
Successor still
via Router B
(1)
Unusable
Router D: DUAL receives a reply from Router C indicating no change to the path to 10.1.1.0/24
DUAL removes the query pending flag from Router C.
DUAL stays Active on network 10.1.1.0/24, awaiting a reply from Router E to its query (q).
Router E: there is no FS to network 10.1.1.0/24, because the AD from Router C (3) is not less
than the original FD (also 3).
DUAL generates a query to Router C.
DUAL marks Router C as query pending (q).
49
Router C: DUAL marks the path to network 10.1.1.0/24 through Router E as Unusable.
Step 5
10.1.1.0/24
A
(1)
Successor still
via Router A
D
(2)
(2)
Successor still
via Router B
(1)
(1)
Converged
Router D: DUAL stays active on network 10.1.1.0/24, awaiting a reply from Router E (q).
Router E: DUAL receives a reply from Router C indicating no change.
It removes the query flag from Router C.
It calculates a new FD and installs a new successor route in the topology table.
It changes the route to network 10.1.1.0/24 from Active to Passive (converged).
50
Step 6
10.1.1.0/24
A
(1)
Successor still
via Router A
Converged
B
D
(2)
(2)
(1)
R
Successor still
via Router B
(1)
Converged
Step 7
10.1.1.0/24
A
(1)
Successor still
via Router A
B
(2)
(2)
Successor still
via Router B
(1)
(1)
Router D: Two successor routes are in the topology table for network 10.1.1.0/24.
Both successor routes are listed in the routing table, and equal-cost load balancing is in
effect.
The network is stable and converged.
Successor
No Feasible Successors
52
Our Topology
54
Preconfigs
R1
interface FastEthernet0/0
ip address 192.168.10.1 255.255.255.0
!
interface Serial0/0
bandwidth 1544
ip address 10.0.0.1 255.255.255.252
clock rate 64000
!
interface Serial0/1
bandwidth 1544
ip address 10.0.0.5 255.255.255.252
56
R2
interface FastEthernet0/0
ip address 192.168.20.1 255.255.255.0
!
interface Serial0/0
bandwidth 1544
ip address 10.0.0.2 255.255.255.252
!
interface Serial0/1
bandwidth 1544
ip address 10.0.0.9 255.255.255.252
clock rate 64000
57
R3
interface FastEthernet0/0
ip address 192.168.30.1 255.255.255.0
!
interface Serial0/0
bandwidth 1544
ip address 10.0.0.6 255.255.255.252
clockrate 64000
!
interface Serial0/1
bandwidth 1544
ip address 10.0.0.10 255.255.255.252
!
interface Serial0/2
bandwidth 1544
ip address 10.0.0.13 255.255.255.252
clockrate 64000
!
interface Serial0/3
bandwidth 1424
ip address 10.0.0.17 255.255.255.252
clockrate 64000
58
R4
interface FastEthernet0/0
ip address 172.16.1.1 255.255.255.0
!
interface Serial0/0
bandwidth 1544
ip address 10.0.0.14 255.255.255.252
!
interface FastEthernet0/1
ip address 172.16.2.1 255.255.255.0
!
interface Serial0/1
bandwidth 1424
ip address 10.0.0.18 255.255.255.252
59
Configuring
EIGRP R1
R1(config)# router
R1(config-router)#
R1(config-router)#
R1(config-router)#
eigrp 1
network 10.0.0.0 0.0.0.3
network 10.0.0.4 0.0.0.3
network 192.168.10.0
Configuring
EIGRP
R2(config)# router
R2(config-router)#
R2(config-router)#
R2(config-router)#
eigrp 1
network 10.0.0.0 0.0.0.3
network 10.0.0.8 0.0.0.3
network 192.168.20.0
R3(config)# router
R3(config-router)#
R3(config-router)#
R3(config-router)#
R3(config-router)#
R3(config-router)#
eigrp 1
network
network
network
network
network
R4(config)# router
R4(config-router)#
R4(config-router)#
R4(config-router)#
eigrp 1
network 10.0.0.12 0.0.0.3
network 10.0.0.16 0.0.0.3
network 172.16.0.0
10.0.0.4 0.0.0.3
10.0.0.8 0.0.0.3
10.0.0.12 0.0.0.3
10.0.0.16 0.0.0.3
192.168.30.0
61
Outputs
62
Outputs
10.0.0.18
10.0.0.14
10.0.0.5
10.0.0.9
Se0/3
Se0/2
Se0/0
Se0/1
Hold Uptime
SRTT
(sec)
(ms)
13 00:17:37
24
14 00:17:50
29
14 00:23:35 607
12 00:24:01
60
RTO
Seq
200
200
3642
360
Cnt
0
0
0
0
Num
5
4
13
21
63
Outputs
10.0.0.18
Version 12.3/1.2,
10.0.0.14
Version 12.3/1.2,
10.0.0.5
Version 12.3/1.2,
10.0.0.9
Version 12.3/1.2,
1
0
Hold Uptime
SRTT
(sec)
(ms)
Se0/3
13 01:03:55
24
Retrans: 2, Retries: 0
Se0/2
14 01:04:08
29
Retrans: 1, Retries: 0
Se0/0
13 01:09:52 607
Retrans: 0, Retries: 0
Se0/1
12 01:10:19
60
Retrans: 0, Retries: 0
RTO
Q Seq Type
Cnt Num
200 0 5
200
3642
13
360
21
R3#
Outputs
Interface
Se0/1
Se0/0
Se0/2
Se0/3
R3#
Peers
1
1
1
1
Xmit Queue
Un/Reliable
0/0
0/0
0/0
0/0
Mean
SRTT
60
607
29
24
Pacing Time
Un/Reliable
0/15
0/15
0/15
0/17
Multicast
Flow Timer
299
3031
143
50
Pending
Routes
0
0
0
0
65
66
Outputs
Feasible distance
Reported Distance
is less than
Feasible distance
successor
feasible successor
Outputs
successor
successor
non-feasible
successor
Passive Interfaces
Passive Interfaces
Two ways to prevent EIGRP from speaking sending EIGRP messages
on an interface.
1. Enable EIGRP on the interface using the EIGRP network command
and use the the passive-interface command.
Does NOT send any EIGRP messages on the interface.
No Hellos, thus no neighbor adjacency
Prefix (interface subnet) is still advertised on other interfaces
2. Do NOT enable EIGRP on the interface,
Advertise about the connected route using route redistribution
using the redistribute connected configuration command.
More complicated
Less popular
70
Passive
Interfaces
Interface
Se0/0
Se0/1
Fa0/0
Peers
1
1
0
Xmit Queue
Un/Reliable
0/0
0/0
0/0
Mean
SRTT
34
31
0
Pacing Time
Un/Reliable
0/15
0/15
0/10
Multicast
Flow Timer
163
147
0
Pending
Routes
0
0
0
71
Passive
Interfaces
R1(config)# router eigrp 1
R1(config-router)# passive-interface fa 0/0
R1# show ip eigrp inter
IP-EIGRP interfaces for process 1
Interface
Se0/0
Se0/1
R1#
Peers
1
1
Xmit Queue
Un/Reliable
0/0
0/0
Mean
SRTT
32
28
Pacing Time
Un/Reliable
0/15
0/15
Multicast
Flow Timer
151
139
Pending
Routes
0
0
No longer a neighbor.
Must include network command.
72
Passive
Interfaces
Verifying
73
Passive
Interfaces
R4(config)# router
R4(config-router)#
R4(config-router)#
R4(config-router)#
eigrp 1
passive-interface default
no passive-interface ser 0/0
no passive-interface ser 0/1
74
Summarization
75
Summarization
Benefits:
Smaller routing tables
Reduces Query scope:
EIGRP Query stops at a router which has a summary route
that includes the subnet listed in the Query, but not the
specific route listed in the Query
EIGRP supports summarization on any router in the network
Trade-offs:
Can cause suboptimal routing
Packets destined for inaccessible destinations will flow to the
summarizing router before being discarded
Note: If a packet matches two routes in the routing table, the best
match will be the route with the longest-bit-match, the route with the
longer prefix-length (subnet mask).
76
77
78
Disabling
Automatic
Summarization
172.16.0.0/16
R3# show ip route
192.168.10.0/24 is variably subnetted, 3 subnets, 2 masks
D
192.168.10.0/24 is a summary, 01:08:35, Null0
C
192.168.10.4/30 is directly connected, Serial0/0/0
C
192.168.10.8/30 is directly connected, Serial0/0/1
D
172.16.0.0/16 [90/2172416] via 192.168.10.5, 01:08:30, Serial0/0/0
C
192.168.1.0/24 is directly connected, FastEthernet0/0
Disabling
Automatic
Summarization
172.16.0.0/16
172.16.0.0/16
R3# show ip route
192.168.10.0/24 is variably subnetted, 3 subnets, 2 masks
D
192.168.10.0/24 is a summary, 01:08:35, Null0
C
192.168.10.4/30 is directly connected, Serial0/0/0
C
192.168.10.8/30 is directly connected, Serial0/0/1
D
172.16.0.0/16 [90/2172416] via 192.168.10.5, 01:08:30, Serial0/0/0
C
192.168.1.0/24 is directly connected, FastEthernet0/0
80
Disabling
Automatic
Summarization
172.16.0.0/16
R3# show ip route
<output omitted>
D
81
C
D
C
D
C
D
83
D
C
D
C
C
C
D
84
172.16.0.0/16
C
C
D
D
D
C
172.16.0.0/16
Why does R3s routing table now have two equal-cost paths to
172.16.3.0/24?
Shouldnt the best path only be through R1 with the 1544-Mbps link?
85
Disabling
Automatic
Summarization
172.16.0.0/16
172.16.0.0/16
R3# show ip route
<output omitted>
D
86
Manual Summarization
87
Manual
Summarization
88
Manual
Summarization
192.168.1.0/24,
192.168.2.0/24,
192.168.3.0/24
192.168.1.0/24,
192.168.2.0/24,
192.168.3.0/24
R1#
D
D
D
show ip route
192.168.1.0/24 [90/2172416] via 192.168.10.6, 02:07:38, S0/0/1
192.168.2.0/24 [90/2297856] via 192.168.10.6, 00:00:34, S0/0/1
192.168.3.0/24 [90/2297856] via 192.168.10.6, 00:00:18, S0/0/1
R2#
D
D
D
show ip route
192.168.1.0/24 [90/3014400] via 192.168.10.10, 02:08:50, S0/0/1
192.168.2.0/24 [90/3139840] via 192.168.10.10, 00:01:46, S0/0/1
192.168.3.0/24 [90/3139840] via 192.168.10.10, 00:01:30, S0/0/1
Configure EIGRP
Manual
Summarization
192.168.0.0/22
192.168.0.0/22
91
Verify EIGRP
Manual
Summarization
192.168.0.0/22
192.168.0.0/22
92
Default Route
93
EIGRP Default
Route
Default Route
Redistribute
default static
route in
EIGRP
updates
Unlike RIP and OSPF, EIGRP does not propagate a 0.0.0.0 0.0.0.0 by
default.
Two ways to propagate a static default route in EIGRP:
Redistribute static
Network command
redistributestaticwill redistribute all static routes by default.
94
EIGRP Default
Route
Default Route
Redistribute
default static
route in
EIGRP
updates
EIGRP Default
Route
Default Route
96
EIGRP Default-network
Default Route
Redistribute
default static
route in
EIGRP
updates
97
EIGRP Defaultnetwork
default-network
ip default-network network-number
network-number - Network of last-resort gateway that will be announced to all
other routers.
R2s routing table:
10.0.0.0 will be shown as the gateway of last resort
This network is propagated in EIGRP as a gateway of last resort
If a subnet is specified IOS will install a static route in the running-config
98
A few commands
99
100
debug ip eigrp
traffic
Displays the types of
EIGRP packets sent
and received by the
router on which this
command is executed.
See example in Chapter
2 for a detailed
explanation of this
output.
101
debug ip eigrp
Displays general
debugging information.
See example in
Chapter 2 for a detailed
explanation of this
output.
102
103