
Konfigurasi OSPF di Router-JKT:
(config)# interface loopback 0
(config-if)# ip address 10.0.255.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 10.0.255.1 0.0.0.0 area 0
(config-router)# network 10.0.0.0 0.0.0.3 area 0
(config-router)# network 10.0.0.4 0.0.0.3 area 0
(config-router)# end
Konfigurasi OSPF di Router-SBY:
(config)# interface loopback 0
(config-if)# ip address 10.0.255.3 255.255.255.255
(config-if)# no shutdown
(config-if)# router ospf 1
(config-router)# network 10.0.255.3 0.0.0.0 area 0
(config-router)# network 10.0.0.4 0.0.0.3 area 0
(config-router)# network 10.2.1.0 0.0.0.3 area 2
(config-router)# end
Konfigurasi OSPF di Router-MKS:
(config)# interface loopback 0
(config-if)# ip address 10.2.255.1 255.255.255.255
(config-if)# no shutdown
(config-if)# router ospf 2
(config-router)# network 10.2.255.1 0.0.0.0 area 2
(config-router)# network 10.2.0.0 0.0.0.255 area 2
(config-router)# network 10.2.1.0 0.0.0.3 area 2
(config-router)# end
Konfigurasi OSPF di Router-MDN:
(config)# interface loopback 0
(config-if)# ip address 10.0.255.2 255.255.255.255
(config-if)# no shutdown
(config-if)# router ospf 2
(config-router)# network 10.0.255.2 0.0.0.0 area 0
(config-router)# network 10.0.0.0 0.0.0.3 area 0
(config-router)# network 10.1.1.0 0.0.0.3 area 1
(config-router)# end
Konfigurasi OSPF di Router-ACEH:
(config)# interface loopback 0
(config-if)# ip address 10.1.255.1 255.255.255.255
(config-if)# no shutdown
(config-if)# router ospf 3
(config-router)# network 10.1.255.1 0.0.0.0 area 1
(config-router)# network 10.1.0.0 0.0.0.255 area 1
(config-router)# network 10.1.1.0 0.0.0.3 area 1
(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
January 6th, 2010 | Tags: ccna, cisco, ospf, router, routing | Category: Networking | Comments (4)