Aditya.Hananto.net

Aditya.Hananto.net

Knowledge Sharing About Networking

Aditya.Hananto.net RSS Feed
 
 
 
 

Konfigurasi single-area OSPF di Cisco Router

Konfigurasi OSPF di Router-JKT:
(config)# interface loopback 0
(config-if)# ip address 1.1.1.1 255.255.255.255  ==> sebagai router-id OSPF
(config-if)# no shutdown

(config-if)# router ospf 1      ==> menggunakan process-id 1
(config-router)# network 1.1.1.1    0.0.0.0 area 0
(config-router)# network 10.1.2.1   0.0.0.0 area 0
(config-router)# network 172.16.1.1 0.0.0.0 area 0
(config-router)# network 10.1.3.1   0.0.0.0 area 0
(config-router)# passive-interface f0/0    ==> interface yg tidak mengirim paket OSPF (hello, update, dll)
(config-router)# end

Konfigurasi OSPF di Router-SBY:
(config)# interface loopback 0
(config-if)# ip address 1.1.1.2 255.255.255.255
(config-if)# no shutdown

(config-if)# router ospf 1
(config-router)# network 1.1.1.2    0.0.0.0 area 0
(config-router)# network 10.1.2.0   0.0.0.255 area 0
(config-router)# network 10.1.1.0   0.0.0.255 area 0
(config-router)# passive-interface f0/0
(config-router)# end

Konfigurasi OSPF di Router-MDN:
(config)# interface loopback 0
(config-if)# ip address 1.1.1.3 255.255.255.255
(config-if)# no shutdown

(config-if)# router ospf 2
(config-router)# network 1.1.1.3    0.0.0.0 area 0
(config-router)# network 172.16.1.2   0.0.0.255 area 0
(config-router)# network 192.168.1.1   0.0.0.255 area 0
(config-router)# passive-interface f0/0
(config-router)# end

Untuk verifikasi konfigurasi OSPF:
# sh ip route          ==> melihat routing table
# sh ip protocol       ==> melihat routing protocol yg telah dikonfigurasi
# sh ip ospf neighbor  ==> melihat neighbor table OSPF
# sh ip ospf database  ==> melihat LSDB OSPF
# sh ip route ospf     ==> melihat routing table OSPF

# debug ip ospf packet ==> melihat proses mengirim & menerima paket OSPF
# debug ip ospf event  ==> melihat event yg terjadi di OSPF
# terminal monitor     ==> utk melihat hasil debug (khusus bagi yg via telnet/SSH)
# no debug all  ATAU  #undebug all   ==> mematikan proses debugging

3 Responses to “Konfigurasi single-area OSPF di Cisco Router”

  1. 1
    Rueben Delliveneri:

    Great blog post.Really looking forward to read more.

  2. 2
    Meridith Covarrubia:

    I am a frequent reader of your blog posts. I liked the recent one and other posts on your blog so much that I have subscribed to the blog’s RSS feed in Thunderbird. Even thinking of stealing some ideas and put them to work. Keep all the good work going by posting more informative posts. Thank you. Time well spent on this post.

  3. 3
    giat:

    Ijin copy-paste tutorial nya ..

    pretty nice tutor

Leave a Reply