Skip to main content

OSPF External Route Tipe-1

 

OSPF External Route Tipe-1




 

• Redistribute pada OSPF ada 2 macam, yaitu redistribute metric type 1 dan redistribute metric type

• Perbedaan keduanya terletak pada cost yang akna diberikan kepada setiap network hasil redistribute tersebut

HAPUS CONFIG LAB SEBELUMNYA , KARENA INI LAB LANJUTAN


R2

R2(config)#router ospf 2

R2(config-router)#no area 1 nssa no-summary

R2(config-router)#no area 1 nssa

R2(config-router)#exit

R3

R3(config)#router ospf 3

R3(config-router)#no area 1 nssa

R3(config-router)#exit


Kondisi awal :


R1

R1(config)#do sh ip route ospf

 2.0.0.0/32 is subnetted, 1 subnets

O IA 2.2.2.2 [110/2] via 12.12.12.2, 09:49:43, FastEthernet0/0

 3.0.0.0/32 is subnetted, 1 subnets

O IA 3.3.3.3 [110/3] via 12.12.12.2, 00:02:37, FastEthernet0/0

 23.0.0.0/24 is subnetted, 1 subnets

O IA 23.23.23.0 [110/2] via 12.12.12.2, 00:02:37, FastEthernet0/0

 33.0.0.0/32 is subnetted, 3 subnets

O E2 33.33.33.1 [110/20] via 12.12.12.2, 00:02:32, FastEthernet0/0

O E2 33.33.33.2 [110/20] via 12.12.12.2, 00:02:32, FastEthernet0/0

O E2 33.33.33.3 [110/20] via 12.12.12.2, 00:02:32, FastEthernet0/0


R2

R2(config)#do sh ip route ospf

 1.0.0.0/32 is subnetted, 1 subnets

O 1.1.1.1 [110/2] via 12.12.12.1, 00:21:32, FastEthernet0/0

 3.0.0.0/32 is subnetted, 1 subnets

O 3.3.3.3 [110/2] via 23.23.23.3, 00:20:56, GigabitEthernet1/0

 33.0.0.0/32 is subnetted, 3 subnets

O E2 33.33.33.1 [110/20] via 23.23.23.3, 00:20:56, GigabitEthernet1/0

O E2 33.33.33.2 [110/20] via 23.23.23.3, 00:20:56, GigabitEthernet1/0

O E2 33.33.33.3 [110/20] via 23.23.23.3, 00:20:56, GigabitEthernet1/0

 100.0.0.0/32 is subnetted, 7 subnets

O IA 100.100.100.1 [110/2] via 12.12.12.1, 00:21:32, FastEthernet0/0

O IA 100.100.100.2 [110/2] via 12.12.12.1, 00:21:32, FastEthernet0/0

O IA 100.100.100.3 [110/2] via 12.12.12.1, 00:21:32, FastEthernet0/0

O E2 100.100.100.4 [110/20] via 12.12.12.1, 00:21:32, FastEthernet0/0

O E2 100.100.100.5 [110/20] via 12.12.12.1, 00:21:32, FastEthernet0/0

O E2 100.100.100.6 [110/20] via 12.12.12.1, 00:21:32, FastEthernet0/0

O E2 100.100.100.7 [110/20] via 12.12.12.1, 00:21:32, FastEthernet0/0


110 menunjukkan administrator distance OSPF, sedangkan

20 menunjukkan metric yang digunakan oleh R2 menuju network tersebut.

Metricnya sama baik ketika route tersebut di R1 ataupun R2. Selanjutnya ubah

agar menjadi External Type 1 



R3(config)#router ospf 3

R3(config-router)#redistribute rip subnets metric-type ?

 1 Set OSPF External Type 1 metrics

 2 Set OSPF External Type 2 metrics

R3(config-router)#redistribute rip subnets metric-type 1

R3(config-router)#exit


R3(config)#router ospf 3

R3(config-router)#redistribute rip subnets route-map TIPE-SATU

R3(config-router)#exit


R1

R1(config)#do sh ip route ospf

 2.0.0.0/32 is subnetted, 1 subnets

O IA 2.2.2.2 [110/2] via 12.12.12.2, 10:49:50, FastEthernet0/0

 3.0.0.0/32 is subnetted, 1 subnets

O IA 3.3.3.3 [110/3] via 12.12.12.2, 01:02:44, FastEthernet0/0

 23.0.0.0/24 is subnetted, 1 subnets

