EIGRP
EIGRP
Enhanced Interior Gateway Routing Protocol
1. What is EIGRP?2. How EIGRP Works3. EIGRP Components4. Neighbor States5. Packet Types6. Route Types7. Metrics (K Values)8. Timers (Default)9. DUAL Algorithm10. Configuration11. Important Commands12. Authentication13. Advanced Concepts
1. What is EIGRP?
EIGRP is a Cisco proprietary Interior Gateway Protocol (IGP) that uses a hybrid of Distance Vector and Link-State concepts. It uses DUAL (Diffusing Update Algorithm) for loop-free routes and fast convergence. IP protocol number 88.
2. How EIGRP Works
- •Routers discover neighbors using Hello packets
- •Maintains a topology table with all routes
- •DUAL algorithm computes loop-free routes
- •Only incremental updates are sent (efficient)
- •Best path installed in the routing table
3. EIGRP Components
| Component | Description |
|---|---|
| Neighbors | Discovered by Hello packets |
| Topology Table | Contains all learned routes |
| Routing Table | Best routes installed |
| DUAL | Diffusing Update Algorithm — loop-free path calculation |
| Feasible Successor | Backup path (loop-free) |
| Reported Distance (RD) | Distance to destination as reported by neighbor |
| Feasible Distance (FD) | RD + Link Cost to the neighbor |
4. Neighbor States
| State | Description |
|---|---|
| Down | No Hello received |
| Init | Hello received, adjacency not yet established |
| 2-Way | Bi-directional communication established |
| Up | Full adjacency formed |
5. Packet Types
| Packet | Purpose |
|---|---|
| Hello | Discover and maintain neighbors |
| Update | Send routing updates |
| Query | Send when route is lost |
| Reply | Reply to a Query |
| ACK | Acknowledge packets |
6. Route Types
| Route Type | AD | Description |
|---|---|---|
| Internal | 90 | Within the same AS |
| External | 170 | Redistributed from another protocol |
| Summary | — | Manually or automatically summarized |
7. Metrics (K Values)
Metric = [K1*BW + (K2*BW)/(256-Load) + K3*Delay] * [K5 / (Reliability + K4)]
| K Value | Default | Description |
|---|---|---|
| K1 | 1 | Bandwidth (in kbps) |
| K2 | 0 | Load (in 1/255ths) |
| K3 | 1 | Delay (in tens of microseconds) |
| K4 | 0 | Reliability (percentage) |
| K5 | 0 | Reliability weight |
Default
Bandwidth + Delay (K1=1, K3=1, others=0). Lower metric = preferred.
8. Timers (Default)
| Timer | Default |
|---|---|
| Hello Interval | 5 sec (LAN), 15 sec (WAN) |
| Hold Time | 15 sec (LAN), 45 sec (WAN) |
| Update Interval (Min) | 0.5 sec |
| Update Interval (Max) | 3 min |
| Active Timer | 3 min |
9. DUAL Algorithm
- •Core of EIGRP
- •Computes loop-free, best path to destination
- •Provides fast convergence
- •Uses feasible successors for backup paths
- •Successor = Best path, Feasible Successor = Backup
10. Configuration
Router R1
R1(config)# router eigrp 100 R1(config-router)# network 192.168.1.0 0.0.0.255 R1(config-router)# network 192.168.2.0 0.0.0.255 R1(config-router)# no auto-summary
Router R2
R2(config)# router eigrp 100 R2(config-router)# network 192.168.2.0 0.0.0.255 R2(config-router)# network 192.168.3.0 0.0.0.255 R2(config-router)# no auto-summary
11. Important Commands
| Command | Purpose |
|---|---|
| show ip eigrp neighbors | Show neighbors |
| show ip eigrp topology | Show Topology Table |
| show ip route eigrp | Show EIGRP routes |
| show ip protocols | Show EIGRP process info |
| show ip eigrp interfaces | Show interfaces |
| show ip eigrp traffic | Show traffic statistics |
| debug ip eigrp packets | Debug EIGRP packets |
| clear ip eigrp neighbors | Clear neighbor adjacency |
12. Authentication
EIGRP supports MD5 authentication. Configured under interface mode.
interface g0/0 ip authentication mode eigrp 100 md5 ip authentication key-chain eigrp EIGRP-KEY key chain EIGRP-KEY key-string cisco123
13. Advanced Concepts
| Concept | Description |
|---|---|
| Variance | Allows multiple paths (up to 6) for load balancing |
| Stub Router | Receives only a default route to reduce updates |
| Passive Interface | Does not form neighbor adjacency (reduces overhead) |
| Route Redistribution | EIGRP can redistribute routes from other protocols |
| EIGRP for IPv6 | Named mode eigrp <AS> is used (same concepts) |