दोस्तों OSPF protocol के basic concept हम पहले समझ चुके हैं। आज के इस ब्लाग में हम Open Shorthest Path First (OSPF) Protocol की configuration करना सीखेगे।
OSPF Protocol Configuration - OSPF Protocol configuration करने से पहले हम Area & Process Id के बारे में बात कर लेते हैं -
Area - मैने तीनो Routers को Area 0 (Backbone Area) में रखा है। इसे हम Single Area Configuration भी कहते हैं। आगे आने वाले ब्लाग में हम Multi Area Configuration भी करेगे।
Process ID - मैने तीनों Routers पर process id 10 use की हैं। आप ospf process id 0 to 65535 में से कोई भी दे सकते हैं। आप चाहे तो सभी ospf routers पर same या अलग-अलग process id भी configure कर सकते हैं, इससे ospf की working में कोई फर्क नही पड़ेगा परन्तु best तरीका यही हैं कि आप same process id use करो ताकि बाद में अगर configuration में changes करनी हो तो फिर हर Router की process id आपको find करनी पड़ेगी।
दोस्तो जैसा कि आप diagram में देख पा रहे हैं मेरे पास 3 Routers हैं और मैंने उनके interfaces पर ip address configure किये हुये हैं। हम Router के interface configure करना पहले ही सीख चुके हैं। यहाँ मैं सिर्फ आप से ospf configuration command बताने वाला हूँ। OSPF protocol में subnet mask की जगह wild card mask का use किया जाता हैं।
OSPF Configuration Command -
Router 1 OSPF Configuration -
router1>ena
router1#config t
router1(config)#router ospf 10
router1(config-router)#network 10.0.0.0 0.255.255.255 area 0
router1(config-router)#network 192.168.1.0 0.0.0.255 area 0
Router 2 OSPF Configuration -
router1>ena
router1#config t
router1(config)#router ospf 10
router1(config-router)#network 10.0.0.0 0.255.255.255 area 0
router1(config-router)#network 20.0.0.0 0.255.255.255 area 0
router1(config-router)#network 192.168.2.0 0.0.0.255 area 0
Router 3 OSPF Configuration -
router1>ena
router1#config t
router1(config)#router ospf 10
router1(config-router)#network 20.0.0.0 0.255.255.255 area 0
router1(config-router)#network 192.168.3.0 0.0.0.255 area 0
इतनी configuration करने के बाद Routers पर ospf configuration पूरी हो गई और अब तीनों OSPF Routers आपस में communication कर सकते हैं।
(Label - ospf configuration commands,how to configure ospf protocol on cisco routers)
0 Comments