O IA 23.23.23.0 [110/2] via 12.12.12.2, 01:02:44, FastEthernet0/0

 33.0.0.0/32 is subnetted, 3 subnets

O E1 33.33.33.1 [110/22] via 12.12.12.2, 00:02:50, FastEthernet0/0

O E1 33.33.33.2 [110/22] via 12.12.12.2, 00:02:50, FastEthernet0/0

O E1 33.33.33.3 [110/22] via 12.12.12.2, 00:02:50, FastEthernet0/0


CEK DO SH IP ROUTE OSPF

R2

R2(config)#do sh ip route ospf

 1.0.0.0/32 is subnetted, 1 subnets

O 1.1.1.1 [110/2] via 12.12.12.1, 01:09:19, FastEthernet0/0

 3.0.0.0/32 is subnetted, 1 subnets

O 3.3.3.3 [110/2] via 23.23.23.3, 01:08:43, GigabitEthernet1/0

 33.0.0.0/32 is subnetted, 3 subnets

O E1 33.33.33.1 [110/21] via 23.23.23.3, 00:08:49, GigabitEthernet1/0

O E1 33.33.33.2 [110/21] via 23.23.23.3, 00:08:49, GigabitEthernet1/0

O E1 33.33.33.3 [110/21] via 23.23.23.3, 00:08:49, GigabitEthernet1/0


SELESAI

Comments

Popular posts from this blog

Konfigurasi Event OSPF Adjacency (Email)

  Konfigurasi Event OSPF Adjacency (Email) LAB INI LANJUTAN SAMA SEPERTI LAB SEBELUM SEBELUMNYA Selain event syslog tadi kita juga bisa memanfaatkan EEM ini untuk mengirimkan informasi ke email kita, misalnya OSPF kita down maka, router kita otomatis akan mengirimkan debug ospf ke email kita. Untuk topology masih sama. KONFIG R1 R1(config)#event manager applet OSPF_DOWN R1(config-applet)#event syslog pattern "Nbr 2.2.2.2 on FastEthernet0/0 from FULL to DOWN" R1(config-applet)#action 1.0 cli command "enable" R1(config-applet)#action 2.0 cli command "debug ip ospf adj" R1(config-applet)#action 3.0 mail server "smtp.gmail.com" to "uuqeili@gmail.com" from "R1@idn.id" subject "OSPF IS DOWN" body "Please fix OSPF" R1(config-applet)#exit Untuk Pengecekkan, kita bisa coba debug aja,  dan hapus EEM interface down,  Dan kita bisa lihat di email kita apa hasilnyaa... selesai

Remote SPAN ( RSPAN )

  Remote SPAN  ( RSPAN ) Assalamualaikum temen - temen... kembali lagi di blogg saya, dan terimakasih telah berkunjung ke blogg saya, di blogg kali ini saya akan memberikan materi lab mengenai Remote Span  ( RSPAN ). Karena ini adalah blog lanjutan, jadi saya akan mengkonfigurasi yang hanya ada pada blog ini saja, bagi temen - temen ingin melihat konfigurasi sebelumnya ataupun blog sebelumnya mengenai BELAJAR CCNP, bisa cek link dibawah ini : https://bit.ly/37DxJrX TOPOLOGI =  SW-1 SW-1(config)#vlan 100 SW-1(config-vlan)#name RSPAN SW-1(config-vlan)#exit SW-1(config)# SW-1(config)#int e0/1 SW-1(config-if)#sw trunk encap dot1q SW-1(config-if)#sw mode tru SW-1(config-if)#exit SW-1(config)# SW-1(config)#monitor session 1 source vlan 10 SW-1(config)#monitor session 1 destination remote vlan 100 SW-2 SW-2(config)#vlan 10 SW-2(config-vlan)#name PC SW-2(config-vlan)#int e0/1 SW-2(config-if)#sw mod acc SW-2(config-if)#sw acc vlan 10 SW-2(config-if)#exit SW-2(config)# SW-2(co...

Konfigurasi Event CLI

Konfigurasi Event CLI =LAB INI LANJUTAN DARI LAB SEBELUMNYA TOPOLOGI 1 R1(config)#event manager applet SHOW_INTERFACE_UP R1(config-applet)#event cli pattern "show ip interface brief" sync yes R1(config-applet)#action 1.0 cli command "enable" R1(config-applet)#action 2.0 cli command "show ip interface brief | include up" R1(config-applet)#action 3.0 puts "$_cli_result" R1(config-applet)#action 4.0 set $_exit_status "0" SETELAH ITU BISA KALIAN CEK DENGAN DO SH IP INT BR