EIGRP
- IP Protocol 88
- Administrative distance: 90 (D) [Internal], 170 (D EX) [External], 5 [Summary]
- Hybrid distance vector/Link state protocol (Cisco proprietary)
- DUAL - Diffusing Update Algorithm
Adjacency states and process
- Hello and hold intervals do not need to match (5/15 default) (60/180 NBMA/frame relay)
-
224.0.0.10 (multicast hello)
-
Must have same AS to form adjacency
- Ensure neighbors agree on the k value weights
- Authentication has to match if configured
- Two neighbors configured as an EIGRP stub cannot form an adjacency
Hello ->
<- Update
Ack ->
Metrics
- Bandwidth and delay by default
- Cisco routers automatically load balance 4 equal cost paths (configurable up to 16)
- Can perform unequal cost load sharing using the "variance" multiplier
| K-Values | Description | Default | Default Weight |
|---|---|---|---|
| K1 | Bandwidth | Yes | 2 |
| K2 | Load | No | 0 |
| K3 | Delay | Yes | 1 |
| K4 | Reliability | No | 0 |
| K5 | MTU | No | 0 |
Packet Types
5 types:
| Packet | Reliable (RTP) | Notes |
|---|---|---|
| Hello | No | Sent as periodic multicasts (224.0.0.10). Not acknowledged. |
| Ack | No | Empty hello (ie. No data). Acknowledges reliable updates/queries/replies. |
| Update | Yes | Advertises routes. Sent as unicast during initial route exchange otherwise multicast for all other updates (route changes) |
| Query | Yes | Sent when a router loses a successor and has no feasible successor. Used to ask about routes when previous beth path has been lost. Sent as muticast. If no reply received from each neighbor, repeats as unicast up to 16 times. |
| Reply | Yes | Sent in response to query packets |
Incremental updates cannot be anticipated; therefore update, query, and reply packets must be acknowledged by the receiving neighbor.
Feasibility condition
- FD - Feasible distance (from the local router's perspective)
- AD - Advertised distance (also called "RD" or "Reported Distance"). Metric from advertising router's perspective.
- To be considered loop free the AD must be LESS THAN the FD. Only routes that meet this condition can become a feasible successor.
- A route that does not meet the feasibility condition cannot be used in unequal cost load balancing.
Unequal cost load balancing
- Uses
variance"multiplier" for the FD of a route. When the FD of a feasible sucessor is less than the product it will be placed into the RIB. - Takes the best FD and multiplies it by the variance multiplier. Any other path with an FD less than this product is used for load sharing.
- EIGRP does proportional unequal-cost load sharing. A 256k and 384k link will get 60/40 of the traffic (for example) if they are unequally load balanced.
(config-router)# variance 2
EIGRP Stub
- Only advertise connected and summary routes by default
- Stub routers are not queried when a neighbor loses a sucessor route
- Example:
router eigrp 100
eigrp stub receive-only
- Default is
(config-router)# eigrp stub connected summary
receive-only - Prevents router from advertising routes
connected - Permits connected route advertisements
static - Permits redistribution of static routes
summary - Advertises summary routes
Default route origination
- Two options. One is use the the
ip default-networkcommand or two redistribute a static default route. - Redistributing a static default ex:
ip route 0.0.0.0 0.0.0.0 fa0/0
router eigrp 100
redistribute static metric 1544 10 255 1 1500
EIGRP over NBMA
- For frame-relay and the
bandwidthcommand, set the interface bandwidth to lowest CIR multiplied by the number of VCs. - Alternatively use sub-interfaces with bandwidth definitions on each sub-int
Misc Notes
- Main distance vector feature is initial exchange of full route table via unicast update packets
- Stable routes are "passive". Routes are "active" when they lose a sucessor and have no FS. "Actively" searching (querying) neighbors.
- If neighboring router does not have a route when receiving a query, it recursively queries its neighbors.
Command examples
- Basic EIGRP config
router eigrp 100
network 10.0.0.0 0.0.0.3
- Setting bandwidth-percent (50% by default)
(config-if)# ip bandwidth-percent eigrp 100 50
- Manual summarization
(config-if)# ip summary-address eigrp 100 10.1.0.0 255.248.0.0
!
(config-if)# ip summary-address eigrp 100 0.0.0.0 0.0.0.0
- Disable auto-summarization (IOS 15 and below)
(config)# router eigrp 100
(config-router)# no auto-summary
- Adjusting timers
(config-if)# ip hello-interval eigrp 100 5
(config-if)# ip hold-time eigrp 100 15
- Useful show commands
show ip eigrp topology
show ip eigrp topology all-links
show ip eigrp neighbors
show ip protocols
show ip eigrp traffic
debug ip eigrp neighbors
debug ip eigrp packet
- Authentication
(config-if)# ip authentication mode eigrp 100 md5
(config-if)# ip authentication key-chain eigrp 100 LAB
!
(config)# key chain LAB
(config-keychain)# key 1
(config-keychain-key)# key-string s3cr3t
Sample packet headers
Hello:

Acknowledgement:

Query:

Ack to query (above):

Reply:

Update:
