{"id":924,"date":"2008-10-07T22:21:00","date_gmt":"2008-10-07T14:21:00","guid":{"rendered":"http:\/\/note.systw.net\/note\/?p=924"},"modified":"2023-11-07T22:30:29","modified_gmt":"2023-11-07T14:30:29","slug":"cisco-igrp-route","status":"publish","type":"post","link":"https:\/\/systw.net\/note\/archives\/924","title":{"rendered":"Cisco IGRP Route"},"content":{"rendered":"\n<p>\u4f7f\u7528igrp<br>(config)#router igrp &lt; as&gt; \/\/as\u53ef\u81ea\u8a02,\u7528\u5728igrp\u7db2\u57df<br>(config-router)#network &lt; ip&gt;<br>ex:\u8b93192.168.1.0\u8207192.168.100.0\u4f7f\u7528igrp,\u4e26\u8a2das\u70ba100<br>(config)#router igrp 100<br>(config-router)#network 192.168.1.0<br>(config-router)#network 192.168.100.0<br>ps:\u5404\u8def\u7531\u5668\u4e0a\u7684as\u8a2d\u76f8\u540c\u624d\u53ef\u4e92\u52d5<\/p>\n\n\n\n<p>\u8a2d\u5b9aigrp\u5e73\u8861\u5e7e\u689d\u8def\u5f91\u8ca0\u8f09\u7684\u80fd\u529b<br>(config-router)#maximum-paths &lt; maximum&gt;<br>maximum\u503c\u70ba1-6,\u901a\u5e38\u7cfb\u7d71\u9810\u8a2d\u70ba4<br>\u5404\u8def\u5f91\u53ef\u4e0d\u540c\u6210\u672c<\/p>\n\n\n\n<p>\u8a2d\u5b9aigrp\u7684hop count<br>(config-router)#metric maximum-hops &lt; value&gt;<br>\u9810\u8a2dhop count\u70ba100<\/p>\n\n\n\n<p>\u8a2d\u5b9aigrp metric\u53c3\u6578<br>(config-router)#metric weights &lt; option&gt;<\/p>\n\n\n\n<p>ps:<br>(config-router)#?<br>exit\u3000\u3000 Exit from routing protocol configuration mode<br>network\u3000\u3000 Enable routing on an IP network<br>redistribute\u3000\u3000 Redistribute information from another routing protocol<br>default-metric\u3000\u3000 Set metric of redistributed routes<br>distribute-list\u3000\u3000 Filter networks in routing updates<br>default-information\u3000\u3000 Control distribution of default information<br>distance\u3000\u3000 Control distribution of default information<br>passive-interface\u3000\u3000 Suppress routing updates on an interface<br><br>&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;<\/p>\n\n\n\n<p>\u958b\u555figrp\u5075\u932f\u6a21\u5f0f<br>#debug ip igrp &lt; events|transactions&gt;<br>transactions\u662f\u986f\u793a\u4f86\u81ea\u9130\u8fd1\u8def\u7531\u5668\u8981\u6c42\u65b0\u4e4b\u8a0a\u606f,\u4e26\u5f9e\u539f\u59cb\u8def\u7531\u5668\u5ee3\u64ad\u50b3\u9001\u81f3\u9130\u8fd1\u7684\u8def\u7531\u5668<br>\u4f7f\u7528transaction\u756b\u9762\u5927\u81f4\u5982\u4e0b<br>IGRP protocol debugging is on<br>IGRP: sending update to 255.255.255.255 via Ethernet0 (24.17.2.2) &#8211; suppressing null update \/\/\u9001\u51fa\u66f4\u65b0<br>IGRP: received update from 24.17.2.1 on Ethernet0<br>network 24.17.2.16, metric 273 (neighbor 1)<br>events\u662f\u986f\u793a\u5728\u7db2\u8def\u4e0a\u6240\u57f7\u884c\u7684igrp\u8def\u7531\u8cc7\u8a0a<br>\u4f7f\u7528events\u756b\u9762\u5927\u81f4\u5982\u4e0b<br>IGRP event debugging is on<br>IGRP: sending update to 255.255.255.255 via Ethernet0 (24.17.2.2)<br>IGRP: Update contains 0 interior, 0 system, and 0 exterior routes.<br>IGRP: Total routes in update: 0 &#8211; suppressing null update<br>IGRP: received update from 24.17.2.1 on Ethernet0<br>IGRP: Update contains 0 interior, 1 system, and 0 exterior routes.<br>IGRP: Total routes in update: 1<\/p>\n\n\n\n<p>\u986f\u793aigrp\u76f8\u95dc\u8cc7\u8a0a<br>#show ip protocols<br>\u756b\u9762\u5927\u81f4\u5982\u4e0b<br>Routing Protocol is &#8220;igrp 100&#8221; \/\/\u76ee\u524d\u4f7f\u7528igrp,as\u70ba100<br>Sending updates every 90 seconds, next due in 27 seconds \/\/\u6bcf90\u79d2\u66f4\u65b0<br>Invalid after 270 seconds, hold down 280, flushed after 630<br>Outgoing update filter list for all interfaces is not set<br>Incoming update filter list for all interfaces is not set<br>Default networks flagged in outgoing updates<br>Default networks accepted from incoming updates<br>IGRP metric weight K1=1, K2=0, K3=1, K4=0, K5=0<br>IGRP maximum hopcount 100<br>IGRP maximum metric variance 1<br>Redistributing: igrp 100<br>Routing for Networks:<br>\u3000192.168.1.0<br>\u3000192.168.100.0<br>Routing Information Sources:<br>Distance: (default is 100)\u3000\u3000\/\/ad\u70ba100<br><br>\u986f\u793aigrp\u8def\u7531\u8868<br>#show ip route<br>\u756b\u9762\u5927\u81f4\u5982\u4e0b<br>&#8230;\u7701\u7565<br>C 192.168.100.0 is directly connected, Ethernet0<br>C 192.168.1.0 is directly connected, Ethernet1<br>I 192.168.2.0 [100\/273] via 192.168.100.1, 00:04:44, Ethernet0<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u4f7f\u7528igrp(config)#router igrp &#038;lt &#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"fifu_image_url":"","fifu_image_alt":"","_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[33],"tags":[],"class_list":["post-924","post","type-post","status-publish","format-standard","hentry","category-cisco-layer3"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/systw.net\/note\/wp-json\/wp\/v2\/posts\/924","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/systw.net\/note\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/systw.net\/note\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/systw.net\/note\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/systw.net\/note\/wp-json\/wp\/v2\/comments?post=924"}],"version-history":[{"count":0,"href":"https:\/\/systw.net\/note\/wp-json\/wp\/v2\/posts\/924\/revisions"}],"wp:attachment":[{"href":"https:\/\/systw.net\/note\/wp-json\/wp\/v2\/media?parent=924"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/systw.net\/note\/wp-json\/wp\/v2\/categories?post=924"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/systw.net\/note\/wp-json\/wp\/v2\/tags?post=924"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}