.. Welcome ..



.. Welcome to 'Komunitas Cisco' site ..



Rabu, 01 Mei 2013

Konfigurasi Dasar Cisco Router Tahap 3- OSPF

Single Area OSPF



Konfigurasi Router OSPF

Loopback 0 – JKT: 10.100.100.1/32
Loopback 0 – SBY: 10.100.100.2/32
Loopback 0 – MDN: 10.100.100.3/32

Task 1: Konfigurasi OSPF
Router-JKT:
(config)# int loopback 0
(config-if)# description *** as Router-ID for OSPF ***
(config-if)# ip address 10.100.100.1 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 10.100.100.1 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 10.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 10.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 10.100.100.2 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 10.100.100.2  0.0.0.0 area 0
(config-router)# passive-interface f0/0
(config-router)# end

Verify:
# sh ip ospf
# sh ip ospf interface
# sh ip ospf neighbor  --> melihat neighbor table
# sh ip ospf database  --> melihat topology table
# sh ip route     --> melihat routing table
# sh ip protocols     --> melihat semua routing protocol di router

#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 ccna1

Router-MDN:
(config)# int s0/1     --> interface yg terhubung ke Router-JKT
(config-if)# ip ospf authentication
(config-if)# ip ospf authentication-key ccna2

Router-JKT:
(config)# int s0/1
(config-if)# ip ospf authentication
(config-if)# ip ospf authentication-key ccna1 --> password dengan router-sby

(config)# int s0/0
(config-if)# ip ospf authentication
(config-if)# ip ospf authentication-key ccna2   --> password dengan router-mdn

# sh ip ospf neighbor
# debug ip ospf adj


Hapus OSPF simple authentication:
Router-SBY:
(config)# int s0/1             
(config-if)# no ip ospf authentication
(config-if)# no ip ospf authentication-key

Router-MDN:
(config)# int s0/1
(config-if)# no ip ospf authentication
(config-if)# no ip ospf authentication-key

Router-JKT:
(config)# int s0/1
(config-if)# no ip ospf authentication
(config-if)# no ip ospf authentication-key

(config)# int s0/0
(config-if)# no ip ospf authentication
(config-if)# no ip ospf authentication-key


Task 3: OSPF MD5 authentication (MD5 hashed)
Router-SBY:
(config)# int s0/1    --> interface yg terhubung ke Router-JKT
(config-if)# ip ospf authentication message-digest
(config-if)# ip ospf message-digest-key 1 md5 ccna1

Router-MDN:
(config)# int s0/1    --> interface yg terhubung ke Router-JKT
(config-if)# ip ospf authentication message-digest
(config-if)# ip ospf message-digest-key 1 md5 ccna2

Router-JKT:
(config)# int f0/1
(config-if)# ip ospf authentication message-digest
(config-if)# ip ospf message-digest-key 1 md5 ccna1 --> password dengan router-sby

(config)# int s0/1
(config-if)# ip ospf authentication message-digest
(config-if)# ip ospf message-digest-key 1 md5 ccna2--> password dengan router-mdn

# debug ip ospf adj

Hapus OSPF MD5 authentication:
Router-SBY:
(config)# int s0/1    --> interface yg terhubung ke Router-JKT
(config-if)# no ip ospf authentication message-digest
(config-if)# no ip ospf message-digest-key 1 md5 ccna1

Router-MDN:
(config)# int s0/1  --> interface yg terhubung ke Router-JKT
(config-if)# no ip ospf authentication message-digest
(config-if)# no ip ospf message-digest-key 1 md5 ccna2

Router-JKT:
(config)# int s0/1
(config-if)# no ip ospf authentication
(config-if)# no ip ospf message-digest-key 1 md5 ccna1

(config-if)# int s0/0
(config-if)# no ip ospf authentication
(config-if)# no ip ospf message-digest-key 1 md5 ccna2


Task 4: menghapus proses routing OSPF
(config)# no int loopback 0
(config)# no router ospf 1


Ayo training CCNA di eNetwoQ http://www.enetwoq.com/cisco-training/ccna-training/

Tidak ada komentar:

Posting Komentar