Professional Documents
Culture Documents
summarization) EIGRP
Interior EIGRP
Gateway
Routing EIGRP
EIGRP
FutureTech
R&D
EIGRP
49147 CNM
www.sybex.com/go/CiscoProGuidetoInternetworking or www.lammle.com.
up-to-the-minute
EIGRP
:
EIGRP
Variable-length subnet masking (VLSM) Dependant Modules (PDMs) : load balancing Protocol EIGRP
EIGRP Interior Gateway Routing Protocol (IGRP),EIGRP topology EIGRP dynamic neighbor EIGRP distance vector EIGRP Diffused
standard distance vector protocol DUAL EIGRP
topology EIGRP
discontiguous
Updates EIGRP
protocols
link state routers Multiple Network-Layer Protocol Support EIGRP IP, AppleTalk Internet Packet Exchange (IPX) Protocol Dependent Modules (PDMs) EIGRP
network layer protocols IP Seamless (OSPF), Connectivity EIGRP Open shortest path first 2 OSPF
LAN WAN WAN point-to-point links non-broadcast multiaccess (NBMA) topology EIGRP OSPF EIGRP WAN EIGRP WAN Sophisticated Metric EIGRP IGRP 32-bit 16-bit IGRP granularity path Unequal Metric Load Balancing EIGRP load balancing Multicast and Unicast EIGRP multicast and unicast broadcast RIPv1 IGRP multicast EIGRP 224.0.0.10 Neighbor Discovery/Recovery Mechanism Hello packets unreachable hello packets
EIGRP
packets
Finite
State ) loop-free
Machine paths
5.1 router
AD
Feasible
Distance
(FD)
FD loopSuccessor 5.2 FD core loop-free path feasible successor AD successor route distribution routers routers
5.2
EIGRP
FutureTech
EIGRP
FastEthernet interface
EIGRP
RnD4 RnD4
10
? RnD4
10.10.40.0/24
RnD1
AD
RnD2 ( 1. RnD4 2. 3. 4. 5.
FD Route Costs
RnD4
10 10 30 30 40
Core2 Core1
FD Core1 AD FD RnD1 AD
Core1 30
20 1
RnD2 AD Core1 AD 8 FD
6. RnD1 FD 7. RnD2
38
Core1
11
AD RnD2 RnD2 FD
10.10.40.0/24
RnD1
RnD1 Core1 FD Core1
feasible successor
FD RnD2
AD AD
FD
40 feasible successor
RnD2
38
12
successor
feasible successor
route FD EIGRP
router loop-free
Update
13
acknowledgment
(ACK)
hello
EIGRP
14
FutureTech s
RnD
1. 2.
hello hello
15
3. 4.
hello RnD2
RnD2 2 ACK
RnD5
bit
RnD5 core 1
RnD5 RnD5
Tables
Routing
EIGRP
16
EIGRP ) EIGRP Hello packet Hello packets adjacent neighbor neighbor s Hello packet Adjacency
EIGRP reliable transport protocol (RTP) , sequence numbers queued packets, round-trip timers EIGRP out-of-order packet
17
roundtrip
timers
Topology
FutureTech EIGRP) topology Topology EIGRP RnD5 RnD2 topology distance vector
loops
5.2) (RnD2
(FD)
FD
18
topology
Core1
: recomputing
feasible
successor
19
table routing 3 table
topology
EIGRP EIGRP neighbor table DUAL algorithm EIGRP delay bandwidth cost 2 distance) AD (advertise distance) 2 topology table FD cost next hop neighbor
EIGRP neighbor table, neighbor table neighbor table topology cost FD(feasible AD cost
20
EIGRP
EIGRP
Core2
EIGRP
Core1
System
Number (Share)
AS Internet Assigned Numbers Authority (IANA) AS AS 64,512 IP Address Stub Transit Autonomous System Stub Stub AS IGP ( RIP, IGRP AS (
EIGRP)
21
AS BGP NonAS AS
EIGRP
5.4
EIGRP EIGRP
RnD1
IP address
Show ip interface brief RnD1#sh ip interface brief Interface IP-Address OK? Method Status Protocol FastEthernet0/0 10.0.0.6 YES manual up up FastEthernet0/1 10.1.0.1 YES manual up up
RnD1
22
Seria10/0/0 unassigned YES unset administratively down down Seria10/1/0 unassigned YES unset administratively down down Loopback0 10.1.1.1 YES manual up up EIGRP RnD1 RnD1 (config)#router eigrp 65000 RnD1 (config-router)#network 10.1.1.0 RnD1 (config-router)#network 10.1.0.0 RnD1 (config-router)#network 10.0.0.0 Network RnD1 running configuration RnD1#sh running-config Building configuration . . . Current configuration : 779 bytes ! version 12.4 Enabling EIGRP 161 service timestamps debug datetime msec service timestamps log datetime msec no service password-encryption ! hostname Router1 [output cut] router eigrp 65000 network 10.0.0.0 auto-summary
Routing
23
RnD1 (config-router)#network 10.0.0.4 0.0.0.3 RnD1 (config-router)#network 10.1.0.0 0.0.0.3 RnD1 (config-router)#network 10.1.1.0 0.0.0.255 RnD1 (config-router)#no auto-summary
IP-EIGRP(Default-IP-Routing-Table:65000): Neighbor 10.0.0.6 not on common subnet for FastEthernet0/1 IP-EIGRP(Default-IP-Routing-Table:65000): Neighbor 10.1.0.1 not on common subnet for FastEthernet0/0 interface fa0/1,fa0/2 ip address
Core1(config)#interface range fa0/1 - 2 Core1(config-if-range)#no switchport Core1(config)#interface fa0/1 Core1(config-if)#ip address 10.0.0.5 255.255.255.252 Core1(config-if)#no shut Core1(config-if)#interface fa0/2 Core1(config-if)#ip address 10.0.0.9 255.255.255.252 Core1(config-if)#no shut
EIGRP Switch Core1 interface fa0/20 ip address EIGRP AS 65000 network auto-summary Core1(config-if)#interface fa0/20 Core1(config-if)#no switchport Core1(config-if)#ip address 10.0.0.1 255.255.255.252
24
Core1(config-if)#no shut Core1(config)#ip routing Core1(config)#router eigrp 65000 Core1(config-router)#network 10.0.0.0 255.255.255.252 Core1(config-router)#network 10.0.0.4 255.255.255.252 Core1(config-router)#network 10.0.0.8 255.255.255.252 Core1(config-router)#no auto-summary vlan interface access Core1(config)#int range fa0/3 - 4 Core1(config-if-range)#switchport Core1(config-if-range)#switchport access vlan 3 % Access VLAN does not exist. Creating vlan 3
Core2 interface fa0/20 fa0/3-4 Core2(config)#interface range fa0/3 - 4 Core2(config-if-range)#no switchport Core2(config)#interface fa0/3 Core2(config-if)#ip address 10.0.0.13 255.255.255.252 Core2(config-if)#no shut Core2(config-if)#int fa0/4 Core2(config-if)#ip add 10.0.0.17 255.255.255.252 Core2(config-if)#no shut Core2(config-if)#interface fa0/20 Core2(config-if)#no switchport Core2(config-if)#ip address 10.0.0.2 255.255.255.252 Core2(config-if)#no shut EIGRP AS 65000 auto-summary Core2(config)#router eigrp 65000 Core2(config-router)#network 10.0.0.0 0.0.0.3
25
Core2(config-router)#network 10.0.0.12 0.0.0.3 Core2(config-router)#network 10.0.0.16 255.255.255.252 Core1(config-router)#no auto-summary interface fa0/1,fa0/2 vlan 2 Core2(config)#interface range fa0/1 - 2 Core2(config-if-range)#switchport access vlan 2 % Access VLAN does not exist. Creating vlan 2 3 RnD2, RnD3, RnD4 RnD2(config)#interface fa0/0 RnD2(config-if)#ip address 10.0.0.10 255.255.255.252 RnD2(config-if)#no shut RnD2(config)#interface fa0/1 RnD2(config-if)#ip address 10.1.0.2 255.255.255.252 RnD2(config-if)#no shut RnD2(config-if)#interface lo0 RnD2(config-if)#ip address 10.1.2.1 255.255.255.0 RnD2(config-if)#no shut RnD2(config-router)#no auto RnD2(config-router)#network 10.0.0.8 0.0.0.3 RnD2(config-router)#network 10.1.0.0 0.0.0.3 RnD2(config-router)#network 10.1.2.0 0.0.0.255 RnD2(config-router)#no auto-summary RnD3(config)#interface fa0/1 RnD3(config-if)#ip address 10.0.0.14 255.255.255.252 RnD3(config-if)#no shut RnD3(config-if)#interface fa0/0 Enabling EIGRP 165 RnD3(config-if)#ip address 10.2.0.1 255.255.255.252 RnD3(config-if)#no shut RnD3(config-if)#interface l00 RnD3(config-if)#ip address 10.2.1.1 255.255.255.0
26
RnD3(config-if)#no shut RnD3(config)#router eigrp 65000 RnD3(config-router)#network 10.0.0.12 0.0.0.3 RnD3(config-router)#network 10.2.0.0 0.0.0.3 RnD3(config-router)#network 10.2.1.0 0.0.0.255 RnD3(config-router)#no auto-summary RnD4(config)#interface fa0/1 RnD4(config-if)#ip address 10.0.0.18 255.255.255.252 RnD4(config-if)#no shut RnD4(config-if)#interface fa0/0 RnD4(config-if)#ip address 10.2.0.2 255.255.255.252 RnD4(config-if)#no shut RnD4(config-if)#interface l00 RnD4(config-if)#ip address 10.2.2.1 255.255.255.0 RnD4(config-if)#no shut RnD4(config)#router eigrp 65000 RnD4(config-router)#network 10.2.0.0 0.0.0.3 RnD4(config-router)#network 10.0.0.18 0.0.0.3 RnD4(config-router)#network 10.2.2.0 0.0.0.255 RnD4(config-router)#no auto-summary RnD4 11 network 10.0.0.12/30 RnD4 2 metric RnD4 cost RnD4#sh ip route Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2 E1 - OSPF external type 1, E2 - OSPF external type 2 i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2 ia - IS-IS inter area, * - candidate default, U - per-user static route o - ODR, P - periodic downloaded static route
27
Gateway of last resort is not set 10.0.0.0/8 is variably subnetted, 11 subnets, 2 masks D 10.0.0.8/30 [90/33280] via 10.0.0.17, 00:00:38, FastEthernet0/1 D 10.0.0.12/30 [90/30720] via 10.2.0.1, 00:00:38, FastEthernet0/0 166 Chapter 5 n Advanced Distance Vector Protocols [90/30720] via 10.0.0.17, 00:00:38, FastEthernet0/1 C 10.2.0.0/30 is directly connected, FastEthernet0/0 D 10.2.1.0/24 [90/156160] via 10.2.0.1, 00:00:38, FastEthernet0/0 D 10.1.2.0/24 [90/161280] via 10.0.0.17, 00:00:38, FastEthernet0/1 C 10.2.2.0/24 is directly connected, Loopback0 D 10.1.1.0/24 [90/161280] via 10.0.0.17, 00:00:39, FastEthernet0/1 D 10.0.0.0/30 [90/30720] via 10.0.0.17, 00:00:39, FastEthernet0/1 D 10.1.0.0/30 [90/35840] via 10.0.0.17, 00:00:39, FastEthernet0/1 D 10.0.0.4/30 [90/33280] via 10.0.0.17, 00:00:39, FastEthernet0/1 C 10.0.0.16/30 is directly connected, FastEthernet0/1
EIGRP
EIGRP
CPU
stub router
route summarization
28
bandwidth
Load Maximum
transmission
unit
(MTU)
MTU
5 5
MTU
Delay , K4
K1 Load,K3
K5=0
29
Metric = K1 * Bandwidth + [(K2 * Bandwidth) / (256-load)] + K3 * Delay K2=0 K1=K3=1 Metric = 1*Bandwidth + [(0 * Bandwidth) / (256-load)] + 1 * Delay Metric = bandwidth + delay K5 0 Metric = metric * [K5 / (reliability + K4)]
Hello-packet ( K1 )
K K3 K K
EIGRP
EIGRP
256 EIGRP
30
107
256
EIGRP
Default Routing
EIGRP
EIGRP EIGRP
31
RnDEdge
EIGRP
RnD2, -
192.168.10.0; RnD2
RnDEdge 192.168.10.0
32
(
IOS
, EIGRP
Interior Gateway Routing Protocol (IGRP) routing information protocol (RIP) 0.0.0.0.0.0.0.0 , EIGRP 0.0.0.0.0.0.0.0 , 0.0.0.0 EIGRP, 0.0.0.0. 0.0.0.0 ( 0.0.0.0 0.0.0.0 ) EIGRP, subnet , mask classful mask
Summary Routes
classful classful
33
EIGRP EIGRP:
subnet subnet
(Subnet)
Subnet
Subnet
34
n mask subnet
8 subnet (23 = 8)
mask 3 /24
172.16.23.0/24 23 = 8 subnet
/24
/21
Mask ,
ip address mask
subnet
mask IOS
EIGRP
Automatic Summarization
EIGRP EIGRP
35
classful
subnet
no EIGRP
auto-summary EIGRP
Summary Route
ip
summary-address eigrp interface
eigrp
5.1
ip summary-address
5.1
ip summary-address eigrp
36
(AS)
Query
Query IOS nu110 IOS 172.16.16.0/21
nu110
37
query ( )
query
hub
router
stub router
router
38
stub router
, EIGRP peer
router
stub
hub router
stub hub
stub router
stub
EIGRP
eigrp
stub
39
5.2 5.2 Receiveonly stub router receive-only EIGRP autonomous system(AS) Connecte connected d EIGRP only
eigrp stub
Static Summary
EIGRP
ip
40
, except
EIGRP
classful,
, hub router ,
ip classless ip classless
spoke router
hub router
41
spoke router,
query (
SIA),
Load Balance
Cost
IP
maximumrouter 1
6 16 4
IOS
maximum-path. load
balancing
42
Unequal-Cost Load Balancing EIGRP EIGRP Unequal-Cost load balancing 1 Load Balancing
5000
FD
FD
load balancing AD
43
5.6
R&D unequalunequal-cost load balancing (wan) RnDA A topology RnDC RnDA RnDA 5.3
A A
44
5.3 A A A
topology 35 20 35
variance
RnDA 40
variance
unequal-cost 2 FD FD 40 ? Unequal-cost
FD
FD
15
wan EIGRP
45
wan OSPF
interface
wan EIGRP
50
subinterface EIGRP bandwidth (T1 ) ip as-number 100 artificially low T1 64 Kbps subinterface
perinterface bandwidth-percent eigrp as-number percent interface AS percent EIGRP routing-policy Cisco IOS point-to-point subinterfaces ( interface serial ) implementations T1 ( 1.544 Mbps) 56 bandwidth
46
(CIR) point-to-point (
ATM
Interface Multipoint
4 sites
47
CIR
site 1 site
50
point-to-point site
site site
Site CIR multipoint site site site CIR site EIGRP interface 100 Kbps * 5 = 500 Kbps
48
site
point-to-point
topology
Point-to-Point Connections Site CIR 250 Kbps CIR 100 Kbps 5.8
5.8 Point-to-Point WAN Routing
ISP
5 site
interface
site
49
site
EIGRP 25 Kbps
50 Kbps 50 EIGRP
ip bandwidth-percent eigrp as-number percent interface EIGRP point-to-point topology interface subinterface EIGRP 200 packet EIGRP frame relay network packet EIGRP 50 Kbps provisioned 100 Kbps 50-50
EIGRP
show ip eigrp
RnD1#show ip eigrp neighbors IP-EIGRP neighbors for process 65000 H Address Interface Hold Uptime SRTT RTO Q Seq sec) (ms) Cnt Num 1 10.1.0.2 Fa0/1 10 1d00h 1 200 0 32 0 10.0.0.5 Fa0/0 13 1d00h 49 294 0 69
50
Upti me Smoo thed EIGRP round -trip time (RTO) (SRT T) RTO packet retransmitting Queu e count 0
hello
retransmission timeout
51
Seq Num show ip eigrp topology topology interface Router1 ID 65000 EIGRP 10.0.0.6 show ip eigrp ID EIGRP
RnD1#show ip eigrp topology IP-EIGRP Topology Table for AS(65000)/ID(10.0.0.6) Codes: P - Passive, A - Active, U - Update, Q - Query, R - Reply, r - reply Status, s - sia Status P 10.0.0.8/30, 2 successors, FD is 30720 via 10.0.0.5 (30720/28160), FastEthernet0/0 via 10.1.0.2 (30720/28160), FastEthernet0/1 P 10.0.0.12/30, 1 successors, FD is 33280 via 10.0.0.5 (33280/30720), FastEthernet0/0 P 10.2.0.0/30, 1 successors, FD is 35840 via 10.0.0.5 (35840/33280), FastEthernet0/0 P 10.2.1.0/24, 1 successors, FD is 161280 via 10.0.0.5 (161280/158720), FastEthernet0/0 P 10.1.2.0/24, 1 successors, FD is 156160 via 10.1.0.2 (156160/128256), FastEthernet0/1 P 10.2.2.0/24, 1 successors, FD is 161280 via 10.0.0.5 (161280/158720), FastEthernet0/0 P 10.0.0.0/30, 1 successors, FD is 30720 via 10.0.0.5 (30720/28160), FastEthernet0/0 P 10.1.1.0/24, 1 successors, FD is 128256 via Connected, Loopback0 P 10.1.0.0/30, 1 successors, FD is 28160 Codes: P - Passive, A - Active, U - Update, Q - Query, R - Reply,
52
r - reply Status, s - sia Status via Connected, FastEthernet0/1 P 10.0.0.4/30, 1 successors, FD is 28160 via Connected, FastEthernet0/0 P 10.0.0.16/30, 1 successors, FD is 33280 via 10.0.0.5 (33280/30720), FastEthernet0/0 EIGRP 5.5 5.5 show ip eigrp topology Code Description Passi ve Passive (P) Activ e (A) Upda ( packet update) te (U) packet update Quer y Active state (Q): packet query Reply (R) packet reply status Stuck EIGRP -inactive (SIA) status
53
successor
output
EIGRP
RnD1#show ip route eigrp 10.0.0.0/8 is variably subnetted, 11 subnets, 2 masks D 10.0.0.8/30 [90/30720] via 10.1.0.2, 1d00h, FastEthernet0/1 [90/30720] via 10.0.0.5, 1d00h, FastEthernet0/0 D 10.0.0.12/30 [90/33280] via 10.0.0.5, 23:26:05, FastEthernet0/0 D 10.2.0.0/30 [90/35840] via 10.0.0.5, 23:23:58, FastEthernet0/0 D 10.2.1.0/24 [90/161280] via 10.0.0.5, 23:22:57, FastEthernet0/0 D 10.1.2.0/24 [90/156160] via 10.1.0.2, 1d00h, FastEthernet0/1 D 10.2.2.0/24 [90/161280] via 10.0.0.5, 23:19:07, FastEthernet0/0 D 10.0.0.0/30 [90/30720] via 10.0.0.5, 1d00h, FastEthernet0/0 D 10.0.0.16/30 [90/33280] via 10.0.0.5, 23:21:43, FastEthernet0/0 RnD1#show ip route Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
54
E1 - OSPF external type 1, E2 - OSPF external type 2 i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2 ia - IS-IS inter area, * - candidate default, U - per-user static route o - ODR, P - periodic downloaded static route Gateway of last resort is not set 10.0.0.0/8 is variably subnetted, 11 subnets, 2 masks D 10.0.0.8/30 [90/30720] via 10.1.0.2, 1d00h, FastEthernet0/1 [90/30720] via 10.0.0.5, 1d00h, FastEthernet0/0 D 10.0.0.12/30 [90/33280] via 10.0.0.5, 23:26:13, FastEthernet0/0 D 10.2.0.0/30 [90/35840] via 10.0.0.5, 23:24:07, FastEthernet0/0 D 10.2.1.0/24 [90/161280] via 10.0.0.5, 23:23:06, FastEthernet0/0 D 10.1.2.0/24 [90/156160] via 10.1.0.2, 1d00h, FastEthernet0/1 D 10.2.2.0/24 [90/161280] via 10.0.0.5, 23:19:17, FastEthernet0/0 C 10.1.1.0/24 is directly connected, Loopback0 D 10.0.0.0/30 [90/30720] via 10.0.0.5, 1d00h, FastEthernet0/0 C 10.1.0.0/30 is directly connected, FastEthernet0/1 C 10.0.0.4/30 is directly connected, FastEthernet0/0 D 10.0.0.16/30 [90/33280] via 10.0.0.5, 23:21:53, FastEthernet0/0 EIGRP summary external ( EIGRP 90 bandwidth plus EIGRP 10.0.0.12 3 hop D internal external EIGRP [90/30720] EIGRP (FD) RIP RIP least-cost EIGRP topology
D EX
55
3 hop
RIP Hops
EIGRP EIGRP
90 10.1.0.2 EIGRP
RIP
topology
output
10.0.0.8/30 Cisco
23 interface
output 0 26
nu110 interface
subnet ( loop
56
RnD1#show ip protocols Routing Protocol is eigrp 65000 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 EIGRP maximum hopcount 100 EIGRP maximum metric variance 1 Redistributing: eigrp 65000 EIGRP NSF-aware route hold timer is 240s Automatic network summarization is not in effect Maximum path: 4 Routing for Networks: 10.0.0.4/30 10.1.0.0/30 10.1.1.0/24 Routing Information Sources: Gateway Distance Last Update 10.1.0.2 90 23:19:26 10.0.0.5 90 23:19:26 Distance: internal 90 external 170 Output EIGRP EIGRP show ip protocols
57
hop
variance K
EIGRP
EIGRP EIGRP
K (
EIGRP
mask
AB
EIGRP
EIGRP
EIGRP
show ip eigrp interfaces show ip eigrp interfaces EIGRP Router1#show ip eigrp interfaces IP-EIGRP interfaces for process 65000
interface
58
Xmit Queue Mean Pacing Time Multicast Pending Interface Peers Un/Reliable SRTT Un/Reliable Flow Timer Routes Fa0/0 1 0/0 49 0/1 248 0 Fa0/1 1 0/0 1 0/1 50 0 L00 0 0/0 0 0/1 0 0 5.6 Column Interface Peers Xmit Queue Un/Reliable Mean SRTT Pacing Time Un/Reliable Multicast Flow Timer Pending Routes show ip eigrp traffic show ip eigrp traffic Router1#show ip eigrp traffic IP-EIGRP Traffic Statistics for AS 65000 Hellos sent/received: 81853/65407 Updates sent/received: 30/31 Queries sent/received: 2/6 output Description Interface EIGRP
EIGRP
Packet interface )
59
Replies sent/received: 6/2 Acks sent/received: 33/30 Input queue high water mark 2, 0 drops SIA-Queries sent/received: 0/0 SIA-Replies sent/received: 0/0 Hello Process ID: 164 PDM Process ID: 162
EIGRP EIGRP EIGRP EIGRP stub routers variance EIGRP AS EIGRP summarization unequal-cost load balancing Wan Cisco EIGRP EIGRP
ISP
BGP