华三ospf如何宣告10.0.0.9/30 ospf不在协议下宣告 在接口下怎么宣告
ospf\u5ba3\u544a\u7f51\u7edc\u65b9\u5f0f\u60a8\u597d\uff01
\u53cd\u7801\u4e2d\uff1a0\u4ee3\u8868\u7cbe\u786e\u5339\u914d\uff0c1\u4ee3\u8868\u4e0d\u5173\u6ce8\u3002
\u53cd\u7801\u5168\u4e3aO\uff0c\u90a3\u4e48\u5c31\u4ee3\u88684\u4e2a\u516b\u4f4d\u4f4d\u7ec4\u5168\u90e8\u8981\u7cbe\u786e\u5339\u914d\u3002\u5b9e\u9645\u4e0a\u8fd9\u4e2a\u65f6\u5019\u5c31\u53ea\u80fd\u6709\u4e00\u4e2a\u5730\u5740\u3002\u90a3\u5f53\u7136\u662f\u63a5\u53e3\u5730\u5740\u4e86\u3002
\u8bbf\u95ee\u63a7\u5236\u5217\u8868\u5728\u4f7f\u7528\u51680\u53cd\u7801\u65f6\uff0c\u4e0d\u662f\u8fd8\u53ef\u4ee5\u7528Host\u5173\u952e\u5b57\u6765\u4ee3\u66ff\u5417\u3002
\u8fd9\u6837\u5c31\u597d\u7406\u89e3\u4e86\u3002
\u8fdb\u5165\u63a5\u53e3 ip ospf [\u8fdb\u7a0b\u53f7] area [\u533a\u57df\u53f7]
直接在你规划好的OSPF区域视图下执行
network 10.0.0.8 0.0.0.3
绛旓細鐩存帴鍦ㄤ綘瑙勫垝濂界殑OSPF鍖哄煙瑙嗗浘涓嬫墽琛 network 10.0.0.8 0.0.0.3
绛旓細鑰屽崕涓恒丠3C瀵OSPF浣滀簡涓浜涜皟鏁达紝鍙互鎸夌収涓ヨ皑鐨勬牸寮瀹e憡锛 Network IP鍦板潃 鍙嶆帺鐮侊級锛屼篃鍙互涓嶆寜鐓т弗璋ㄧ殑鏍煎紡瀹e憡锛 Network IP鍦板潃 鎺╃爜锛夋垨鑰咃紙Network IP鍦板潃 0.0.0.0锛夛紝鎸夌収锛 Network IP鍦板潃 鎺╃爜锛夎繘琛岄氬憡瀹屾垚鍚庡崕涓恒H3C鐨璺敱鍣ㄤ細鑷姩璁$畻鍑哄弽鎺╃爜锛屽鏋滀笉鎯冲閰嶇疆鍙互浣跨敤瀹...
绛旓細杩欐槸涓涓潪鏍囧噯鐨勬寚浠わ紝涓嶅悓鍘傚晢瀵瑰叾鐨勫疄鐜颁篃鏈変簺涓嶄竴鏍枫傛濈鏈変釜姣旇緝濂囨殑鍔熻兘 network 10.1.1.0 0.0.0.255 area 0 network 10.1.1.0 255.255.255.0 area 0 杩欎袱涓懡浠や綔鐢ㄦ槸涓鏍风殑锛屼篃灏辨槸璇村彲浠ヤ笉浣跨敤閫氶厤绗︽帺鐮佽屼娇鐢ㄥ瓙缃戞帺鐮 閭d箞network 0.0.0.0 0.0.0.0 area 0 灏卞彲浠...
绛旓細绗竴绉嶏細灏哠1鍜孲2浣滀负PC锛屽苟涓擱1銆丷2浣跨敤OSPF鍗忚 R1 sysname R1 璁惧鍛藉悕涓篟1 interface GigabitEthernet0/0 port link-mode route //鎺ュ彛璁剧疆涓3灞傝矾鐢辨ā寮 ip address 12.1.1.1 255.255.255.0 interface GigabitEthernet0/1 port link-mode route ip address 192.168.10.254 255.255...
绛旓細榛樿鍏紡涓哄紑閿=10鐨8娆℃柟闄や互甯﹀锛堝甫瀹藉崟浣嶆槸b/s锛夛紝涔熷嵆100M闄や互甯﹀銆侽SPF鐨勫紑閿锛坈ost锛夋槸璺敱绌胯秺鐨勯偅浜涗腑闂寸綉缁滅殑寮閿鐨勭疮鍔狅紝鍏堕粯璁ゅ叕寮忎负寮閿=10鐨8娆℃柟闄や互甯﹀锛堝甫瀹藉崟浣嶆槸b/s锛夛紝涔熷嵆100M闄や互甯﹀銆
绛旓細ospf 1 a 0 net 192.168.1.0 0.0.0.255 (vlan2,vlan3鐨勬帺鐮佽嚜宸辨牴鎹姹傚啓锛塶et 192.168.2.0 0.0.0.255 net 192.168.3.0 0.0.0.3 net 192.168.6.0 0.0.0.3 闈欐佽矾鐢憋細r1閰嶇疆锛歩p route-static 192.168.1.0 255.255.255.0 192.168.4.1 ip route-static 192.168...
绛旓細鍙互銆傚湪鍗庝笁浜ゆ崲鏈轰笂锛孉CL鍙互搴旂敤浜OSPF鍗忚锛屼互鎺у埗OSPF璺敱淇℃伅鐨勫彂閫佸拰鎺ユ敹銆傞氳繃鍦ˋCL瑙勫垯涓畾涔夌壒瀹氱殑鏉′欢鍜屾搷浣滐紝鍙互闄愬埗鎴栬繃婊SPF璺敱淇℃伅鐨勪紶鎾紝瀹炵幇鏇寸簿缁嗙殑缃戠粶娴侀噺鎺у埗鍜岀鐞嗐
绛旓細鏈浣庣殑搴旇鏄閮ㄨ矾鐢卞惂锛屾椂闂翠箙浜嗘垜涔熷繕浜嗭紝10骞村墠鑰冩濈鐨勬椂鍊欓殣绾︽湁浜涘嵃璞★紝鐜板湪鎴戜篃涓嶅仛璺敱浜ゆ崲杩欎竴鍧椾簡锛屼笉澶‘瀹氥
绛旓細[鏈浣冲洖绛擼涓夊眰浜ゆ崲鏈烘煡鐪嬭矾鐢辫〃锛屽彲浠ュ湪鐗规潈exec妯″紡涓緭鍏ワ細 show ip route 涓鑸湪鐗规潈exec妯″紡涓嬪彲浠ョ洃鎺т氦鎹㈡満鎴栬呰矾鐢卞櫒鐨勮繍琛岀姸鎬併 鏌ョ湅璺敱琛ㄤ箣鍚庯紝鍙互鏌ョ湅鍒扮洿杩炶矾鐢便...
绛旓細闄や簡涓婅堪甯哥敤鍛戒护澶栵紝鍗庝笁浜ゆ崲鏈鸿繕鏀寔璁稿鍏朵粬鍛戒护锛岀敤浜庤繘琛屾洿澶嶆潅鐨勯厤缃拰璋冭瘯鎿嶄綔銆備緥濡傦紝鍙互浣跨敤`vlan`鍛戒护杩涜VLAN鐨勯厤缃拰绠$悊锛屼娇鐢╜ospf`銆乣bgp`绛夊懡浠よ繘琛岃矾鐢卞崗璁殑閰嶇疆锛屼互鍙婁娇鐢╜debugging`鍛戒护杩涜璋冭瘯绛夈傝繖浜涘懡浠ょ殑浣跨敤閫氬父闇瑕佷竴瀹氱殑缃戠粶鐭ヨ瘑鍜岀粡楠岋紝浣嗘帉鎻″畠浠彲浠ュぇ澶ф彁楂樹氦鎹㈡満鐨勪娇鐢ㄦ晥鐜...