MDstable
NoteSnippetChecklistPlaybook

EIGRP — Configuration et Troubleshooting

Configurer EIGRP classique et named-mode, métriques, stub, redistribution

snippetadvanced 2025-05-14 4 min read
eigrproutingciscometricstubnamed-moderedistributionios

EIGRP Classique

text
Variables
{{AS_NUMBER}}
{{NET}}
{{WILDCARD}}
{{ROUTER_ID}}
{{ACTIVE_IFACE}}
router eigrp {{AS_NUMBER}}
network {{NET}} {{WILDCARD}}
! Désactiver auto-summary (activé par défaut en IOS < 15)
no auto-summary
router-id {{ROUTER_ID}}
! Passive par défaut, activer uniquement sur les interfaces EIGRP
passive-interface default
no passive-interface {{ACTIVE_IFACE}}
! Stub (spoke dans hub-and-spoke) — annonce uniquement connected et summary
eigrp stub connected summary

EIGRP Named Mode (recommandé, IOS 15.0+)

text
Variables
{{PROCESS_NAME}}
{{AS_NUMBER}}
{{ACTIVE_IFACE}}
{{PREFIX_LIST}}
{{IFACE}}
{{NET}}
{{WILDCARD}}
{{ROUTER_ID}}
router eigrp {{PROCESS_NAME}}
!
address-family ipv4 unicast autonomous-system {{AS_NUMBER}}
!
! Paramètres par défaut pour toutes les interfaces
af-interface default
passive-interface
hello-interval 5
hold-time 15
exit-af-interface
!
! Activer EIGRP sur une interface spécifique
af-interface {{ACTIVE_IFACE}}
no passive-interface
hello-interval 1
hold-time 3
exit-af-interface
!
! Filtrage et redistribution dans topology base
topology base
distribute-list prefix {{PREFIX_LIST}} in {{IFACE}}
redistribute ospf 1 metric 10000 100 255 1 1500
exit-af-topology
!
network {{NET}} {{WILDCARD}}
router-id {{ROUTER_ID}}
eigrp stub connected summary
exit-address-family

Métriques EIGRP

K-values (valeurs par défaut)

K1 1 bandwidth
K2 0 load inactif par dfaut
K3 1 delay
K4 0 reliability inactif par dfaut
K5 0 MTU inactif par dfaut
Mtrique composite K1107/BW K3Delay/10 256
BW bandwidth minimum sur le chemin en kbps
Delay somme des delays sur le chemin en s

Modifier le delay sur une interface

text
Variables
{{INTERFACE}}
{{VALUE_10US}}
! Le delay EIGRP s'exprime en unités de 10 µs
! Vérifier la valeur actuelle :
show interfaces GigabitEthernet0/0 | include DLY
interface {{INTERFACE}}
delay {{VALUE_10US}}
! Exemple : delay 100 = 1000 µs = 1 ms

Variance — load balancing inégal

text
Variables
{{AS_NUMBER}}
router eigrp {{AS_NUMBER}}
! Variance 2 = utilise les routes jusqu'à 2× la métrique du successeur
variance 2

Résumé de routes (summarization)

text
Variables
{{INTERFACE}}
{{AS_NUMBER}}
{{NET}}
{{MASK}}
interface {{INTERFACE}}
ip summary-address eigrp {{AS_NUMBER}} {{NET}} {{MASK}}
! Named mode :
! (dans af-interface) summary-address {{NET}} {{MASK}}

Redistribution

text
Variables
{{AS_NUMBER}}
! Depuis OSPF vers EIGRP
router eigrp {{AS_NUMBER}}
redistribute ospf 1 metric 10000 100 255 1 1500
! Paramètres : bandwidth(kbps) delay(10µs) reliability load MTU
! Depuis statique
redistribute static metric 10000 100 255 1 1500
! Depuis connected
redistribute connected metric 10000 100 255 1 1500

Authentification MD5

text
Variables
{{CHAIN_NAME}}
{{PASSWORD}}
{{INTERFACE}}
{{AS_NUMBER}}
key chain {{CHAIN_NAME}}
key 1
key-string {{PASSWORD}}
! Optionnel : limiter la durée de validité de la clé
accept-lifetime 00:00:00 Jan 1 2024 infinite
send-lifetime 00:00:00 Jan 1 2024 infinite
interface {{INTERFACE}}
ip authentication mode eigrp {{AS_NUMBER}} md5
ip authentication key-chain eigrp {{AS_NUMBER}} {{CHAIN_NAME}}

Vérification

text
show ip eigrp neighbors
show ip eigrp neighbors detail
show ip eigrp topology
show ip eigrp topology all-links
show ip eigrp interfaces
show ip eigrp interfaces detail
show ip eigrp traffic
show ip route eigrp

Troubleshooting — voisins qui ne montent pas

Vrification checklist
1 AS number identique des deux cts
show ip eigrp neighbors liste vide problme AS ou layer 2
2 K-values identiques
show ip protocols | include K
K-values diffrentes voisinage refus log "K-values mismatch"
3 Authentification
Cl et algorithme identiques des deux cts
Vrifier le key chain actif show key chain
4 Subnet mismatch
Les deux interfaces doivent tre dans le mme subnet
show ip interface brief
5 Passive interface
show ip eigrp interfaces linterface ne doit pas tre absente
6 ACL bloquant les paquets EIGRP multicast 2240010
show ip access-lists
7 MTU mismatch rare
show interfaces | include MTU
text
! Debug EIGRP (prudence en production)
debug eigrp packets hello
debug eigrp neighbors
! Désactiver :
undebug all
💡 Tip —

EIGRP calcule sa métrique composite principalement via le bandwidth et le delay. Ne jamais modifier le bandwidth d'une interface pour influencer le routage : cette valeur est aussi utilisée par QoS (policy-map) et d'autres protocoles. Modifier uniquement le delay (delay VALUE en unités de 10 µs) pour influencer le chemin EIGRP sans effets de bord.

OPS·BRAIN v1.027 notes · Networklocal