{"id":1522,"date":"2011-08-20T02:21:28","date_gmt":"2011-08-19T18:21:28","guid":{"rendered":"http:\/\/www.slyar.com\/blog\/?p=1522"},"modified":"2022-07-03T15:52:03","modified_gmt":"2022-07-03T22:52:03","slug":"ccnp-routing-ospf-experiment","status":"publish","type":"post","link":"http:\/\/www.slyar.com\/blog\/ccnp-routing-ospf-experiment.html","title":{"rendered":"OSPF\u7efc\u5408\u5b9e\u9a8c\u914d\u7f6e\u601d\u8def\u53ca\u8fc7\u7a0b"},"content":{"rendered":"<p>\u6587\u7ae0\u4f5c\u8005\uff1a<span style=\"color: #0000ff;\">\u59dc\u5357(Slyar) <\/span>\u6587\u7ae0\u6765\u6e90\uff1aSlyar Home (<a title=\"Slyar\" href=\"http:\/\/www.slyar.com\" target=\"_blank\" rel=\"noopener\">www.slyar.com<\/a>) \u8f6c\u8f7d\u8bf7\u6ce8\u660e\uff0c\u8c22\u8c22\u5408\u4f5c\u3002<\/p>\n<p>\u4e00\u4e2aOSPF\u7efc\u5408\u5b9e\u9a8c\uff0c\u5305\u62ec9\u53f0\u8def\u7531\u5668(\u5176\u4e2d\u4e00\u53f0\u6a21\u62df\u5e27\u4e2d\u7ee7\u4ea4\u6362\u673a)\uff0c\u6d89\u53caOSPF\u591a\u533a\u57df\u3001OSPF\u865a\u94fe\u8def\u3001Stub\u533a\u57df\u3001NSSA\u533a\u57df\u3001OSPF\u624b\u52a8\u6c47\u603b\u3001OSPF\u63a5\u53e3\u8ba4\u8bc1\u3001OSPF\u533a\u57df\u8ba4\u8bc1\u7b49\u6280\u672f\u3002<\/p>\n<p>GNS3\u62d3\u6251\u4e0e\u5b9e\u9a8c\u62d3\u6251\u56fe\u5b8c\u5168\u4e00\u81f4\uff0c\u6211\u628a\u9884\u914d\u7f6e\u6587\u4ef6\u4e5f\u4e00\u8d77\u6253\u5305\u653e\u5230\u7f51\u76d8\u4e0a\u4e86(\u5305\u62ec\u6240\u6709\u7684\u63a5\u53e3\u914d\u7f6e\u4ee5\u53ca\u5e27\u4e2d\u7ee7\u4ea4\u6362\u673a\u7684\u914d\u7f6e)\uff0c\u9700\u8981\u7684\u53ef\u4ee5\u76f4\u63a5\u4e0b\u8f7d\u4e13\u6ce8\u4e8e\u7ec3\u4e60OSPF\u3002<\/p>\n<p><a title=\"Slyar_OSPF_GNS3\" href=\"http:\/\/u.115.com\/file\/clqvyips\" target=\"_blank\" rel=\"noopener\">GNS3\u5b9e\u9a8c\u62d3\u6251\u53ca\u9884\u914d\u7f6e\u6587\u4ef6<\/a><\/p>\n<p><!--more-->\u5b9e\u9a8c\u62d3\u6251\u56fe<\/p>\n<p><a href=\"http:\/\/www.slyar.com\/blog\/wp-content\/uploads\/2011\/08\/OSPF\u5927\u578b\u5b9e\u9a8c.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1523\" title=\"OSPF\u5927\u578b\u5b9e\u9a8c\" src=\"http:\/\/www.slyar.com\/blog\/wp-content\/uploads\/2011\/08\/OSPF\u5927\u578b\u5b9e\u9a8c.jpg\" alt=\"\" width=\"876\" height=\"558\" srcset=\"http:\/\/www.slyar.com\/blog\/wp-content\/uploads\/2011\/08\/OSPF\u5927\u578b\u5b9e\u9a8c.jpg 876w, http:\/\/www.slyar.com\/blog\/wp-content\/uploads\/2011\/08\/OSPF\u5927\u578b\u5b9e\u9a8c-150x96.jpg 150w, http:\/\/www.slyar.com\/blog\/wp-content\/uploads\/2011\/08\/OSPF\u5927\u578b\u5b9e\u9a8c-300x191.jpg 300w, http:\/\/www.slyar.com\/blog\/wp-content\/uploads\/2011\/08\/OSPF\u5927\u578b\u5b9e\u9a8c-768x489.jpg 768w\" sizes=\"auto, (max-width: 876px) 100vw, 876px\" \/><\/a><\/p>\n<p>\u5b9e\u9a8c\u8fc7\u7a0b\uff1a<\/p>\n<p><strong>1\u3001\u5e27\u4e2d\u7ee7\u4ea4\u6362\u673a\u7684\u914d\u7f6e\uff0c\u6211\u7b80\u5355\u5199\u4e00\u4e0b(\u9884\u914d\u7f6e\u5df2\u7ecf\u505a\u597d\uff0c\u8ddfOSPF\u5173\u7cfb\u4e0d\u5927)\u3002<\/strong><\/p>\n<p>en<br \/>\nconf t<br \/>\nho R9<br \/>\nframe-relay switching<br \/>\nint s1\/0<br \/>\nencapsulation frame-relay<br \/>\nclock rate 64000<br \/>\nframe-relay intf-type dce<br \/>\nframe-relay route 203 interface s1\/1 302<br \/>\nframe-relay route 204 interface s1\/2 402<br \/>\nno sh<br \/>\nint s1\/1<br \/>\nencapsulation frame-relay<br \/>\nclock rate 64000<br \/>\nframe-relay intf-type dce<br \/>\nframe-relay route 302 interface s1\/0 203<br \/>\nno sh<br \/>\nint s1\/2<br \/>\nencapsulation frame-relay<br \/>\nclock rate 64000<br \/>\nframe-relay intf-type dce<br \/>\nframe-relay route 402 interface s1\/0 204<br \/>\nno sh<br \/>\nend<\/p>\n<p><strong>2\u3001\u914d\u7f6eArea 0\u533a\u57df\uff0c\u4e0d\u9700\u8981\u91c7\u7528\u5b50\u63a5\u53e3\uff0c\u7269\u7406\u63a5\u53e3\u7f51\u7edc\u7c7b\u578b\u8bbe\u7f6e\u4e3abroadcast\u5373\u53ef\u3002<\/strong><\/p>\n<p>R2(config)#router ospf 10<br \/>\nR2(config-router)#router-id 2.2.2.2<br \/>\nR2(config-router)#network 172.17.1.1 0.0.0.0 area 0<br \/>\n<span style=\"color: #ff0000;\">\/\/ \u4fee\u6539OSPF\u63a5\u53e3\u7f51\u7edc\u7c7b\u578b\u4e3a\u5e7f\u64ad<\/span><br \/>\nR2(config-router)#int s1\/2<br \/>\nR2(config-if)#ip ospf network broadcast<\/p>\n<p>R3(config)#router ospf 10<br \/>\nR3(config-router)#router-id 3.3.3.3<br \/>\nR3(config-router)#network 172.17.1.2 0.0.0.0 area 0<br \/>\n<span style=\"color: #ff0000;\">\/\/ \u4fee\u6539OSPF\u63a5\u53e3\u7f51\u7edc\u7c7b\u578b\u4e3a\u5e7f\u64ad<\/span><br \/>\nR3(config-router)#int s1\/2<br \/>\nR3(config-if)#ip ospf network broadcast<br \/>\n<span style=\"color: #ff0000;\">\/\/ \u8bbe\u7f6eospf\u63a5\u53e3\u4f18\u5148\u7ea7\u4e3a0\uff0c\u7981\u6b62R3\u6210\u4e3aDR\/BDR<\/span><br \/>\nR3(config-if)#ip ospf priority 0<\/p>\n<p>R4(config)#router ospf 10<br \/>\nR4(config-router)#router-id 4.4.4.4<br \/>\nR4(config-router)#network 172.17.1.3 0.0.0.0 area 0<br \/>\n<span style=\"color: #ff0000;\">\/\/ \u4fee\u6539OSPF\u63a5\u53e3\u7f51\u7edc\u7c7b\u578b\u4e3a\u5e7f\u64ad<\/span><br \/>\nR4(config-router)#int s1\/2<br \/>\nR4(config-if)#ip ospf network broadcast<br \/>\n<span style=\"color: #ff0000;\">\/\/\u8bbe\u7f6eospf\u63a5\u53e3\u4f18\u5148\u7ea7\u4e3a0\uff0c\u7981\u6b62R4\u6210\u4e3aDR\/BDR<\/span><br \/>\nR4(config-if)#ip ospf priority 0<\/p>\n<p><strong>3\u3001\u5728R2\u4e0a\u68c0\u67e5\u90bb\u5c45\u5173\u7cfb\uff0cR3\u548cR4\u5747\u4e3aDROTHER<\/strong><\/p>\n<p>R2#sh ip ospf neighbor<\/p>\n<p>Neighbor ID\u00a0\u00a0\u00a0\u00a0 Pri\u00a0\u00a0 State\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 Dead Time\u00a0\u00a0 Address\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 Interface<br \/>\n3.3.3.3\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 0\u00a0\u00a0 FULL\/DROTHER\u00a0\u00a0\u00a0 00:00:34\u00a0\u00a0\u00a0 172.17.1.2\u00a0\u00a0\u00a0\u00a0\u00a0 Serial1\/2<br \/>\n4.4.4.4\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 0\u00a0\u00a0 FULL\/DROTHER\u00a0\u00a0\u00a0 00:00:33\u00a0\u00a0\u00a0 172.17.1.3\u00a0\u00a0\u00a0\u00a0\u00a0 Serial1\/2<\/p>\n<p><strong>4\u3001\u914d\u7f6eArea 1\u533a\u57df<\/strong><\/p>\n<p>R2(config)#router ospf 10<br \/>\nR2(config-router)#net 10.1.1.2 0.0.0.0 area 1<\/p>\n<p>R1(config)#router ospf 10<br \/>\nR1(config-router)#router-id 1.1.1.1<br \/>\nR1(config-router)#net 172.16.0.0 0.0.3.255 area 1<br \/>\nR1(config-router)#net 10.1.1.1 0.0.0.0 area 1<\/p>\n<p><strong>5\u3001\u914d\u7f6eArea 2\u533a\u57df<\/strong><\/p>\n<p>R4(config)#router ospf 10<br \/>\nR4(config-router)#net 10.1.3.1 0.0.0.0 area 2<\/p>\n<p>R7(config)#router ospf 10<br \/>\nR7(config-router)#router-id 7.7.7.7<br \/>\nR7(config-router)#net 172.18.1.0 0.0.1.255 area 2<br \/>\nR7(config-router)#net 10.1.3.2 0.0.0.0 area 2<\/p>\n<p><strong>6\u3001\u914d\u7f6eArea 3\u533a\u57df<\/strong><\/p>\n<p>R7(config)#router ospf 10<br \/>\nR7(config-router)#net 10.1.4.1 0.0.0.0 area 3<\/p>\n<p>R8(config)#router ospf 10<br \/>\nR8(config-router)#router-id 8.8.8.8<br \/>\nR8(config-router)#net 172.20.0.0 0.0.3.255 area 3<br \/>\nR8(config-router)#net 10.1.4.2 0.0.0.0 area 3<\/p>\n<p><strong>7\u3001\u914d\u7f6eArea 4\u533a\u57df<\/strong><\/p>\n<p>R3(config)#router ospf 10<br \/>\nR3(config-router)#net 10.1.2.1 0.0.0.0 area 4<\/p>\n<p>R5(config)#router ospf 10<br \/>\nR5(config-router)#router-id 5.5.5.5<br \/>\nR5(config-router)#net 172.19.0.0 0.0.1.255 area 4<br \/>\nR5(config-router)#net 10.1.2.2 0.0.0.0 area 4<\/p>\n<p><strong>8\u3001\u7531\u4e8eArea 3\u6ca1\u6709\u8ddfArea 0\u76f4\u63a5\u76f8\u8fde\uff0c\u56e0\u6b64\u9700\u8981\u5728R4\u548cR7\u4e0a\u521b\u5efa\u865a\u94fe\u8def<\/strong><\/p>\n<p><span style=\"color: #ff0000;\">\/\/\u865a\u94fe\u8def\u53c2\u6570\u4e3a\u5bf9\u7aef\u8def\u7531\u5668Router ID<\/span><br \/>\nR4(config)#router ospf 10<br \/>\nR4(config-router)#area 2 virtual-link 7.7.7.7<\/p>\n<p>R7(config)#router ospf 10<br \/>\nR7(config-router)#area 2 virtual-link 4.4.4.4<\/p>\n<p><strong>9\u3001\u914d\u7f6eripv2\u8def\u7531\u534f\u8bae\uff0c\u7531\u4e8erip\u4e0d\u652f\u6301\u63a9\u7801\u8868\u793a\u6cd5\uff0c\u56e0\u6b64\u9700\u8981\u4f9d\u6b21\u5ba3\u544a\u6bcf\u4e2aC\u7c7b\u7f51\u6bb5<\/strong><\/p>\n<p>R5(config)#router rip<br \/>\nR5(config-router)#version 2<br \/>\nR5(config-router)#no auto-summary<br \/>\nR5(config-router)#net 192.168.255.0<\/p>\n<p>R6(config)#router rip<br \/>\nR6(config-router)#version 2<br \/>\nR6(config-router)#no auto-summary<br \/>\nR6(config-router)#net 192.168.0.0<br \/>\nR6(config-router)#net 192.168.1.0<br \/>\nR6(config-router)#net 192.168.2.0<br \/>\nR6(config-router)#net 192.168.3.0<br \/>\nR6(config-router)#net 192.168.4.0<br \/>\nR6(config-router)#net 192.168.5.0<br \/>\nR6(config-router)#net 192.168.6.0<br \/>\nR6(config-router)#net 192.168.7.0<br \/>\nR6(config-router)#net 192.168.8.0<br \/>\nR6(config-router)#net 192.168.9.0<br \/>\nR6(config-router)#net 192.168.10.0<br \/>\nR6(config-router)#net 192.168.11.0<br \/>\nR6(config-router)#net 192.168.255.0<\/p>\n<p><strong>10\u3001\u5728R5\u4e0a\u5c06rip\u91cd\u5206\u5e03\u8fdbospf\uff0c\u5f00\u9500\u4f7f\u7528E1\u7c7b\u578b\uff0c\u6b64\u65f6R5\u4e3aASBR<\/strong><\/p>\n<p>R5(config)#router ospf 10<br \/>\nR5(config-router)#redistribute rip subnets metric-type 1<\/p>\n<p><strong>11\u3001\u68c0\u67e5R2\u7684\u8def\u7531\u8868\uff0c\u5e94\u53ef\u4ee5\u5b66\u5230192.168.0.0\/24\u7f51\u6bb5<\/strong><\/p>\n<p>R2#sh ip ro<br \/>\nO E1 192.168.8.0\/24 [110\/148] via 172.17.1.2, 00:00:58, Serial1\/2<br \/>\nO E1 192.168.9.0\/24 [110\/148] via 172.17.1.2, 00:00:58, Serial1\/2<br \/>\nO E1 192.168.10.0\/24 [110\/148] via 172.17.1.2, 00:00:58, Serial1\/2<br \/>\n172.17.0.0\/24 is subnetted, 1 subnets<br \/>\nC\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 172.17.1.0 is directly connected, Serial1\/2<br \/>\n172.16.0.0\/24 is subnetted, 4 subnets<br \/>\nO\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 172.16.0.0 [110\/65] via 10.1.1.1, 00:10:09, Serial1\/0<br \/>\nO\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 172.16.1.0 [110\/65] via 10.1.1.1, 00:10:09, Serial1\/0<br \/>\nO\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 172.16.2.0 [110\/65] via 10.1.1.1, 00:10:12, Serial1\/0<br \/>\nO\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 172.16.3.0 [110\/65] via 10.1.1.1, 00:10:12, Serial1\/0<br \/>\n172.19.0.0\/24 is subnetted, 2 subnets<br \/>\nO IA\u00a0\u00a0\u00a0 172.19.1.0 [110\/129] via 172.17.1.2, 00:06:38, Serial1\/2<br \/>\nO IA\u00a0\u00a0\u00a0 172.19.0.0 [110\/129] via 172.17.1.2, 00:06:38, Serial1\/2<br \/>\n172.18.0.0\/24 is subnetted, 2 subnets<br \/>\nO IA\u00a0\u00a0\u00a0 172.18.0.0 [110\/129] via 172.17.1.3, 00:06:41, Serial1\/2<br \/>\nO IA\u00a0\u00a0\u00a0 172.18.1.0 [110\/129] via 172.17.1.3, 00:06:41, Serial1\/2<br \/>\n172.20.0.0\/24 is subnetted, 4 subnets<br \/>\nO IA\u00a0\u00a0\u00a0 172.20.0.0 [110\/193] via 172.17.1.3, 00:06:41, Serial1\/2<br \/>\nO IA\u00a0\u00a0\u00a0 172.20.1.0 [110\/193] via 172.17.1.3, 00:06:41, Serial1\/2<br \/>\nO IA\u00a0\u00a0\u00a0 172.20.2.0 [110\/193] via 172.17.1.3, 00:06:41, Serial1\/2<br \/>\nO IA\u00a0\u00a0\u00a0 172.20.3.0 [110\/193] via 172.17.1.3, 00:06:41, Serial1\/2<br \/>\nO E1 192.168.11.0\/24 [110\/148] via 172.17.1.2, 00:01:04, Serial1\/2<br \/>\nO E1 192.168.4.0\/24 [110\/148] via 172.17.1.2, 00:01:04, Serial1\/2<br \/>\nO E1 192.168.5.0\/24 [110\/148] via 172.17.1.2, 00:01:04, Serial1\/2<br \/>\n10.0.0.0\/24 is subnetted, 4 subnets<br \/>\nO IA\u00a0\u00a0\u00a0 10.1.3.0 [110\/128] via 172.17.1.3, 00:06:41, Serial1\/2<br \/>\nO IA\u00a0\u00a0\u00a0 10.1.2.0 [110\/128] via 172.17.1.2, 00:06:41, Serial1\/2<br \/>\nC\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 10.1.1.0 is directly connected, Serial1\/0<br \/>\nO IA\u00a0\u00a0\u00a0 10.1.4.0 [110\/192] via 172.17.1.3, 00:06:41, Serial1\/2<br \/>\nO E1 192.168.6.0\/24 [110\/148] via 172.17.1.2, 00:01:04, Serial1\/2<br \/>\nO E1 192.168.7.0\/24 [110\/148] via 172.17.1.2, 00:01:07, Serial1\/2<br \/>\nO E1 192.168.255.0\/24 [110\/148] via 172.17.1.2, 00:01:07, Serial1\/2<br \/>\nO E1 192.168.0.0\/24 [110\/148] via 172.17.1.2, 00:01:07, Serial1\/2<br \/>\nO E1 192.168.1.0\/24 [110\/148] via 172.17.1.2, 00:01:07, Serial1\/2<br \/>\nO E1 192.168.2.0\/24 [110\/148] via 172.17.1.2, 00:01:07, Serial1\/2<br \/>\nO E1 192.168.3.0\/24 [110\/148] via 172.17.1.2, 00:01:07, Serial1\/2<\/p>\n<p><strong>12\u3001\u4e3a\u4e86\u51cf\u5c0fR1\u8def\u7531\u8868\u7684\u4f53\u79ef\uff0c\u5c06Area 1\u914d\u7f6e\u4e3aTotally Stub\u533a\u57df\uff0c\u963b\u6b62LSA TYPE 3\/4\/5\uff0c\u5e76\u4e14\u81ea\u52a8\u5ba3\u544a\u4e00\u6761\u9ed8\u8ba4\u8def\u7531<\/strong><\/p>\n<p>R1(config)#router ospf 10<br \/>\nR1(config-router)#area 1 stub<\/p>\n<p><span style=\"color: #ff0000;\">\/\/no-summary\u53c2\u6570\u4ec5\u9700\u8981\u5728ABR\u4e0a\u914d\u7f6e<\/span><br \/>\nR2(config)#router ospf 10<br \/>\nR2(config-router)#area 1 stub no-summary<\/p>\n<p><strong>13\u3001\u68c0\u67e5R1\u7684\u8def\u7531\u8868\uff0c\u53ea\u6709\u76f4\u8fde\u7f51\u6bb5\u53ca\u4e00\u6761\u9ed8\u8ba4\u8def\u7531<\/strong><\/p>\n<p>R1(config-router)#do sh ip ro<br \/>\n172.16.0.0\/24 is subnetted, 4 subnets<br \/>\nC\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 172.16.0.0 is directly connected, Loopback0<br \/>\nC\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 172.16.1.0 is directly connected, Loopback1<br \/>\nC\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 172.16.2.0 is directly connected, Loopback2<br \/>\nC\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 172.16.3.0 is directly connected, Loopback3<br \/>\n10.0.0.0\/24 is subnetted, 1 subnets<br \/>\nC\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 10.1.1.0 is directly connected, Serial1\/1<br \/>\n<span style=\"color: #800080;\">O*IA 0.0.0.0\/0 [110\/65] via 10.1.1.2, 00:00:26, Serial1\/1<\/span><\/p>\n<p><strong>14\u3001\u4e3a\u4e86\u51cf\u5c0f\u5176\u4ed6\u8def\u7531\u5668\u7684\u8def\u7531\u8868\u4f53\u79ef\uff0c\u5728R2\u4e0a\u5bf9Area 1\u8fdb\u884c\u533a\u57df\u8def\u7531\u6c47\u603b<\/strong><\/p>\n<p>R2(config)#router ospf 10<br \/>\nR2(config-router)#area 1 range 172.16.0.0 255.255.252.0<\/p>\n<p><strong>15\u3001\u7531\u4e8eArea 4\u540c\u6837\u53ea\u6709\u4e00\u6761\u51fa\u53e3\uff0c\u5e76\u4e14Area 4\u8fd8\u8fde\u63a5\u7740\u5916\u90e8AS\uff0c\u56e0\u6b64\u5c06Area 4\u914d\u7f6e\u4e3aTotally NSSA\u533a\u57df<\/strong><\/p>\n<p><span style=\"color: #ff0000;\">\/\/\u53c2\u6570\u53ea\u57287-&gt;5\u7684ABR\/ASBR\u4e0a\u505a\uff0c\u963b\u6b62LSA TYPE 3\/4\/5<\/span><br \/>\nR3(config)#router ospf 10<br \/>\nR3(config-router)#area 4 nssa no-redistribution no-summary<\/p>\n<p>R5(config)#router ospf 10<br \/>\nR5(config-router)#area 4 nssa<\/p>\n<p><strong>16\u3001\u5728R5\u4e0a\u5bf9rip\u8fdb\u884c\u533a\u57df\u95f4\u8def\u7531\u6c47\u603b\uff0c\u51cf\u5c0f\u5176\u4ed6\u8def\u7531\u5668\u8def\u7531\u8868\u4f53\u79ef<\/strong><\/p>\n<p>R5(config)#router ospf 10<br \/>\nR5(config-router)#summary-address 192.168.0.0 255.255.240.0<\/p>\n<p><strong>17\u3001\u68c0\u67e5R5\u8def\u7531\u8868\uff0c\u7531\u4e8e\u963b\u6b62\u4e86LSA TYPE 3\/4\/5\uff0c\u56e0\u6b64R5\u5e94\u53ea\u5305\u542bRIP\u8def\u7531\u6761\u76ee\u3001\u4e00\u6761\u7531R3\u4ea7\u751f\u7684\u9ed8\u8ba4\u8def\u7531\uff0c\u4ee5\u53ca\u914d\u7f6e\u8def\u7531\u6c47\u603b\u540e\u81ea\u52a8\u4ea7\u751f\u7684\u6c47\u603b\u8def\u7531<\/strong><\/p>\n<p>R5#sh ip ro<br \/>\nR\u00a0\u00a0\u00a0 192.168.8.0\/24 [120\/1] via 192.168.255.2, 00:00:06, Serial1\/1<br \/>\nR\u00a0\u00a0\u00a0 192.168.9.0\/24 [120\/1] via 192.168.255.2, 00:00:06, Serial1\/1<br \/>\nR\u00a0\u00a0\u00a0 192.168.10.0\/24 [120\/1] via 192.168.255.2, 00:00:06, Serial1\/1<br \/>\n172.19.0.0\/24 is subnetted, 2 subnets<br \/>\nC\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 172.19.1.0 is directly connected, Loopback1<br \/>\nC\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 172.19.0.0 is directly connected, Loopback0<br \/>\nR\u00a0\u00a0\u00a0 192.168.11.0\/24 [120\/1] via 192.168.255.2, 00:00:06, Serial1\/1<br \/>\nR\u00a0\u00a0\u00a0 192.168.4.0\/24 [120\/1] via 192.168.255.2, 00:00:06, Serial1\/1<br \/>\nR\u00a0\u00a0\u00a0 192.168.5.0\/24 [120\/1] via 192.168.255.2, 00:00:08, Serial1\/1<br \/>\n10.0.0.0\/24 is subnetted, 1 subnets<br \/>\nC\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 10.1.2.0 is directly connected, Serial1\/0<br \/>\nR\u00a0\u00a0\u00a0 192.168.6.0\/24 [120\/1] via 192.168.255.2, 00:00:08, Serial1\/1<br \/>\nR\u00a0\u00a0\u00a0 192.168.7.0\/24 [120\/1] via 192.168.255.2, 00:00:08, Serial1\/1<br \/>\nC\u00a0\u00a0\u00a0 192.168.255.0\/24 is directly connected, Serial1\/1<br \/>\nR\u00a0\u00a0\u00a0 192.168.0.0\/24 [120\/1] via 192.168.255.2, 00:00:10, Serial1\/1<br \/>\nR\u00a0\u00a0\u00a0 192.168.1.0\/24 [120\/1] via 192.168.255.2, 00:00:10, Serial1\/1<br \/>\nR\u00a0\u00a0\u00a0 192.168.2.0\/24 [120\/1] via 192.168.255.2, 00:00:10, Serial1\/1<br \/>\nR\u00a0\u00a0\u00a0 192.168.3.0\/24 [120\/1] via 192.168.255.2, 00:00:10, Serial1\/1<br \/>\n<span style=\"color: #800080;\">O*IA 0.0.0.0\/0 [110\/65] via 10.1.2.1, 00:30:05, Serial1\/0<\/span><br \/>\n<span style=\"color: #800080;\">O\u00a0\u00a0\u00a0 192.168.0.0\/20 is a summary, 00:18:58, Null0<\/span><\/p>\n<p><strong>18\u3001\u540c\u7406\uff0c\u5c06Area 3\u914d\u7f6e\u4e3aTotally Stub\u533a\u57df<\/strong><\/p>\n<p>R8(config)#router ospf 10<br \/>\nR8(config-router)#area 3 stub<\/p>\n<p>R7(config)#router ospf 10<br \/>\nR7(config-router)#area 3 stub no-summary<\/p>\n<p><strong>19\u3001\u68c0\u67e5R8\u8def\u7531\u8868\uff0c\u7ed3\u679c\u7c7b\u4f3cR1<\/strong><\/p>\n<p>R8#sh ip ro<br \/>\n172.20.0.0\/24 is subnetted, 4 subnets<br \/>\nC\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 172.20.0.0 is directly connected, Loopback0<br \/>\nC\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 172.20.1.0 is directly connected, Loopback1<br \/>\nC\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 172.20.2.0 is directly connected, Loopback2<br \/>\nC\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 172.20.3.0 is directly connected, Loopback3<br \/>\n10.0.0.0\/24 is subnetted, 1 subnets<br \/>\nC\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 10.1.4.0 is directly connected, Serial1\/0<br \/>\n<span style=\"color: #800080;\">O*IA 0.0.0.0\/0 [110\/65] via 10.1.4.1, 00:03:29, Serial1\/0<\/span><\/p>\n<p><strong>20\u3001\u540c\u7406\uff0c\u5728R7\u4e0a\u5bf9Area 3\u8fdb\u884c\u533a\u57df\u8def\u7531\u6c47\u603b<\/strong><\/p>\n<p>R7(config-router)#area 3 range 172.20.0.0 255.255.252.0<\/p>\n<p><strong>21\u3001\u7531\u4e8eR5\u662fASBR\uff0cR3\u5ba3\u544a\u7684\u9ed8\u8ba4\u8def\u7531\u65e0\u6cd5\u5230\u8fbeRIP\u533a\u57df\uff0c\u56e0\u6b64\u9700\u8981\u5728R5\u4e0a\u4e3arip\u6307\u5b9a\u9ed8\u8ba4\u8def\u7531<\/strong><\/p>\n<p>R5(config)#router rip<br \/>\nR5(config-router)#default-information originate<\/p>\n<p><strong>22\u3001\u6307\u5b9a\u9ed8\u8ba4\u8def\u7531\u540e\u67e5\u770bR6\u8def\u7531\u8868<\/strong><\/p>\n<p>R6#sh ip ro<br \/>\nC\u00a0\u00a0\u00a0 192.168.8.0\/24 is directly connected, Loopback8<br \/>\nC\u00a0\u00a0\u00a0 192.168.9.0\/24 is directly connected, Loopback9<br \/>\nC\u00a0\u00a0\u00a0 192.168.10.0\/24 is directly connected, Loopback10<br \/>\nC\u00a0\u00a0\u00a0 192.168.11.0\/24 is directly connected, Loopback11<br \/>\nC\u00a0\u00a0\u00a0 192.168.4.0\/24 is directly connected, Loopback4<br \/>\nC\u00a0\u00a0\u00a0 192.168.5.0\/24 is directly connected, Loopback5<br \/>\nC\u00a0\u00a0\u00a0 192.168.6.0\/24 is directly connected, Loopback6<br \/>\nC\u00a0\u00a0\u00a0 192.168.7.0\/24 is directly connected, Loopback7<br \/>\nC\u00a0\u00a0\u00a0 192.168.255.0\/24 is directly connected, Serial1\/0<br \/>\nC\u00a0\u00a0\u00a0 192.168.0.0\/24 is directly connected, Loopback0<br \/>\nC\u00a0\u00a0\u00a0 192.168.1.0\/24 is directly connected, Loopback1<br \/>\nC\u00a0\u00a0\u00a0 192.168.2.0\/24 is directly connected, Loopback2<br \/>\nC\u00a0\u00a0\u00a0 192.168.3.0\/24 is directly connected, Loopback3<br \/>\n<span style=\"color: #800080;\">R*\u00a0\u00a0 0.0.0.0\/0 [120\/1] via 192.168.255.1, 00:00:09, Serial1\/0<\/span><\/p>\n<p><strong>23\u3001\u4e3aArea 3\u914d\u7f6e\u63a5\u53e3\u660e\u6587\u8ba4\u8bc1\uff0c\u5747\u5728\u63a5\u53e3\u4e0a\u914d\u7f6e<\/strong><\/p>\n<p>R7(config)#int s1\/1<br \/>\nR7(config-if)#ip ospf authentication-key slyar<br \/>\nR7(config-if)#ip ospf authentication<\/p>\n<p>R8(config)#int s1\/0<br \/>\nR8(config-if)#ip ospf authentication-key slyar<br \/>\nR8(config-if)#ip ospf authentication<\/p>\n<p><strong>24\u3001\u4e3aArea 0\u5b9e\u73b0\u533a\u57df\u8ba4\u8bc1\uff0c\u5bc6\u7801\u5728\u63a5\u53e3\u4e0a\u914d\u7f6e\uff0c\u8ba4\u8bc1\u5728OSPF\u8fdb\u7a0b\u4e2d\u542f\u7528<\/strong><\/p>\n<p>R2(config)#int s1\/2<br \/>\nR2(config-if)#ip ospf message-digest-key 1 md5 slyar<br \/>\nR2(config-if)#router ospf 10<br \/>\nR2(config-router)#area 0 authentication message-digest<\/p>\n<p>R3(config)#int s1\/2<br \/>\nR3(config-if)#ip ospf message-digest-key 1 md5 slyar<br \/>\nR3(config-if)#router ospf 10<br \/>\nR3(config-router)#area 0 authentication message-digest<\/p>\n<p>R4(config)#int s1\/2<br \/>\nR4(config-if)#ip ospf message-digest-key 1 md5 slyar<br \/>\nR4(config-if)#router ospf 10<br \/>\nR4(config-router)#area 0 authentication message-digest<\/p>\n<p><strong>25\u3001\u7531\u4e8evirtual-link\u5c5e\u4e8eArea 0\uff0c\u56e0\u6b64\u5728\u914d\u7f6e\u4e86Area 0\u7684\u533a\u57df\u8ba4\u8bc1\u65f6\uff0c\u865a\u94fe\u8def\u4e24\u7aef\u7684ABR\u4e0a\u90fd\u8981\u914d\u7f6e\u8ba4\u8bc1<\/strong><\/p>\n<p><span style=\"color: #ff0000;\">\/\/\u7531\u4e8e\u4e4b\u524d\u865a\u94fe\u8def\u5df2\u7ecf\u5efa\u7acb\uff0c\u6b64\u65f6\u5728R4\u4e0a\u67e5\u770b\u865a\u94fe\u8def\u662fUP\u7684\uff0c\u4f46\u53ea\u8981\u5728R7\u4e0a\u7528clear ip ospf process\u547d\u4ee4\u5237\u65b0\u4e00\u4e0bOSPF\u8fdb\u7a0b\uff0c\u5c31\u53ef\u4ee5\u89c2\u5bdf\u5230virtual-link\u7531\u4e8e\u8ba4\u8bc1\u4e0d\u5339\u914d\u800cDOWN\u6389\u4e86<\/span><\/p>\n<p>R7(config)#router ospf 10<br \/>\nR7(config-router)#area 0 authentication message-digest<\/p>\n<p><strong>26\u3001\u6700\u540e\u67e5\u770bR2\u7684\u8def\u7531\u8868\uff0c\u7531\u4e8eR5\u53caR7\u76f4\u8fde\u7684\u7f51\u6bb5\u53ea\u67092\u4e2a\uff0c\u56e0\u6b64\u4e0d\u9700\u8981\u914d\u7f6e\u8def\u7531\u6c47\u603b<\/strong><\/p>\n<p>R2#sh ip ro<br \/>\n172.17.0.0\/24 is subnetted, 1 subnets<br \/>\nC\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 172.17.1.0 is directly connected, Serial1\/2<br \/>\n172.16.0.0\/16 is variably subnetted, 5 subnets, 2 masks<br \/>\nO\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 172.16.0.0\/24 [110\/65] via 10.1.1.1, 00:00:10, Serial1\/0<br \/>\nO\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 172.16.0.0\/22 is a summary, 00:00:10, Null0<br \/>\nO\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 172.16.1.0\/24 [110\/65] via 10.1.1.1, 00:00:10, Serial1\/0<br \/>\nO\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 172.16.2.0\/24 [110\/65] via 10.1.1.1, 00:00:10, Serial1\/0<br \/>\nO\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 172.16.3.0\/24 [110\/65] via 10.1.1.1, 00:00:10, Serial1\/0<br \/>\n172.19.0.0\/24 is subnetted, 2 subnets<br \/>\nO IA\u00a0\u00a0\u00a0 172.19.1.0 [110\/129] via 172.17.1.2, 00:00:13, Serial1\/2<br \/>\nO IA\u00a0\u00a0\u00a0 172.19.0.0 [110\/129] via 172.17.1.2, 00:00:13, Serial1\/2<br \/>\n172.18.0.0\/24 is subnetted, 2 subnets<br \/>\nO IA\u00a0\u00a0\u00a0 172.18.0.0 [110\/129] via 172.17.1.3, 00:00:13, Serial1\/2<br \/>\nO IA\u00a0\u00a0\u00a0 172.18.1.0 [110\/129] via 172.17.1.3, 00:00:15, Serial1\/2<br \/>\n172.20.0.0\/22 is subnetted, 1 subnets<br \/>\nO IA\u00a0\u00a0\u00a0 172.20.0.0 [110\/193] via 172.17.1.3, 00:00:15, Serial1\/2<br \/>\n10.0.0.0\/24 is subnetted, 4 subnets<br \/>\nO IA\u00a0\u00a0\u00a0 10.1.3.0 [110\/128] via 172.17.1.3, 00:00:15, Serial1\/2<br \/>\nO IA\u00a0\u00a0\u00a0 10.1.2.0 [110\/128] via 172.17.1.2, 00:00:15, Serial1\/2<br \/>\nC\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 10.1.1.0 is directly connected, Serial1\/0<br \/>\nO IA\u00a0\u00a0\u00a0 10.1.4.0 [110\/192] via 172.17.1.3, 00:00:15, Serial1\/2<br \/>\nO E1 192.168.255.0\/24 [110\/149] via 172.17.1.2, 00:00:15, Serial1\/2<br \/>\nO E1 192.168.0.0\/20 [110\/149] via 172.17.1.2, 00:00:15, Serial1\/2<\/p>\n<p>\u8f6c\u8f7d\u8bf7\u6ce8\u660e\uff1a<a href=\"http:\/\/www.slyar.com\/blog\">Slyar Home<\/a> &raquo; <a href=\"http:\/\/www.slyar.com\/blog\/ccnp-routing-ospf-experiment.html\">OSPF\u7efc\u5408\u5b9e\u9a8c\u914d\u7f6e\u601d\u8def\u53ca\u8fc7\u7a0b<\/a><\/p>","protected":false},"excerpt":{"rendered":"<p>\u6587\u7ae0\u4f5c\u8005\uff1a\u59dc\u5357(Slyar) \u6587\u7ae0\u6765\u6e90\uff1aSlyar Home (www.slyar.com) \u8f6c\u8f7d\u8bf7\u6ce8\u660e\uff0c\u8c22\u8c22\u5408\u4f5c\u3002 \u4e00\u4e2aOSPF\u7efc\u5408\u5b9e\u9a8c\uff0c\u5305\u62ec9\u53f0\u8def\u7531\u5668(\u5176\u4e2d\u4e00\u53f0\u6a21\u62df\u5e27\u4e2d\u7ee7\u4ea4\u6362\u673a)\uff0c\u6d89\u53caOSPF\u591a\u533a\u57df\u3001OSPF\u865a\u94fe\u8def\u3001Stub\u533a\u57df\u3001NSSA\u533a\u57df\u3001O [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1104],"tags":[905,912],"class_list":["post-1522","post","type-post","status-publish","format-standard","hentry","category-computer-networks","tag-905","tag-912"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 5.0.2.1 - aioseo.com -->\n\t<meta name=\"description\" content=\"OSPF\u7efc\u5408\u5b9e\u9a8c\u914d\u7f6e\u601d\u8def\u53ca\u8fc7\u7a0b\uff0c\u6d89\u53caOSPF\u591a\u533a\u57df\u3001OSPF\u865a\u94fe\u8def\u3001Stub\u533a\u57df\u3001NSSA\u533a\u57df\u3001OSPF\u624b\u52a8\u6c47\u603b\u3001OSPF\u63a5\u53e3\u8ba4\u8bc1\u3001OSPF\u533a\u57df\u8ba4\u8bc1\u7b49\u6280\u672f\u3002\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"Slyar\"\/>\n\t<meta name=\"keywords\" content=\"slyar,cisco,ospf,stub,nssa,\u591a\u533a\u57df,area,\u8ba4\u8bc1,\u533a\u57df\u8ba4\u8bc1,\u865a\u94fe\u8def,\u7efc\u5408\u5b9e\u9a8c,gns3,\u5e27\u4e2d\u7ee7\" \/>\n\t<link rel=\"canonical\" href=\"http:\/\/www.slyar.com\/blog\/ccnp-routing-ospf-experiment.html\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 5.0.2.1\" \/>\n\t\t<meta property=\"og:locale\" content=\"zh_CN\" \/>\n\t\t<meta property=\"og:site_name\" content=\"Slyar Home | \u8bb0\u5f55\u4e2a\u4eba\u751f\u6d3b\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"OSPF\u7efc\u5408\u5b9e\u9a8c\u914d\u7f6e\u601d\u8def\u53ca\u8fc7\u7a0b - Slyar Home\" \/>\n\t\t<meta property=\"og:description\" content=\"OSPF\u7efc\u5408\u5b9e\u9a8c\u914d\u7f6e\u601d\u8def\u53ca\u8fc7\u7a0b\uff0c\u6d89\u53caOSPF\u591a\u533a\u57df\u3001OSPF\u865a\u94fe\u8def\u3001Stub\u533a\u57df\u3001NSSA\u533a\u57df\u3001OSPF\u624b\u52a8\u6c47\u603b\u3001OSPF\u63a5\u53e3\u8ba4\u8bc1\u3001OSPF\u533a\u57df\u8ba4\u8bc1\u7b49\u6280\u672f\u3002\" \/>\n\t\t<meta property=\"og:url\" content=\"http:\/\/www.slyar.com\/blog\/ccnp-routing-ospf-experiment.html\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2011-08-19T18:21:28+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2022-07-03T22:52:03+00:00\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary\" \/>\n\t\t<meta name=\"twitter:title\" content=\"OSPF\u7efc\u5408\u5b9e\u9a8c\u914d\u7f6e\u601d\u8def\u53ca\u8fc7\u7a0b - Slyar Home\" \/>\n\t\t<meta name=\"twitter:description\" content=\"OSPF\u7efc\u5408\u5b9e\u9a8c\u914d\u7f6e\u601d\u8def\u53ca\u8fc7\u7a0b\uff0c\u6d89\u53caOSPF\u591a\u533a\u57df\u3001OSPF\u865a\u94fe\u8def\u3001Stub\u533a\u57df\u3001NSSA\u533a\u57df\u3001OSPF\u624b\u52a8\u6c47\u603b\u3001OSPF\u63a5\u53e3\u8ba4\u8bc1\u3001OSPF\u533a\u57df\u8ba4\u8bc1\u7b49\u6280\u672f\u3002\" \/>\n\t\t<script type=\"application\/ld+json\" class=\"aioseo-schema\">\n\t\t\t{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"http:\\\/\\\/www.slyar.com\\\/blog\\\/ccnp-routing-ospf-experiment.html#article\",\"name\":\"OSPF\\u7efc\\u5408\\u5b9e\\u9a8c\\u914d\\u7f6e\\u601d\\u8def\\u53ca\\u8fc7\\u7a0b - Slyar Home\",\"headline\":\"OSPF\\u7efc\\u5408\\u5b9e\\u9a8c\\u914d\\u7f6e\\u601d\\u8def\\u53ca\\u8fc7\\u7a0b\",\"author\":{\"@id\":\"http:\\\/\\\/www.slyar.com\\\/blog\\\/author\\\/slyar#author\"},\"publisher\":{\"@id\":\"http:\\\/\\\/www.slyar.com\\\/blog\\\/#person\"},\"image\":{\"@type\":\"ImageObject\",\"url\":\"http:\\\/\\\/www.slyar.com\\\/blog\\\/wp-content\\\/uploads\\\/2011\\\/08\\\/OSPF\\u5927\\u578b\\u5b9e\\u9a8c.jpg\",\"@id\":\"http:\\\/\\\/www.slyar.com\\\/blog\\\/ccnp-routing-ospf-experiment.html\\\/#articleImage\",\"width\":876,\"height\":558},\"datePublished\":\"2011-08-20T02:21:28-07:00\",\"dateModified\":\"2022-07-03T15:52:03-07:00\",\"inLanguage\":\"zh-CN\",\"commentCount\":4,\"mainEntityOfPage\":{\"@id\":\"http:\\\/\\\/www.slyar.com\\\/blog\\\/ccnp-routing-ospf-experiment.html#webpage\"},\"isPartOf\":{\"@id\":\"http:\\\/\\\/www.slyar.com\\\/blog\\\/ccnp-routing-ospf-experiment.html#webpage\"},\"articleSection\":\"\\u8ba1\\u7b97\\u673a\\u7f51\\u7edc, \\u4ea4\\u6362\\u673a, \\u8def\\u7531\\u5668\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"http:\\\/\\\/www.slyar.com\\\/blog\\\/ccnp-routing-ospf-experiment.html#breadcrumblist\",\"itemListElement\":[{\"@type\":\"ListItem\",\"@id\":\"http:\\\/\\\/www.slyar.com\\\/blog\\\/#listItem\",\"position\":1,\"name\":\"Home\",\"item\":\"http:\\\/\\\/www.slyar.com\\\/blog\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"http:\\\/\\\/www.slyar.com\\\/blog\\\/category\\\/computer-networks#listItem\",\"name\":\"\\u8ba1\\u7b97\\u673a\\u7f51\\u7edc\"}},{\"@type\":\"ListItem\",\"@id\":\"http:\\\/\\\/www.slyar.com\\\/blog\\\/category\\\/computer-networks#listItem\",\"position\":2,\"name\":\"\\u8ba1\\u7b97\\u673a\\u7f51\\u7edc\",\"item\":\"http:\\\/\\\/www.slyar.com\\\/blog\\\/category\\\/computer-networks\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"http:\\\/\\\/www.slyar.com\\\/blog\\\/ccnp-routing-ospf-experiment.html#listItem\",\"name\":\"OSPF\\u7efc\\u5408\\u5b9e\\u9a8c\\u914d\\u7f6e\\u601d\\u8def\\u53ca\\u8fc7\\u7a0b\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"http:\\\/\\\/www.slyar.com\\\/blog\\\/#listItem\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"@id\":\"http:\\\/\\\/www.slyar.com\\\/blog\\\/ccnp-routing-ospf-experiment.html#listItem\",\"position\":3,\"name\":\"OSPF\\u7efc\\u5408\\u5b9e\\u9a8c\\u914d\\u7f6e\\u601d\\u8def\\u53ca\\u8fc7\\u7a0b\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"http:\\\/\\\/www.slyar.com\\\/blog\\\/category\\\/computer-networks#listItem\",\"name\":\"\\u8ba1\\u7b97\\u673a\\u7f51\\u7edc\"}}]},{\"@type\":\"Person\",\"@id\":\"http:\\\/\\\/www.slyar.com\\\/blog\\\/#person\",\"name\":\"Slyar\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"http:\\\/\\\/www.slyar.com\\\/blog\\\/ccnp-routing-ospf-experiment.html#personImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/fa995532c4fa6a1a16430db283689338da430a677b2ff974e0cad68e3bba05c4?s=96&d=monsterid\",\"width\":96,\"height\":96,\"caption\":\"Slyar\"}},{\"@type\":\"Person\",\"@id\":\"http:\\\/\\\/www.slyar.com\\\/blog\\\/author\\\/slyar#author\",\"url\":\"http:\\\/\\\/www.slyar.com\\\/blog\\\/author\\\/slyar\",\"name\":\"Slyar\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"http:\\\/\\\/www.slyar.com\\\/blog\\\/ccnp-routing-ospf-experiment.html#authorImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/fa995532c4fa6a1a16430db283689338da430a677b2ff974e0cad68e3bba05c4?s=96&d=monsterid\",\"width\":96,\"height\":96,\"caption\":\"Slyar\"}},{\"@type\":\"WebPage\",\"@id\":\"http:\\\/\\\/www.slyar.com\\\/blog\\\/ccnp-routing-ospf-experiment.html#webpage\",\"url\":\"http:\\\/\\\/www.slyar.com\\\/blog\\\/ccnp-routing-ospf-experiment.html\",\"name\":\"OSPF\\u7efc\\u5408\\u5b9e\\u9a8c\\u914d\\u7f6e\\u601d\\u8def\\u53ca\\u8fc7\\u7a0b - Slyar Home\",\"description\":\"OSPF\\u7efc\\u5408\\u5b9e\\u9a8c\\u914d\\u7f6e\\u601d\\u8def\\u53ca\\u8fc7\\u7a0b\\uff0c\\u6d89\\u53caOSPF\\u591a\\u533a\\u57df\\u3001OSPF\\u865a\\u94fe\\u8def\\u3001Stub\\u533a\\u57df\\u3001NSSA\\u533a\\u57df\\u3001OSPF\\u624b\\u52a8\\u6c47\\u603b\\u3001OSPF\\u63a5\\u53e3\\u8ba4\\u8bc1\\u3001OSPF\\u533a\\u57df\\u8ba4\\u8bc1\\u7b49\\u6280\\u672f\\u3002\",\"inLanguage\":\"zh-CN\",\"isPartOf\":{\"@id\":\"http:\\\/\\\/www.slyar.com\\\/blog\\\/#website\"},\"breadcrumb\":{\"@id\":\"http:\\\/\\\/www.slyar.com\\\/blog\\\/ccnp-routing-ospf-experiment.html#breadcrumblist\"},\"author\":{\"@id\":\"http:\\\/\\\/www.slyar.com\\\/blog\\\/author\\\/slyar#author\"},\"creator\":{\"@id\":\"http:\\\/\\\/www.slyar.com\\\/blog\\\/author\\\/slyar#author\"},\"datePublished\":\"2011-08-20T02:21:28-07:00\",\"dateModified\":\"2022-07-03T15:52:03-07:00\"},{\"@type\":\"WebSite\",\"@id\":\"http:\\\/\\\/www.slyar.com\\\/blog\\\/#website\",\"url\":\"http:\\\/\\\/www.slyar.com\\\/blog\\\/\",\"name\":\"Slyar Home\",\"description\":\"\\u8bb0\\u5f55\\u4e2a\\u4eba\\u751f\\u6d3b\",\"inLanguage\":\"zh-CN\",\"publisher\":{\"@id\":\"http:\\\/\\\/www.slyar.com\\\/blog\\\/#person\"}}]}\n\t\t<\/script>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"OSPF\u7efc\u5408\u5b9e\u9a8c\u914d\u7f6e\u601d\u8def\u53ca\u8fc7\u7a0b - Slyar Home","description":"OSPF\u7efc\u5408\u5b9e\u9a8c\u914d\u7f6e\u601d\u8def\u53ca\u8fc7\u7a0b\uff0c\u6d89\u53caOSPF\u591a\u533a\u57df\u3001OSPF\u865a\u94fe\u8def\u3001Stub\u533a\u57df\u3001NSSA\u533a\u57df\u3001OSPF\u624b\u52a8\u6c47\u603b\u3001OSPF\u63a5\u53e3\u8ba4\u8bc1\u3001OSPF\u533a\u57df\u8ba4\u8bc1\u7b49\u6280\u672f\u3002","canonical_url":"http:\/\/www.slyar.com\/blog\/ccnp-routing-ospf-experiment.html","robots":"max-image-preview:large","keywords":"slyar,cisco,ospf,stub,nssa,\u591a\u533a\u57df,area,\u8ba4\u8bc1,\u533a\u57df\u8ba4\u8bc1,\u865a\u94fe\u8def,\u7efc\u5408\u5b9e\u9a8c,gns3,\u5e27\u4e2d\u7ee7","webmasterTools":{"miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"http:\/\/www.slyar.com\/blog\/ccnp-routing-ospf-experiment.html#article","name":"OSPF\u7efc\u5408\u5b9e\u9a8c\u914d\u7f6e\u601d\u8def\u53ca\u8fc7\u7a0b - Slyar Home","headline":"OSPF\u7efc\u5408\u5b9e\u9a8c\u914d\u7f6e\u601d\u8def\u53ca\u8fc7\u7a0b","author":{"@id":"http:\/\/www.slyar.com\/blog\/author\/slyar#author"},"publisher":{"@id":"http:\/\/www.slyar.com\/blog\/#person"},"image":{"@type":"ImageObject","url":"http:\/\/www.slyar.com\/blog\/wp-content\/uploads\/2011\/08\/OSPF\u5927\u578b\u5b9e\u9a8c.jpg","@id":"http:\/\/www.slyar.com\/blog\/ccnp-routing-ospf-experiment.html\/#articleImage","width":876,"height":558},"datePublished":"2011-08-20T02:21:28-07:00","dateModified":"2022-07-03T15:52:03-07:00","inLanguage":"zh-CN","commentCount":4,"mainEntityOfPage":{"@id":"http:\/\/www.slyar.com\/blog\/ccnp-routing-ospf-experiment.html#webpage"},"isPartOf":{"@id":"http:\/\/www.slyar.com\/blog\/ccnp-routing-ospf-experiment.html#webpage"},"articleSection":"\u8ba1\u7b97\u673a\u7f51\u7edc, \u4ea4\u6362\u673a, \u8def\u7531\u5668"},{"@type":"BreadcrumbList","@id":"http:\/\/www.slyar.com\/blog\/ccnp-routing-ospf-experiment.html#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"http:\/\/www.slyar.com\/blog\/#listItem","position":1,"name":"Home","item":"http:\/\/www.slyar.com\/blog\/","nextItem":{"@type":"ListItem","@id":"http:\/\/www.slyar.com\/blog\/category\/computer-networks#listItem","name":"\u8ba1\u7b97\u673a\u7f51\u7edc"}},{"@type":"ListItem","@id":"http:\/\/www.slyar.com\/blog\/category\/computer-networks#listItem","position":2,"name":"\u8ba1\u7b97\u673a\u7f51\u7edc","item":"http:\/\/www.slyar.com\/blog\/category\/computer-networks","nextItem":{"@type":"ListItem","@id":"http:\/\/www.slyar.com\/blog\/ccnp-routing-ospf-experiment.html#listItem","name":"OSPF\u7efc\u5408\u5b9e\u9a8c\u914d\u7f6e\u601d\u8def\u53ca\u8fc7\u7a0b"},"previousItem":{"@type":"ListItem","@id":"http:\/\/www.slyar.com\/blog\/#listItem","name":"Home"}},{"@type":"ListItem","@id":"http:\/\/www.slyar.com\/blog\/ccnp-routing-ospf-experiment.html#listItem","position":3,"name":"OSPF\u7efc\u5408\u5b9e\u9a8c\u914d\u7f6e\u601d\u8def\u53ca\u8fc7\u7a0b","previousItem":{"@type":"ListItem","@id":"http:\/\/www.slyar.com\/blog\/category\/computer-networks#listItem","name":"\u8ba1\u7b97\u673a\u7f51\u7edc"}}]},{"@type":"Person","@id":"http:\/\/www.slyar.com\/blog\/#person","name":"Slyar","image":{"@type":"ImageObject","@id":"http:\/\/www.slyar.com\/blog\/ccnp-routing-ospf-experiment.html#personImage","url":"https:\/\/secure.gravatar.com\/avatar\/fa995532c4fa6a1a16430db283689338da430a677b2ff974e0cad68e3bba05c4?s=96&d=monsterid","width":96,"height":96,"caption":"Slyar"}},{"@type":"Person","@id":"http:\/\/www.slyar.com\/blog\/author\/slyar#author","url":"http:\/\/www.slyar.com\/blog\/author\/slyar","name":"Slyar","image":{"@type":"ImageObject","@id":"http:\/\/www.slyar.com\/blog\/ccnp-routing-ospf-experiment.html#authorImage","url":"https:\/\/secure.gravatar.com\/avatar\/fa995532c4fa6a1a16430db283689338da430a677b2ff974e0cad68e3bba05c4?s=96&d=monsterid","width":96,"height":96,"caption":"Slyar"}},{"@type":"WebPage","@id":"http:\/\/www.slyar.com\/blog\/ccnp-routing-ospf-experiment.html#webpage","url":"http:\/\/www.slyar.com\/blog\/ccnp-routing-ospf-experiment.html","name":"OSPF\u7efc\u5408\u5b9e\u9a8c\u914d\u7f6e\u601d\u8def\u53ca\u8fc7\u7a0b - Slyar Home","description":"OSPF\u7efc\u5408\u5b9e\u9a8c\u914d\u7f6e\u601d\u8def\u53ca\u8fc7\u7a0b\uff0c\u6d89\u53caOSPF\u591a\u533a\u57df\u3001OSPF\u865a\u94fe\u8def\u3001Stub\u533a\u57df\u3001NSSA\u533a\u57df\u3001OSPF\u624b\u52a8\u6c47\u603b\u3001OSPF\u63a5\u53e3\u8ba4\u8bc1\u3001OSPF\u533a\u57df\u8ba4\u8bc1\u7b49\u6280\u672f\u3002","inLanguage":"zh-CN","isPartOf":{"@id":"http:\/\/www.slyar.com\/blog\/#website"},"breadcrumb":{"@id":"http:\/\/www.slyar.com\/blog\/ccnp-routing-ospf-experiment.html#breadcrumblist"},"author":{"@id":"http:\/\/www.slyar.com\/blog\/author\/slyar#author"},"creator":{"@id":"http:\/\/www.slyar.com\/blog\/author\/slyar#author"},"datePublished":"2011-08-20T02:21:28-07:00","dateModified":"2022-07-03T15:52:03-07:00"},{"@type":"WebSite","@id":"http:\/\/www.slyar.com\/blog\/#website","url":"http:\/\/www.slyar.com\/blog\/","name":"Slyar Home","description":"\u8bb0\u5f55\u4e2a\u4eba\u751f\u6d3b","inLanguage":"zh-CN","publisher":{"@id":"http:\/\/www.slyar.com\/blog\/#person"}}]},"og:locale":"zh_CN","og:site_name":"Slyar Home | \u8bb0\u5f55\u4e2a\u4eba\u751f\u6d3b","og:type":"article","og:title":"OSPF\u7efc\u5408\u5b9e\u9a8c\u914d\u7f6e\u601d\u8def\u53ca\u8fc7\u7a0b - Slyar Home","og:description":"OSPF\u7efc\u5408\u5b9e\u9a8c\u914d\u7f6e\u601d\u8def\u53ca\u8fc7\u7a0b\uff0c\u6d89\u53caOSPF\u591a\u533a\u57df\u3001OSPF\u865a\u94fe\u8def\u3001Stub\u533a\u57df\u3001NSSA\u533a\u57df\u3001OSPF\u624b\u52a8\u6c47\u603b\u3001OSPF\u63a5\u53e3\u8ba4\u8bc1\u3001OSPF\u533a\u57df\u8ba4\u8bc1\u7b49\u6280\u672f\u3002","og:url":"http:\/\/www.slyar.com\/blog\/ccnp-routing-ospf-experiment.html","article:published_time":"2011-08-19T18:21:28+00:00","article:modified_time":"2022-07-03T22:52:03+00:00","twitter:card":"summary","twitter:title":"OSPF\u7efc\u5408\u5b9e\u9a8c\u914d\u7f6e\u601d\u8def\u53ca\u8fc7\u7a0b - Slyar Home","twitter:description":"OSPF\u7efc\u5408\u5b9e\u9a8c\u914d\u7f6e\u601d\u8def\u53ca\u8fc7\u7a0b\uff0c\u6d89\u53caOSPF\u591a\u533a\u57df\u3001OSPF\u865a\u94fe\u8def\u3001Stub\u533a\u57df\u3001NSSA\u533a\u57df\u3001OSPF\u624b\u52a8\u6c47\u603b\u3001OSPF\u63a5\u53e3\u8ba4\u8bc1\u3001OSPF\u533a\u57df\u8ba4\u8bc1\u7b49\u6280\u672f\u3002"},"aioseo_meta_data":{"post_id":"1522","title":"OSPF\u7efc\u5408\u5b9e\u9a8c\u914d\u7f6e\u601d\u8def\u53ca\u8fc7\u7a0b - #site_title","description":"OSPF\u7efc\u5408\u5b9e\u9a8c\u914d\u7f6e\u601d\u8def\u53ca\u8fc7\u7a0b\uff0c\u6d89\u53caOSPF\u591a\u533a\u57df\u3001OSPF\u865a\u94fe\u8def\u3001Stub\u533a\u57df\u3001NSSA\u533a\u57df\u3001OSPF\u624b\u52a8\u6c47\u603b\u3001OSPF\u63a5\u53e3\u8ba4\u8bc1\u3001OSPF\u533a\u57df\u8ba4\u8bc1\u7b49\u6280\u672f\u3002","keywords":[{"label":"slyar","value":"slyar"},{"label":"cisco","value":"cisco"},{"label":"ospf","value":"ospf"},{"label":"stub","value":"stub"},{"label":"nssa","value":"nssa"},{"label":"\u591a\u533a\u57df","value":"\u591a\u533a\u57df"},{"label":"area","value":"area"},{"label":"\u8ba4\u8bc1","value":"\u8ba4\u8bc1"},{"label":"\u533a\u57df\u8ba4\u8bc1","value":"\u533a\u57df\u8ba4\u8bc1"},{"label":"\u865a\u94fe\u8def","value":"\u865a\u94fe\u8def"},{"label":"\u7efc\u5408\u5b9e\u9a8c","value":"\u7efc\u5408\u5b9e\u9a8c"},{"label":"gns3","value":"gns3"},{"label":"\u5e27\u4e2d\u7ee7","value":"\u5e27\u4e2d\u7ee7"}],"keyphrases":null,"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":null,"og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"","isEnabled":true},"graphs":[]},"schema_type":null,"schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":null,"robots_max_videopreview":null,"robots_max_imagepreview":"large","priority":null,"frequency":null,"local_seo":null,"breadcrumb_settings":null,"limit_modified_date":false,"ai":null,"created":"2021-02-10 02:47:02","updated":"2022-10-18 13:12:28","seo_analyzer_scan_date":null,"focus_keyword":null,"additional_keywords":null,"truseo_locale":null},"_links":{"self":[{"href":"http:\/\/www.slyar.com\/blog\/wp-json\/wp\/v2\/posts\/1522","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/www.slyar.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.slyar.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.slyar.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.slyar.com\/blog\/wp-json\/wp\/v2\/comments?post=1522"}],"version-history":[{"count":1,"href":"http:\/\/www.slyar.com\/blog\/wp-json\/wp\/v2\/posts\/1522\/revisions"}],"predecessor-version":[{"id":8372,"href":"http:\/\/www.slyar.com\/blog\/wp-json\/wp\/v2\/posts\/1522\/revisions\/8372"}],"wp:attachment":[{"href":"http:\/\/www.slyar.com\/blog\/wp-json\/wp\/v2\/media?parent=1522"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.slyar.com\/blog\/wp-json\/wp\/v2\/categories?post=1522"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.slyar.com\/blog\/wp-json\/wp\/v2\/tags?post=1522"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}