eigrproutingcisco
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-summaryrouter-id {{ROUTER_ID}}! Passive par défaut, activer uniquement sur les interfaces EIGRPpassive-interface defaultno passive-interface {{ACTIVE_IFACE}}! Stub (spoke dans hub-and-spoke) — annonce uniquement connected et summaryeigrp 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 interfacesaf-interface defaultpassive-interfacehello-interval 5hold-time 15exit-af-interface!! Activer EIGRP sur une interface spécifiqueaf-interface {{ACTIVE_IFACE}}no passive-interfacehello-interval 1hold-time 3exit-af-interface!! Filtrage et redistribution dans topology basetopology basedistribute-list prefix {{PREFIX_LIST}} in {{IFACE}}redistribute ospf 1 metric 10000 100 255 1 1500exit-af-topology!network {{NET}} {{WILDCARD}}router-id {{ROUTER_ID}}eigrp stub connected summaryexit-address-family
Métriques EIGRP
K-values (valeurs par défaut)
K1 1 bandwidthK2 0 load inactif par dfautK3 1 delayK4 0 reliability inactif par dfautK5 0 MTU inactif par dfautMtrique composite K1107/BW K3Delay/10 256BW bandwidth minimum sur le chemin en kbpsDelay 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 DLYinterface {{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 successeurvariance 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 EIGRProuter eigrp {{AS_NUMBER}}redistribute ospf 1 metric 10000 100 255 1 1500! Paramètres : bandwidth(kbps) delay(10µs) reliability load MTU! Depuis statiqueredistribute static metric 10000 100 255 1 1500! Depuis connectedredistribute connected metric 10000 100 255 1 1500
Authentification MD5
text
Variables
{{CHAIN_NAME}}
{{PASSWORD}}
{{INTERFACE}}
{{AS_NUMBER}}
key chain {{CHAIN_NAME}}key 1key-string {{PASSWORD}}! Optionnel : limiter la durée de validité de la cléaccept-lifetime 00:00:00 Jan 1 2024 infinitesend-lifetime 00:00:00 Jan 1 2024 infiniteinterface {{INTERFACE}}ip authentication mode eigrp {{AS_NUMBER}} md5ip authentication key-chain eigrp {{AS_NUMBER}} {{CHAIN_NAME}}
Vérification
text
show ip eigrp neighborsshow ip eigrp neighbors detailshow ip eigrp topologyshow ip eigrp topology all-linksshow ip eigrp interfacesshow ip eigrp interfaces detailshow ip eigrp trafficshow ip route eigrp
Troubleshooting — voisins qui ne montent pas
Vrification checklist1 AS number identique des deux ctsshow ip eigrp neighbors liste vide problme AS ou layer 22 K-values identiquesshow ip protocols | include KK-values diffrentes voisinage refus log "K-values mismatch"3 AuthentificationCl et algorithme identiques des deux ctsVrifier le key chain actif show key chain4 Subnet mismatchLes deux interfaces doivent tre dans le mme subnetshow ip interface brief5 Passive interfaceshow ip eigrp interfaces linterface ne doit pas tre absente6 ACL bloquant les paquets EIGRP multicast 2240010show ip access-lists7 MTU mismatch rareshow interfaces | include MTU
text
! Debug EIGRP (prudence en production)debug eigrp packets hellodebug 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