protocole igrp* *interior gateway routing protocol
TRANSCRIPT
Protocole IGRP*
*Interior Gateway Routing Protocol
Sommaire
1) Théorie
1) Configuration
1) Vérification
1) Théorie
IGRP* Vecteur de distance Propriétaire Cisco
Remplacer RIP sur les réseaux hétérogènes
* Interior Gateway Routing Protocol
Métrique d’IGRP
Calcul des métriques Bande passante Délai Fiabilité Charge
Avantage Pas limité par le nombre de sauts
Métrique d’IGRP (suite)
24 bits De 0 à 16 777 215
Formule complète
Formule simplifiée (avec valeurs par défaut)
Métri que = (K1 × Bandwi dth + K2 × Bandwi dth ÷ (256 – Load) + K3 × Del ay) + K5 ÷ (Rel i abi l i ty + K4)
Mét r i que = Bandwi dt h + Del ayMét r i que = ( 107 ÷ BP + Σdél ai s)
Types de routes IGRP
Max 4 routes pour une même destination
3 types de routes Intérieure
Route entre des sous-réseaux directement connectés Système
Route interne propagée à l’intérieur de l’AS Extérieure
Externe à l’AS IGRP (redistribuée)
Types de routes IGRP (suite)
LocalIntérieure
Système
Extérieure
AS IGRP
Autre ASSous-réseau 1
Sous-réseau 2
Système
Système
Compteurs de temps IGRP
Update Intervalle entre les MAJ
Invalid Temps avant de considérer une entrée comme périmée
Holddown Temps avant d’accepter l’entrée par une moins bonne
Flush Temps avant suppression
Compteurs de temps IGRP (suite)
1) Configuration
Commandes
Procédure de configuration
Commande router igrp
router igrp {AS} Mode de configuration globale Active le protocole IGRP pour l’AS spécifié* Passe dans le mode de configuration du routeur
* Plusieurs instances IGRP par routeur possibles
Remarque : AS de 1 à 65535
Router#conf termEnt er confi gur at i on commands, one per l i ne. End wi t h CNTL/ Z.Rout er ( confi g) #no r out er r i pRout er ( confi g) #r out er i gr p 10Rout er ( confi g- r out er ) #
Commande network
network {préfixe} Mode de configuration du routeur Interfaces participant au routage IGRP Réseau directement connecté à inclure dans les MAJ
Router#conf termEnt er confi gur at i on commands, one per l i ne. End wi t h CNTL/ Z.Rout er ( confi g) #no r out er r i pRout er ( confi g) #r out er i gr p 10Rout er ( confi g- r out er ) #net wor k 10. 0. 0. 0Rout er ( confi g- r out er ) #net wor k 172. 30. 0. 0Rout er ( confi g- r out er ) #
Commande neighbor
neighbor {IP} Mode de configuration du routeur Définit un voisin pour MAJ unicast Par défaut = Aucun voisin
Router#conf termEnt er confi gur at i on commands, one per l i ne. End wi t h CNTL/ Z.Rout er ( confi g) #no r out er r i pRout er ( confi g) #r out er i gr p 10Rout er ( confi g- r out er ) #net wor k 10. 0. 0. 0Rout er ( confi g- r out er ) #net wor k 172. 30. 0. 0Rout er ( confi g- r out er ) #nei ghbor 10. 0. 0. 2Rout er ( confi g- r out er ) #nei ghbor 172. 30. 0. 1Rout er ( confi g- r out er ) #
Commande passive-interface
passive-interface {type} {numéro} Mode de configuration du routeur Empêche l’interface d’envoyer des MAJ
Router#conf termEnt er confi gur at i on commands, one per l i ne. End wi t h CNTL/ Z.Rout er ( confi g) #no r out er r i pRout er ( confi g) #r out er i gr p 10Rout er ( confi g- r out er ) #net wor k 10. 0. 0. 0Rout er ( confi g- r out er ) #net wor k 172. 30. 0. 0Rout er ( confi g- r out er ) #nei ghbor 10. 0. 0. 2Rout er ( confi g- r out er ) #nei ghbor 172. 30. 0. 1Rout er ( confi g- r out er ) #passi ve- i nt er f ace S0/ 0
Commande ip split-horizon
[no] ip split-horizon Mode de configuration d’interface Active/désactive Split Horizon Actif par défaut
Router#conf termEnt er confi gur at i on commands, one per l i ne. End wi t h CNTL/ Z.Rout er ( confi g) #i nt er f ace f ast 0/ 0Rout er ( confi g- i f ) #i p addr ess 10. 0. 0. 1 255. 0. 0. 0Rout er ( confi g- i f ) #no i p spl i t - hor i zonRout er ( confi g- i f ) #
Commande maximum-paths
maximum-paths {nombre} Mode de configuration du routeur Nombre max de liens avec le même métrique (à la
variance près) pouvant être utilisés pour la répartition de charge
Max = 6 ou 16 (IOS >= 12.3(2)T) Défaut = 4
Router#conf termEnt er confi gur at i on commands, one per l i ne. End wi t h CNTL/ Z.Rout er ( confi g) #r out er i gr p 10Rout er ( confi g- r out er ) #maxi mum- pat hs 4Rout er ( confi g- r out er ) #
Commande variance
variance {valeur} Mode de configuration du routeur Coefficient pour répartition de charge entre liens ayant des
métriques différentes Répartition de charge = Weighted Round Robin
Router#conf termEnt er confi gur at i on commands, one per l i ne. End wi t h CNTL/ Z.Rout er ( confi g) #r out er i gr p 10Rout er ( confi g- r out er ) #maxi mum- pat hs 4Rout er ( confi g- r out er ) #var i ance ? <1- 128> Met r i c var i ance mul t i pl i er
Rout er ( confi g- r out er ) #var i ance 2Rout er ( confi g- r out er ) #
Commande metric weights
metric weights {TOS} {K1} {K2} {K3} {K4} {K5} Coefficients pour le calcul des métriques TOS = 0 Défaut
K1 = K3 = 1 K2 = K4 = K5 = 0
Router#conf termEnt er confi gur at i on commands, one per l i ne. End wi t h CNTL/ Z.Rout er ( confi g) #r out er i gr p 10Rout er ( confi g- r out er ) #met r i c wei ght s ? <0- 8> Type Of Ser vi ce ( Onl y TOS 0 suppor t ed)
Rout er ( confi g- r out er ) #met r i c wei ght s 0 1 1 1 1 1Rout er ( confi g- r out er ) #
Commande timers basic
timers basic {update} {invalid} {holddown} {flush} Mode de configuration du routeur Définit les compteurs de temps pour IGRP
Router#conf termEnt er confi gur at i on commands, one per l i ne. End wi t h CNTL/ Z.Rout er ( confi g) #r out er i gr p 10Rout er ( confi g- r out er ) #t i mer s basi c 90 270 280 630Rout er ( confi g- r out er ) #
Commande metric maximum-hops
metric maximum-hops {valeur} Mode de configuration du routeur Nombre max de sauts (diamètre du réseau) Défaut = 100
Router#conf termEnt er confi gur at i on commands, one per l i ne. End wi t h CNTL/ Z.Rout er ( confi g) #r out er i gr p 10Rout er ( confi g- r out er ) #met r i c maxi mum- hop ? <1- 255> Hop count
Rout er ( confi g- r out er ) #met r i c maxi mum- hop 200Rout er ( confi g- r out er ) #
Commande ip default-network
ip default-network {préfixe} Définir un réseau candidat par défaut Propage ce réseau dans l’AS IGRP comme route externe Le réseau doit être connu d’IGRP Le réseau doit être directement connecté Mode de configuration globale
Router#conf termEnt er confi gur at i on commands, one per l i ne. End wi t h CNTL/ Z.Rout er ( confi g) #i p def aul t - net wor k 10. 0. 0. 0Rout er ( confi g) #
Commande redistribute
redistribute static Mode de configuration du routeur Injecte les routes statiques dans IGRP Routes injectées = Routes externes
Router#conf termEnt er confi gur at i on commands, one per l i ne. End wi t h CNTL/ Z.Rout er ( confi g) #r out er i gr p 10Rout er ( confi g- r out er ) #r edi st r i but e st at i c
Commande bandwidth
bandwidth {BP} Mode de configuration d’interface Précise la bande passante de la liaison Valeur en Kbps Valeur utilisé pour le calcul des métriques
Router#conf termEnt er confi gur at i on commands, one per l i ne. End wi t h CNTL/ Z.Rout er ( confi g) #i nt er f ace ser i al 0/ 0Rout er ( confi g- i f ) #bandwi dt h ? <1- 10000000> Bandwi dt h i n ki l obi t s
Rout er ( confi g- i f ) #bandwi dt h 256
Procédure de configuration
Pour les simulations de la CCNA : Étape n°1 : Activer IGRP Étape n°2 : Spécifier les réseaux
Pour information Étape n°3 : Désactiver les émissions inutiles Étape n°4 : Ajuster les compteurs de temps Étape n°5 : Propager une route par défaut Étape n°6 : Activer la répartition de charge
Etape n°1
Activer le protocole IGRP
Commande router igrp {AS}
Etape n°2
Spécifier les réseaux participant au routage IGRP
Commande network
Etape n°3 (optionnelle)
Désactiver les émissions inutiles de MAJ
Commande passive-interface
Etape n°4 (optionnelle)
Ajuster les compteurs de temps pour IGRP
Commande timers basic
Etape n°5 (optionnelle)
Propager une route par défaut, pour pouvoir sortir de l’AS IGRP Commande ip default-network
Etape n°6 (optionnelle)
Activer la répartition de charge
Commande maximum-paths Commande variance
Exemple de configuration
Lab_A Lab_BS0/0
F0/0
F0/1
192.5.5.0/24
201.100.11.0/24
205.7.5.0/24
Lab_A( confi g) #r out er i gr p 65000Lab_A( confi g- r out er ) #net wor k 192. 5. 5. 0Lab_A( confi g- r out er ) #net wor k 205. 7. 5. 0Lab_A( confi g- r out er ) #net wor k 201. 100. 11. 0Lab_A( confi g- r out er ) #exi tLab_A( confi g) #i nt er f ace ser i al 0/ 0Lab_A( confi g- i f ) #bandwi dt h 56
1) Vérification
Commandes show
Commandes debug
Commande show ip protocols
Lab_A#show i p pr ot ocol s Rout i ng Pr ot ocol i s " i gr p 65000" Sendi ng updat es ever y 90 seconds, next due i n 47 seconds I nval i d af t er 270 seconds, hol d down 280, fl ushed af t er 630 Out goi ng updat e fi l t er l i st f or al l i nt er f aces i s not set I ncomi ng updat e fi l t er l i st f or al l i nt er f aces i s not set Def aul t net wor ks fl agged i n out goi ng updat es Def aul t net wor ks accept ed f r om i ncomi ng updat es I GRP met r i c wei ght K1=1, K2=0, K3=1, K4=0, K5=0 I GRP maxi mum hopcount 100 I GRP maxi mum met r i c var i ance 1 Redi st r i but i ng: i gr p 65000 Maxi mum pat h: 4 Rout i ng f or Net wor ks: 192. 5. 5. 0 201. 100. 11. 0 205. 7. 5. 0 Rout i ng I nf or mat i on Sour ces: Gat eway Di st ance Last Updat e 201. 100. 11. 2 100 00: 00: 32 Di st ance: ( def aul t i s 100)
Commande debug ip igrp events
Lab_A#debug i p i gr p event s I GRP event debuggi ng i s onLab_A#*Mar 1 00: 10: 40. 243: I GRP: sendi ng updat e t o 255. 255. 255. 255 vi a Fast Et her net 0/ 0 ( 192. 5. 5. 1)*Mar 1 00: 10: 40. 259: I GRP: Updat e cont ai ns 0 i nt er i or , 7 syst em, and 0 ext er i or r out es.*Mar 1 00: 10: 40. 259: I GRP: Tot al r out es i n updat e: 7*Mar 1 00: 10: 40. 259: I GRP: sendi ng updat e t o 255. 255. 255. 255 vi a Ser i al 0/ 0 ( 201. 100. 11. 1)*Mar 1 00: 10: 40. 271: I GRP: Updat e cont ai ns 0 i nt er i or , 2 syst em, and 0 ext er i or r out es.*Mar 1 00: 10: 40. 275: I GRP: Tot al r out es i n updat e: 2*Mar 1 00: 10: 40. 275: I GRP: sendi ng updat e t o 255. 255. 255. 255 vi a Fast Et her net 0/ 1 ( 205. 7. 5. 1)*Mar 1 00: 10: 40. 287: I GRP: Updat e cont ai ns 0 i nt er i or , 7 syst em, and 0 ext er i or r out es.*Mar 1 00: 10: 40. 291: I GRP: Tot al r out es i n updat e: 7*Mar 1 00: 10: 45. 107: I GRP: r ecei ved updat e f r om 201. 100. 11. 2 on Ser i al 0/ 0*Mar 1 00: 10: 45. 107: I GRP: Updat e cont ai ns 0 i nt er i or , 5 syst em, and 0 ext er i or r out es.*Mar 1 00: 10: 45. 107: I GRP: Tot al r out es i n updat e: 5
Commande debug ip igrp transactions
Lab_A#debug i p i gr p t r ansact i ons I GRP pr ot ocol debuggi ng i s onLab_A#*Mar 1 00: 12: 00. 015: I GRP: sendi ng updat e t o 255. 255. 255. 255 vi a Fast Et her net 0/ 0 ( 192. 5. 5. 1)*Mar 1 00: 12: 00. 015: net wor k 210. 93. 105. 0, met r i c=181081*Mar 1 00: 12: 00. 015: net wor k 205. 7. 5. 0, met r i c=501*Mar 1 00: 12: 00. 019: net wor k 219. 17. 100. 0, met r i c=181071*Mar 1 00: 12: 00. 019: net wor k 199. 6. 13. 0, met r i c=180581*Mar 1 00: 12: 00. 019: net wor k 204. 204. 7. 0, met r i c=181081*Mar 1 00: 12: 00. 023: net wor k 223. 8. 151. 0, met r i c=181081*Mar 1 00: 12: 00. 023: net wor k 201. 100. 11. 0, met r i c=180571*Mar 1 00: 12: 00. 031: I GRP: sendi ng updat e t o 255. 255. 255. 255 vi a Ser i al 0/ 0 ( 201. 100. 11. 1)*Mar 1 00: 12: 00. 035: net wor k 205. 7. 5. 0, met r i c=501*Mar 1 00: 12: 00. 039: net wor k 192. 5. 5. 0, met r i c=110*Mar 1 00: 12: 00. 047: I GRP: sendi ng updat e t o 255. 255. 255. 255 vi a Fast Et her net 0/ 1 ( 205. 7. 5. 1)*Mar 1 00: 12: 00. 047: net wor k 210. 93. 105. 0, met r i c=181081*Mar 1 00: 12: 00. 051: net wor k 219. 17. 100. 0, met r i c=181071*Mar 1 00: 12: 00. 051: net wor k 199. 6. 13. 0, met r i c=180581*Mar 1 00: 12: 00. 051: net wor k 204. 204. 7. 0, met r i c=181081*Mar 1 00: 12: 00. 055: net wor k 192. 5. 5. 0, met r i c=110*Mar 1 00: 12: 00. 055: net wor k 223. 8. 151. 0, met r i c=181081*Mar 1 00: 12: 00. 059: net wor k 201. 100. 11. 0, met r i c=180571*Mar 1 00: 12: 08. 207: I GRP: r ecei ved updat e f r om 201. 100. 11. 2 on Ser i al 0/ 0*Mar 1 00: 12: 08. 207: net wor k 210. 93. 105. 0, met r i c 181081 ( nei ghbor 610)*Mar 1 00: 12: 08. 207: net wor k 219. 17. 100. 0, met r i c 181071 ( nei ghbor 501)*Mar 1 00: 12: 08. 207: net wor k 199. 6. 13. 0, met r i c 180581 ( nei ghbor 110)*Mar 1 00: 12: 08. 207: net wor k 204. 204. 7. 0, met r i c 181081 ( nei ghbor 610)*Mar 1 00: 12: 08. 211: net wor k 223. 8. 151. 0, met r i c 181081 ( nei ghbor 610)
Questions types CCNA
Questions types CCNA