Konfigurasi single-area OSPF
Task
1: Konfigurasi OSPF
Router-JKT:
(config)# int loopback 0
(config-if)# description *** as Router-ID for OSPF ***
(config-if)# ip address 100.100.100.2 255.255.255.255
(config-if)# router ospf 1
(config-router)# network 10.1.2.1 0.0.0.0 area 0
(config-router)# network 10.1.3.1 0.0.0.0 area 0
(config-router)# network 10.1.4.1 0.0.0.0 area 0
(config-router)# network 100.100.100.2 0.0.0.0 area 0
(config-router)# passive-interface f0/0
(config-router)# end
Router-MDN:
(config)# int loopback 0
(config-if)# description *** as Router-ID for OSPF ***
(config-if)# ip address 100.100.100.3 255.255.255.255
(config-if)# router ospf 1
(config-router)# network 10.1.4.2 0.0.0.0 area 0
(config-router)# network 10.1.5.1 0.0.0.0 area 0
(config-router)# network 100.100.100.3
0.0.0.0 area 0
(config-router)# passive-interface f0/0
(config-router)# end
Router-SBY:
(config)# int loopback 0
(config-if)# description *** as Router-ID for OSPF ***
(config-if)# ip address 100.100.100.1 255.255.255.255
(config-if)# router ospf 1
(config-router)# network 10.1.2.2 0.0.0.0 area 0
(config-router)# network 10.1.1.1 0.0.0.0 area 0
(config-router)# network 100.100.100.1
0.0.0.0 area 0
(config-router)# passive-interface f0/0
(config-router)# end
Verify:
# sh ip ospf
# sh ip ospf neighbor
# sh ip route
# sh ip protocols
#debug ip ospf events
#debug ip ospf packet
#terminal monitor
#undebug all
Task
2: OSPF simple authentication (plain-text)
Router-SBY:
(config)# int s0/1 è
interface yg terhubung ke Router-JKT
(config-if)# ip ospf authentication
(config-if)# ip ospf authentication-key sby-jkt
Router-MDN:
(config)# int s1/0 è
interface yg terhubung ke Router-JKT
(config-if)# ip ospf authentication
(config-if)# ip ospf authentication-key mdn-jkt
Router-JKT:
(config)# int s0/1
(config-if)# ip ospf authentication
(config-if)# ip ospf authentication-key sby-jkt è
password dengan router-sby
(config)# int s0/0
(config-if)# ip ospf authentication
(config-if)# ip ospf authentication-key mdn-jkt è
password dengan router-mdn
# debug ip ospf adj
Task
3: OSPF MD5 authentication (hashed)
Router-SBY:
(config)# int s0/1 è
interface yg terhubung ke Router-JKT
(config-if)# ip ospf authentication
(config-if)# ip ospf message-digest-key 1 md5 sby-jkt
Router-MDN:
(config)# int s1/0 è
interface yg terhubung ke Router-JKT
(config-if)# ip ospf authentication
(config-if)# ip ospf message-digest-key 1 md5 mdn-jkt
Router-JKT:
(config)# int s0/1
(config-if)# ip ospf authentication
(config-if)# ip ospf message-digest-key 1 md5 sby-jkt è password dengan router-sby
(config)# int s0/0
(config-if)# ip ospf authentication
(config-if)# ip ospf message-digest-key 1 md5 mdn-jkt è
password dengan router-mdn
# debug ip ospf adj
Task
4: menghapus konfigurasi OSPF
(config)# no int loop 0
(config)# no router ospf 1
(config)# int serial 0/1
(config-if)# no ip ospf authentication
(config-if)#
no ip ospf authentication-key
0 Comment for "Konfigurasi single-area OSPF"