¡¡¡¡Ñ¡¾ÙDRºÍBDRʱ£¬Â·ÓÉÆ÷½«ÔÚHELLOÊý¾Ý°ü½»»»¹ý³ÌÖв鿴Ï໥֮¼äµÄÓÅÏÈÖµ¡£
¸ù¾ÝÏÂÁÐÌõ¼þÈ·¶¨DRÓëBDR
lÓÐ×î¸ßÓÅÏȼ¶ÖµµÄ·ÓÉÆ÷³ÉΪDR
lÓеڶþ¸ßÓÅÏÈÖµµÄ·ÓÉÆ÷±»³ÆΪBDR
lÓÅÏȼ¶Îª0µÄ·ÓÉÆ÷²»ÄÜ×÷¼ë×Ô¸¿ÎªDR»òBDR£¬±»³ÆΪDrother (·ÇDR)
lÈç¹ûһ̨ÓÅÏȼ¶¸ü¸ßµÄ·ÓÉÆ÷±»¼Óµ½ÁËÍøÂçÖУ¬ÔÀ´µÄDRÓëBDR±£³Ö²»±ä£¬Ö»ÓÐDR»òBDRËüÃÇʧЧʱ²Å»á¸Ä±ä
OSPFÆô¶¯µÄ¹ý³Ì£º
1.½»»»¹ý³Ì£¨exchange process£©
µ±Ò»¸ö·ÓÉÆ÷AÆô¶¯Ê±£¬Ëü´¦ÓÚDOWN״̬£¬Ëü´ÓÆä¸÷¸ö½Ó¿Úͨ¹ý224.0.0.5·¢ËÍHELLOÊý¾Ý°üµ½ÆäËüÔËÐÐOSPFµÄ·ÓÉÆ÷£¬ÆäËü·ÓÉÆ÷ÊÕµ½Õâ¸ö H ELLO°üºó¾Í»á°ÑËü¼ÓÈë×Ô¼ºµÄÁÚ¾ÓÁбíÖУ¬Õâ½Ð"init"״̬£¬Ö®ºó·¢ËÍÒ»¸öµ¥µã´«Ëͻظ´HELLO°ü£¬ÆäÖаüº¬×Å×Ô¼ºµÄºÍÆäËüÏàÁÚ·ÓÉÆ÷µÄÐÅÏ¢£¬Â·ÓÉÆ÷A ÊÕµ½Õâ¸öHELLOºó£¬»á°ÑÆäÖÐÓÐÏàÁÚ¹ØϵÊý¾Ý¿â¼ÓÈëµ½×Ô¼ºµÄ¿âÖÐÕâ½Ð"two-way"״̬£¬´Ëʱ¾Í½¨Á¢ÁËË«ÏòͨÐÅ¡£
2.·¢ÏÖ·ÓÉ
ÔÚÑ¡³öÁËDRºÍBDRÖ®ºó£¬Â·ÓÉÆ÷¾Í±»ÈÏΪÊÇ´¦ÓÚ"×¼Æô¶¯(exstart)״̬"£¬²¢ÇÒÒÑ
×¼±¸ºÃ·¢ÏÖÓйØÍøÂçµÄÁ´Â·×´Ì¬ÐÅÏ¢£¬ÒÔ¼°Éú³ÉËüÃǵÄÁ´Â·×´Ì¬Êý¾Ý¿â¡£ÓÃÀ´·¢ÏÖÍøÂç·ÓɵÄÕâ¸ö¹ý³Ì³ÆΪ½»»»ÐÒ飬Ëü±»Ö´ÐÐÀ´Ê¹ÓÃȨ·ÓÉÆ÷´ïµ½Í¨ÐŵÄ" È«£¨FULL£©"״̬¡£ÔÚÕâ¸öÐÒéÖеĵÚÒ»²½ÊÇÈÃDRºÍBDR½¨Á¢ÆðÓëÆäËü¸÷·ÓÉÆ÷µÄÅþÁÚ¹Øϵ¡£µ±ÅþÁڵķÓÉÆ÷´¦ÓÚ"È«"״̬ʱ£¬ËüÃDz»»áÖظ´Ö´Ðн»»»ÐÒ飬³ý·Ç" È«"״̬·¢ÉúÁ˱仯¡£
3.Ñ¡Ôñ·ÓÉ
µ±Â·ÓÉÆ÷ÓÐÁËÒ»¸öÍêÕûµÄÁ´Â·×´Ì¬Êý¾Ý¿âʱ£¬Ëü¾Í×¼±¸ºÃÒª´´½¨ËüµÄ·ÓɱíÒÔ±ãÄܹ»
ת·¢Êý¾ÝÁ÷¡£CISCO·ÓÉÆ÷ÉÏȱʡµÄ¿ªÏú¶ÈÁ¿ÊÇ»ùÓÚÍøÂç½éÖʵĴø¿í¡£Òª¼ÆËãµ½´ïÄ¿µÄµØµÄ×îµÍ¿ªÏú£¬Á´Â·×´Ì¬ÐÍ·ÓÉÑ¡ÔñÐÒ飨±ÈÈçOSP F£©²ÉÓÃDijkstraËã·¨£¬OSPF·ÓɱíÖÐ×î¶à±£´æ6ÌõµÈ¿ªÏú·ÓÉÌõÄ¿ÒÔ½øÐиºÔؾùºâ£¬¿ÉÒÔͨ¹ý"maximum-paths"½øÐÐÅäÖá£
Èç¹ûÁ´Â·ÉϳöÏÖfapping·×ª£¬¾Í»áʹ·ÓÉÆ÷²»Í£µÄ¼ÆËãÒ»¸öеķÓÉ±í£¬¾Í¿ÉÄܵ¼Ö·ÓÉÆ÷²»ÄÜÊÕÁ²¡£Â·ÓÉÆ÷ÒªÖØмÆËã¿Í¹Û´æËüµÄ·Óɱí֮ǰÏȵÈÒ»¶ÎÂäʱ¼ä£¬È±Ê¡ÖµÎª5 Ãë¡£ÔÚCISCOÅäÖÃÃüÁîÖÐ "timers spf spf-delay spy-holdtime"¿ÉÒÔ¶ÔÁ½´ÎÁ¬ÐøSPF¼ÆËãÖ®¼äµÄ×î¶Ìʱ¼ä£¨È±Ê¡Öµ10Ã룩½øÅäÖá£
4.ά»¤Â·ÓÉÐÅÏ¢
ÔÚÁ´Â·×´Ì¬ÐÍ·ÓÉ»·¾³ÖУ¬ËùÓзÓÉÆ÷µÄÍØÆӽṹÊý¾Ý¿â±ØÐë±£³Öͬ²½ÕâÒ»µãºÜÖØÒª¡£µ±Á´Â·×´Ì¬·¢ÉúÁ˱仯ʱ£¬Â·ÓÉÆ÷ͨ¹ýÀ©É¢¹ý³Ì½«ÕâÒ»±ä»¯Í¨Öª¸øÍøÂçÖÐÆäËû·ÓÉÆ÷£¬Á´Â·×´Ì¬¸üÐÂÊý¾Ý°üÌṩÁËÀ©É¢L SAµÄ¼¼Êõ
¸÷LSA¶¼ÓÐÓÐËü×Ô¼ºµÄÀÏ»¯¼ÆʱÆ÷£¬³ÐÔØÔÚLSÊÙÃüÓòÄÚ¡£È±Ê¡ÖµÎª30·ÖÖÓ
ÔÚµã¶ÔµãÍØÆӽṹÖеÄOSPFÔËÐÐ
ÔÚµã¶ÔµãÍøÂçÉÏ£¬Â·ÓÉÆ÷ͨ¹ýÏò¶àÄ¿×é²¥µØÖ·À´¼ì²âËüµÄÁÚ¾Ó¡£²»ÓýøÐÐÑ¡È¡¾Ù£¬ÒòΪµã¶ÔµãÉÏûÓÐDRÓëBDRµÄ¸ÅÄÔÚNBMAÍØÆӽṹÉÏȱʡO SPF hello¼ä¸ôºÍdown»ú¼ä¸ôΪ10ÃëºÍ40Ãë
Ôڷǹ㲥ÐͶà··ÃÎÊ£¨NBMA£©ÍØÆӽṹÖеÄOSPFÔËÐÐ
NBMAÍøÂçÊÇÖ¸ÄÇЩÄܹ»Ö§³Ö¶ą̀£¨Á½Ì¨ÒÔÉÏ£©Â·ÓÉÆ÷µ«²»¾ßÓй㲥ÄÜÁ¦µÄÍøÂç¡£
Ö¡Öм̡¢ATMºÍX.25¶¼ÊÇNBMAÍøÂçµÄÀý×Ó
ÔÚNBMAÍØÆӽṹÉÏȱʡOSPF hello¼ä¸ôºÍdown»ú¼ä¸ôΪ30ÃëºÍ120Ãë
ϱíÊÇÔÚ¸÷ÀàÍØÆӽṹÉÏȱʡOSPF hello¼ä¸ôºÍdown»ú¼ä¸ô
OSPF»·¾³Hello¼ä¸ôDown»úÅж¨¼ä¸ô
¹ã²¥10Ãë40Ãë
µã¶Ôµã10Ãë40Ãë
NBMA30Ãë120Ãë
OSPFÔÚNBMAÍØÆӽṹÖÐÒÔÁ½ÖÖÕýʽģʽ֮һÔË×÷£º
l·Ç¹ã²¥¶à··ÃÎÊ
lµã¶Ô¶àµã
ÔÚNBMAÍØÆӽṹÖÐÅäÖ÷ÓÉÆ÷ʱ£¬Í¨³£²ÉÓÃ×Ó½Ó¿Ú
¿ÉÒÔͨ¹ýÏÂÃæµÄÃüÁîÀ´´´½¨×Ó½Ó¿Ú£º
iterface serial number.subinterface-number {multpiont point-to-point}
ÔÚ´óÐÍÍøÂçÖУ¬²ÉÓõã¶Ô¶àµãģʽ¿ÉÒÔ¼õÉÙÍêÈ«Á¬Í¨Ëù±ØÐèµÄPVCÊýÁ¿
µã¶Ô¶àµãÓÐÒÔÏÂÊôÐÔ
l²»ÐèҪȫ»¥Á¬µÄÍøÂç
l²»ÐèÒª¾²Ì¬ÁÚ¾ÓÅäÖÃ
lʹÓÃÒ»¸öIP×ÓÍø
l¸´ÖÆLSAÊý¾Ý°ü
ÔÚNBMAÍØÆӽṹÉϵÄOSPFС½á
ģʽÆÚÍûµÄÍØÆӽṹ×ÓÍøµØÖ·ÅþÁÚ¹ØϵRFC»òCisco¶¨Òå
NBMAÈ«»¥Á¬ÁÚ¾Ó±ØÐëÊôÓÚͬһ×ÓÍøºÅÈ˹¤ÅäÖÃÑ¡¾ÙDR/BDRRFC
¹ã²¥È«»¥Á¬ÁÚ¾Ó±ØÐëÊôÓÚͬһ×ÓÍøºÅ×Ô¶¯Ñ¡¾ÙDR/BDRCisco
µã¶Ô¶àµã²¿·Ö»¥±ß»òÐÇÐÍÁÚ¾Ó±ØÐëÊôÓÚͬһ×ÓÍøºÅ×Ô¶¯£¬Ã»ÓÐDR/BDRRFC
µã¶Ô¶àµã·Ç¹ã²¥²¿·Ö»¥±ß»òÐÇÐÍÁÚ¾Ó±ØÐëÊôÓÚͬһ×ÓÍøºÅÊÖ¹¤ÅäÖÃûÓÐDR/BDRCisco
µã¶Ôµãͨ¹ý×ӽӿڵIJ¿·Ö»¥Á¬»òÐÇÐ͸÷×Ó½Ó¿ÚÊôÓÚ²»Í¬µÄ×ÓÍø×Ô¶¯£¬Ã»ÓÐDR/BDRCisco
ÔÚµ¥¸öÇøÓòÄÚÅäÖÃOSPF
ÒªÅäÖÃOSPF£¬ÎÒÃDZØÐëÖ´ÐÐÒÔϲ½¾Û£º
lͨ¹ý"router ospf process-id"È«¾ÖÅäÖÃÃüÁîÔÚ·ÓÉÉÏÆô¶¯OSPF½ø³Ì
process-idÊÇÒ»¸öÄÚ²¿±àºÅ
lͨ¹ý"network area"·ÓÉÆ÷ÅäÖÃÃüÁîÀ´±êʶ·ÓÉÆ÷ÉÏÄÄЩIPÍøÂçºÅÊÇOSPFÍøÂçµÄÒ»²¿·Ö¡£
network address wildcard area area-id
ҪȷÈÏ·ÓÉÆ÷µÄID¿ÉÒÔÊäÈ룺show ip ospf interface ÃüÁî
Ð޸ķÓÉÆ÷µÄÓÅÏȼ¶£ºrouter(config)#ip ospf priority number
[1] [2] [3] ÏÂÒ»Ò³
numberÊÇ1~255µÄÊý£¬È±Ê¡ÊÇ`1£¬0±íʾ²»Äܱ»Ñ¡¾ÙΪDR»òBDR
ÐÞ¸ÄÁ´Â·¿ªÏúҪͨ¹ý"ip ospf cost cost"ÃüÁ¸Ç·ÖÅä¸øÒ»¸öOSPF½Ó¿ÚµÄȱʡ¿ªÏúÖµ
Òª¿ØÖÆOSPFÈçºÎ¼ÆËã½Ó¿Úȱʡ¶ÈÁ¿Öµ£¨¿ªÏú£©¿ÉÒÔʹÓÃ"auto-cost refence-bandwidth"
ÔÚ½Ó¿ÚÅäÖÃģʽÏÂÊäÈë"ip ospf network"ÃüÁîÀ´Ö¸¶¨OSPFÍøÂçģʽÅäÖÃ
µÚËÄÕ£º»¥Á¬¶à¸öOSPFÇøÓò
ΪÁ˽â¾ö×î¶Ì·¾¶ÓÅÏÈ£¨SPF£©Ëã·¨µÄƵ·±¼ÆËã¡¢´óÐÍ·ÓÉ±í¡¢´óÐÍÁ´Â·×´Ì¬±í£¬OSPF±»Éè¼ÆΪ¿É½«´óÐÍÍøÂç·Ö³É¶à¸öÇøÓòµÄÄÜÁ¦Ò²±»³ÆΪÌåϵ»¯Â·ÓÉ¡£Ìåϵ»¯Â·ÓÉʹÎÒÃÇÄܹ»½«´óÐÍÍøÂ磨×ÔÖÎϵͳ£©·Ö³É±»³ÆΪÇøÓòµÄСÍøÂç
OSPFµÄÌåϵ»¯ÍØÆӽṹÓÐÒÔÏÂÓŵ㣺
lSPF¼ÆËãƵÂʽµµÍ
l¸üСµÄ·Óɱí
lÁ´Â·×´Ì¬¸üУ¨LSU£©¸ººÉ½µµÍ
OSPF·ÓÉÆ÷ÀàÐÍÈçÏ£º
lÄÚ²¿Â·ÓÉÆ÷
lÖ÷¸É·ÓÉÆ÷
lÇøÓò±ß½ç·ÓÉÆ÷£¨ABR£©
l×ÔÖÎϵͳ±ß½ç·ÓÉÆ÷£¨ASBR£©
ÇøÓòµÄÀàÐÍ
l±ê×¼ÇøÓò
lÖ÷¸ÉÇøÓò
lδ½ÚÇøÓò
lÍêȫδ½ÚÇøÓò
l´Îδ½ÚÇøÓò
Êý¾Ý°üÊÇÔõÑù´©¹ý¶à¸öÇøÓòµÄ£º
lÈç¹ûÊý¾Ý°üµÄÄ¿µÄµØÊDZ¾ÍâµÄÒ»¸öÍøÂ磬ÄÇôËü½«±»ÇøÓòÄÚ²¿Â·ÓÉÆ÷ת·¢µ½Ä¿µÄµØÄÚ²¿Â·ÓÉÆ÷£»
lÈç¹ûÊý¾Ý°üµÄÄ¿µÄµØÊDZ¾ÇøÓòÍâµÄÒ»¸öÍøÂ磬ÄÇôËü±ØÐë¾¹ýÏÂÃæµÄ·¾¶
------Êý¾Ý°ü´ÓÔ´ÍøÂçµ½Ò»¸öABR
------ABR½«Êý¾Ý°üͨ¹ýÖ÷¸ÉÇøÓòÍâ·¢Ë͵½Ä¿µÄµØÍøÂçABR
------Ä¿µÄµØABR½«Êý¾Ý°üת´ï·¢µ½ÓòÄÚµÄÄ¿µÄµØÍøÂç
ÐéÄâÁ´Â·ÓÐÁ½¸öÌõ¼þ£º
lËü±ØÐë±»½¨Á¢Ôڱ߽Ó×ÅÒ»¸ö¹²Í¬ÇøÓòµÄÁ½¸öABRÖ®¼ä
lÕâÁ½Ì¨ABRÆäÖÐһ̨±ØÐëÁ¬½Ó×ÅÖ÷¸ÉÇøÓò
·ÓÉÆ÷ÉÏûÓÐÓÃÀ´¼¤»îABR»òASBRµÄ¹¦ÄܵÄÌØÊâÃüÁ·ÓÉÆ÷ͨ¹ýËüËùÁ¬½ÓÇøÓòµÄÇé¿öÀ´³Ðµ£Õâ¸ö½ÇÉ«£¬OSPFµÄ»ù±¾ÅäÖò½ÖèÈçÏ£º
lÔÚ·ÓÉÆ÷ÉÏÆôÓÃOSPF
router(config)#router ospf process-id
lÖ¸Ã÷½«Â·ÓÉÆ÷ÉϵÄÄÄЩIPÍøÂç×÷ΪOSPFµÄÒ»²¿·Ö
router(config-router)#network address wildcard-mask area area-id
l£¨ÈÎÑ¡ÏÈç¹û·ÓÉÆ÷ÓÐÒ»¸ö½Ó¿ÚÁ¬½Ó×ÅÒ»¸ö·ÇOSPFÍøÂ磬ÄÇô»¹ÒªÖ´ÐÐÏàÓ¦µÄÅäÖò½Öè¡£
Òª½øÒ»²½¼õÉÙ·ÓɱíµÄÊýÁ¿£¬ÎÒÃÇ¿ÉÒÔ´´½¨Ò»¸öÍêȫδ½ÚÇøÓò£¬ÕâÊÇCISCOµÄÒ»ÖÖרÓеÄÌØÐÔ¡£
Router ospf 200
Óýø³ÌID 200ÆôÓÃOSPF
network 10.X.X.X 0.0.0.0 area 0
Ö¸¶¨ÔËÐÐOSPFµÄ½Ó¿ÚºÍËüÃǵÄÇøÓò
area x range 192.168.X.0 255.255.255.0
¹éÄɵØÖ·
area X stub [no-summary]
½«Ò»¸öÇøÓòÅäÖÃΪһ¸öδ½Ú»òÍêȫδ½ÚÇøÓò
area x virtual-link 192.168.x.49
´´½¨Ò»ÌõOSPFÐéÄâÁ´Â·
area x nssa
½«Ò»¸öÇøÓòÅäÖÃΪһ¸ö´Îδ½ÚÇøÓò£¨NSSA£©
summary-address 172.16.0.0 255.255.0.0
½«ÍⲿµØÖ·¹éÄÉ·¢²¼µ½OSPF
show ip ospf
ÏÔʾÓйØOSPF·Óɽø³ÌµÄÒ»°ãÐÅÏ¢
show ip ospf neighbor
ÏÔʾÓйØOSPFÁÚ¾ÓÐÅÏ¢
show ip ospf database
ÏÔʾOSPFÁ´Â·×´Ì¬Êý¾Ý¿âÖеÄÌõÄ¿
show ip ospf interface
ÏÔʾÓйØÒ»¸ö½Ó¿ÚµÄ¾ßÌåOSPFÐÅÏ¢
show ip ospf virtual-links
ÏÔʾOSPFÐéÄâÁ´Â·µÄ״̬
debug ip ospf adj
ÏÔʾÉæ¼°½¨Á¢»ò²ð³ýÒ»¸öOSPFÅþÁÚ¹ØϵµÄʼþ
µÚÎåÕÂ ÅäÖÃEIGRP
EIGRPÊǽáºÏÁËÁ´Â·×´Ì¬ºÍ¾àÀëʸÁ¿ÐÍ·ÓÉÑ¡ÔñÐÒéÓŵãµÄCiscoרÓÃÐÒé
EIGRPµÄÌص㣺
l¿ìËÙÊÕÁ²---EIGRP²ÉÓÃÃÖÉ¢ÐÞÕýËã·¨£¨DUAL£©À´ÊµÏÖ¿ìËÙÊÕÁ²¡£
l¼õÉÙ´ø¿íÕ¼ÓÃ---EIGRP²»·¢ËͶ¨ÆڵķÓɸüÐÂÐÅÏ¢¡£
lÖ§³Ö¶àÖÖÍøÂç²ãÐÒé---Appletalk¡¢Ip¡¢NevellµÄNetware¡£
EIGRPÊÇÔ´ÓÚ¾àÀëʸÁ¿ÐÍ·ÓÉÑ¡ÔñÐÒé¡£ÈÝÒ×½øÐÐÅäÖò¢ÄÜÊʺϸ÷ÖÖÍøÂçÍØÆӽṹ¡£ËüÔö¼ÓÁ˼¸ÖÖÁ´Â·×´Ì¬ÌØÐÔ£¬±ÈÈ綯̬ÁÚ¾Ó·¢ÏÖ£¬ÕâʹËü³ÉΪһÖָ߼¶µÄ¾àÀëʸÁ¿ÐÍ·ÓÉÑ¡ÔñÐÒé¡£
EIGRP±È´«Í³µÄ¾àÀëʸÁ¿ÐÍ·ÓÉÑ¡ÔñÐÒéÌṩÁ˸ü¶àµÄºÃ´¦£¬×îÖØÒªµÄºÃ´¦Ö®Ò»ÊǶԴø¿íµÄʹÓ÷½Ãæ¡£²ÉÓÃEIGRPʱ£¬Â·ÓÉÔËÐÐÊý¾ÝÁ÷Ö÷ÒªÊÇͨ¹ý¶àÄ¿×é²¥·½Ê½¶ø²»Êǹ㲥£¬Æä½á¹ûÊÇ£¬Î´¶ËÕ¾µã²»ÊÜ·Óɸüлò²éѯÐÅÏ¢µÄÓ°Ïì¡£
EIGRP²ÉÓÃIGRPÖеÄËã·¨À´¼ÆËã¶ÈÁ¿Öµ£¬µ«¸ÃÖµÊÇÒÔ32±ÈÌصĸñʽÀ´±íʾ£¬EIGRPµÄ¶ÈÁ¿ÖµÊǽ«IGRPµÄ¶ÈÁ¿Öµ³ËÒÔ256¡£EIGRPµÄÒ»¸öÖØÒªÓŵãÊÇËüÖ§³Ö·ÇµÈ¶ÈÁ¿Öµ¸ºÔؾùºâ£¬´Ó¶øÔÊÐí¹ÜÀíÔ±Äܹ»ÔÚÍøÂçÖиüºÃµØ·Ö²¼Êý¾ÝÁ÷¡£ÔØÓÐE IPRPÐÅÏ¢µÄIPÊý¾Ý°üÔÚËüÃǵÄÍ·²¿ÖÐʹÓÃÐÒéºÅ88¡£
EIGRPÊDZ»Éè¼ÆÀ´Í¬Ê±ÔÚ¾ÖÓòÍøºÍ¹ãÓòÍø»·¾³ÖÐÔËÐеģ¬ÁÚ¾Ó¹ØϵÊÇͨ¹ý¿É¿¿µÄ¶àÄ¿×é²¥·½Ê½À´ÐγɺÍά»¤µÄ£¬Ëüͬʱ֧³ÖÌåϵ»¯IP±àÖ·¡£E IGRPÒ²Ö§³ÖVLSM£¬Õâ´Ù½øÁËIPµØÖ·µÄÓÐЧ·ÖÅ䣬ȱʡµØ£¬EIGRPÔÚÖ÷ÍøÂç±ß½ç½øÐзÓɹéÄÉ£¬EIGRPÖ§³Ö³¬¼¶ÍøÂç(supernet)µÄ´´½¨»ò¾ÛºÏµÄµØÖ·¿é¡£
ÉÏÒ»Ò³ [1] [2] [3] ÏÂÒ»Ò³
EIGRPÏà¹ØÊõÓ
lÁÚ¾Ó±í---ÿ̨EIGRP·ÓÉÆ÷¶¼Î¬»¤×ÅÒ»¸öÁÐÓÐÏàÁÚ·ÓÉÆ÷µÄ·ÓÉ±í¡£¸Ã±íÓëOSPFËùʹÓõÄÁÚ¾Ó£¨ÅþÁÚ¹Øϵ£©Êý¾Ý¿âÊǿɱȵġ£
lÍØÆӽṹ±í---EIGRP·ÓÉÆ÷ΪËùÅäÖõĵÚÖÖÍøÂçÐÒ鶼ÓÐά»¤×ÅÒ»¸öÍØÆӽṹ±í
l·Óɱí---EIGRP´ÓÍØÆӽṹ±íÖÐÑ¡Ôñµ½Ä¿µÄµØµÄ×î¼Ñ·¾¶£¬²¢½«ÕâЩ·Óɷŵ½Â·ÓɱíÖС£
lºó¼Ì·ÓÉÆ÷£¨sUCcessor£©---ÕâÊÇÓÃÀ´µ½ÆÚ´ïÄ¿µÄµØµÄÖ÷Ҫ·ÓÉÆ÷¡£
l¿ÉÐкó¼Ì·ÓÉÆ÷£¨Feasible Successor , FS£©---Ò»Ìõµ½´ïÄ¿µÄµØµÄ±¸·Ý·ÓÉ¡£
EIGRP²ÉÓÃÏÂÃæµÄÎåÖÖÀàÐÍÊý¾Ý°ü£º
lHELLO---HELLOÊý¾Ý°üÓõط¢ÏÖÁÚ¾Ó¡£
l¸üÐÂ---¸üÐÂÐÅÏ¢±»·¢ËÍÀ´Í¨¸æÒѱ»Ä³Ì¨Â·ÓÉÆ÷ÈÏΪ´ïµ½ÊÕÁ²µÄ·ÓÉ
l²éѯ---µ±Â·ÓÉÆ÷½øÐзÓɼÆË㵫ûÄÜ·¢ÏÖ¿ÉÐеĺó¼Ì·ÓÉʱ£¬Ëü¾ÍÏòËûÁÚ¾Ó·¢ËÍÒ»¸ö²éѯÊý¾Ý°üÒÔѯÎÊËüÃÇÊÇ·ñÓÐÒ»¸öµ½Ä¿µÄµØµÄ¿ÉÐкó¼Ì·ÓÉ¡£
l´ð¸´---´ð¸´Êý¾Ý°üÊÇÓÃÓÚ¶Ô²éѯÊý¾Ý°ü½øÐÐÓ¦´ð¡£
lÈ·ÈÏ£¨ACK£©---È·ÈÏÊÇÓÃÀ´È·ÈϸüС¢²éѯºÍ´ð¸´µÄ¡£
EIGRPµÄ¿É¿¿ÐÔ£º
EIGRPµÄ¿É¿¿ÐÔ¼¼ÊõÈ·±£Á˵½ÆÚÏàÁÚ·ÓÉÆ÷µÄ¹Ø¼ü·ÓÉÐÅÏ¢µÄ´«Êä¡£ÕâЩÐÅÏ¢ÊÇEIGRPά»¤ÎÞ»·Â·ÍØÆӽṹËùÐèÒªµÄ¡£ËùÓд«µÝ·ÓÉÐÅÏ¢£¨¸üС¢²éѯºÍ´ð¸´£©µÄÊý¾Ý¶¼±»¿É¿¿µØ·¢ËÍ¡£
¿É¿¿´«ÊäÐÒéRTP£¬¸ºÔðEIGRPÊý¾Ý°üµ½ËùÓÐÁÚ¾ÓµÄÓб£Ö¤ºÍ°´Ë³ÐòµÄ´«Êä¡£ËüÖ§³Ö¶àÄ¿×é²¥»òµ¥µã´«ËÍÊý¾Ý°üµÄ»ìºÏ´«Êä¡£³öÓÚ¶ÔЧÂʵĿ¼ÂÇ£¬Ö»ÓÐijЩE IGRPÊý¾Ý°ü±»±£Ö¤¿É¿¿´«Êä¡£
RTPÈ·±£ÔÚÏàÁÚ·ÓÉÆ÷¼äÕýÔÚ½øÐеÄͨÐÅÄܹ»±»Î¬³Ö¡£Òò´Ë£¬ËüΪµÚ¸öÁÚ¾Óά»¤ÁËÒ»ÕÅÖØ´«±í¡£¸Ã±íָʾ»¹Ã»Óб»ÁÚ¾ÓÈ·ÈϵÄÊý¾Ý°ü¡£Î´È·ÈϵĿɿ¿Êý¾Ý°ü×î¶à¿ÉÒÔ±»ÖØ´«1 6´Î»òÖ±µ½±£³Öʱ¼ä³¬Ê±£¬ÒÔËüÃǵ±ÖÐʱ¼ä¸ü³¤µÄÄǸöΪÏÞ¡£
EIGRPËùʹÓõĶàÄ¿×é²¥µØÖ·ÊÇ224.0.0.10
ͨ¹ýHELLOÐÒ飬EIGRP·ÓÉÆ÷¿ÉÒÔ¶¯Ì¬µØ·¢ÏÖÖ±½ÓÓëËüÏàÁ¬µÄÆäËü·ÓÉÆ÷¡£
²é¿´IPÁÚ¾Ó±í£º
show ip eigrp neighbors
²é¿´ÍØÆӽṹ±íÖÐËùÓÐIPÌõÄ¿£º
show ip eigrp topology all-links
ÏÔʾIP·Óɵĺó¼Ì·ÓɺͿÉÐкó¼Ì·ÓÉ
show ip eigrp topology
EIGRP·ÓÉÑ¡Ôñ¹ý³ÌÓëÆäËü·ÓÉÑ¡ÔñÐÒ鲻ͬ£¬Ëü¾ßÓÐÈçÏÂÌص㣺
lEIGRPÑ¡ÔñÖ÷·ÓÉÓ뱸·Ý·ÓÉ£¬²¢½«ÕâЩ·Óɼӵ½ÆÚÍØÆӽṹ±íÖУ¨Ã¿¸öÄ¿µÄµØ×î¶àÓÐ6¸ö£©È»ºó½«Ö÷·Óɷŵ½ÆÚ·ÓɱíÖС£
lEIGRP¶ÈÁ¿ÖµÊÇIGRP¶ÈÁ¿Öµ³ËÒÔ256¡£¸Ã¶ÈÁ¿ÖµµÄ¼ÆËã¿ÉÒÔʹÓÃÏÂÃæ5¸ö±äÁ¿
----´ø¿í£ºÔ´ºÍÄ¿µÄµØ¼ä×îÉÙ´ø¿í£»
----ÑÓʱ£ºÂ·¾¶ÉϵÄÀÛ»ý½Ó¿ÚÑÓʱ£»
----¿É¿¿ÐÔ£º¸ù¾ÝkeepaliveÐÅÏ¢µÄÔ´ÓëÄ¿µÄµØ¼äµÄ×î²î¿É¿¿ÐÔ£»
----¸ºÔØ£ºÔÚÔ´ºÍÄ¿µÄµØÖ®¼äÁ´Â·ÉϵÄ×îÖظºÔØ£»
----×î´ó´«Êäµ¥Ôª£¨MTU£©£ºÂ·¾¶ÖÐ×îСMTU£»
lEIGRP²ÉÓÃDUALËã·¨¼ÆË㵽ĿµÄµØµÄ×î¼Ñ·ÓÉ¡£
±¸·Ý·¾¶ÖеÄÏÂÒ»Ìø·ÓÉÆ÷Ò²±»×Ó³ÆΪ¿ÉÐкó¼Ì·ÓÉÆ÷£¨FS£©¡£
ÅäÖÃEIGRP
ÅäÖÃEIGRPµÄ²½Ö裺
1£®ÆôÓÃEIGRP£¬²¢¶¨Òå×ÔÖÎϵͳ¡£
Router(config)#Router eigrp autonomous-system-number
2.˵Ã÷ÄÄЩÍøÂçÖÐEIGRP×ÔÖÎϵͳµÄÒ»²¿·Ö
Router(config-router)#network network-number
£¨³ö´¦£ºhttp://www.sheup.com£©
ÉÏÒ»Ò³ [1] [2] [3]
----¿É¿¿ÐÔ£º¸ù¾ÝkeepaliveÐÅÏ¢µÄÔ´ÓëÄ¿µÄµØ¼äµÄ×î²î¿É¿¿ÐÔ£»
----¸ºÔØ£ºÔÚÔ´ºÍÄ¿µÄµØÖ®¼äÁ´Â·ÉϵÄ×îÖظºÔØ£»
----×î´ó´«Êäµ¥Ôª£¨MTU£©£ºÂ·¾¶ÖÐ×îСMTU£»
lEIGRP²ÉÓÃDUALËã·¨¼ÆË㵽ĿµÄµØµÄ×î¼Ñ·ÓÉ¡£
±¸·Ý·¾¶ÖеÄÏÂÒ»Ìø·ÓÉÆ÷Ò²±»×Ó³ÆΪ¿ÉÐкó¼Ì·ÓÉÆ÷£¨FS£©¡£
ÅäÖÃEIGRP
ÅäÖÃEIGRPµÄ²½Ö裺
1£®ÆôÓÃEIGRP£¬²¢¶¨Òå×ÔÖÎϵͳ¡£
Router(config)#Router eigrp autonomous-system-number
2.˵Ã÷ÄÄЩÍøÂçÖÐEIGRP×ÔÖÎϵͳµÄÒ»²¿·Ö
Router(config-router)#network network-number
£¨³ö´¦£ºhttp://www.sheup.com£©
ÉÏÒ»Ò³ [1] [2] [3] [4]