OSPFv2 Concepts dan Configuration
- Dapatkan link
- X
- Aplikasi Lainnya
Apa yang akan saya pelajari dalam modul ini?
Judul Modul : Konsep OSPF Area Tunggal
Tujuan Modul : Menjelaskan bagaimana OSPF area tunggal beroperasi di jaringan multiakses point-to-point dan siaran.
| judul topik | Tujuan Topik |
|---|---|
| Fitur dan Karakteristik OSPF | Jelaskan fitur dan karakteristik dasar OSPF. |
| Paket OSPF | Jelaskan jenis paket OSPF yang digunakan dalam OSPF area tunggal. |
| Operasi OSPF | Jelaskan bagaimana OSPF satu area beroperasi. |
Mengapa saya harus mengambil modul ini?
Selamat datang di Konsep OSPFv2 Area Tunggal!
Selamat datang di modul pertama di CCNA Enterprise Networking, Security, and Automation v7.0 (ENSA)!
Bayangkan sudah waktunya keluarga Anda mengunjungi kakek dan nenek Anda. Anda mengemas tas Anda dan memasukkannya ke dalam mobil. Namun ini membutuhkan waktu lebih lama dari yang Anda rencanakan dan sekarang Anda sudah terlambat. Anda mengeluarkan peta Anda. Ada tiga rute berbeda. Salah satu jalur kurang bagus karena banyak pembangunan di jalan utama dan ditutup sementara. Rute lainnya sangat indah, tetapi dibutuhkan satu jam tambahan untuk sampai ke tujuan Anda. Rute ketiga tidak begitu cantik tetapi mencakup jalan raya yang jauh lebih cepat. Faktanya, ini jauh lebih cepat sehingga Anda mungkin tepat waktu jika mengambilnya.
Apa yang akan saya pelajari dalam modul ini?
Judul Modul : Konsep OSPF Area Tunggal
Tujuan Modul : Menjelaskan bagaimana OSPF area tunggal beroperasi di jaringan multiakses point-to-point dan siaran.
| judul topik | Tujuan Topik |
|---|---|
| Fitur dan Karakteristik OSPF | Jelaskan fitur dan karakteristik dasar OSPF. |
| Paket OSPF | Jelaskan jenis paket OSPF yang digunakan dalam OSPF area tunggal. |
| Operasi OSPF | Jelaskan bagaimana OSPF satu area beroperasi. |
Komponen OSPF
Semua protokol perutean berbagi komponen serupa. Mereka semua menggunakan pesan protokol perutean untuk bertukar informasi rute. Pesan tersebut membantu membangun struktur data, yang kemudian diproses menggunakan algoritma perutean
Router yang menjalankan OSPF bertukar pesan untuk menyampaikan informasi routing menggunakan lima jenis paket. Paket-paket ini, seperti yang ditunjukkan pada gambar, adalah sebagai berikut:
- Halo paket
- Paket deskripsi basis data
- Paket permintaan status tautan
- Paket pembaruan status tautan
- Paket pengakuan status tautan
Paket-paket ini digunakan untuk menemukan router tetangga dan juga untuk bertukar informasi routing guna menjaga keakuratan informasi tentang jaringan.
Pesan OSPF digunakan untuk membuat dan memelihara tiga database OSPF, sebagai berikut:
- Database kedekatan - Ini menciptakan tabel tetangga.
- Database link-state (LSDB) - Ini membuat tabel topologi.
- Meneruskan database - Ini membuat tabel perutean.
Tabel ini berisi daftar router tetangga untuk bertukar informasi routing. Tabel disimpan dan dipelihara dalam RAM. Dalam tabel berikut, catat perintah tertentu yang digunakan untuk menampilkan setiap tabel.
| Basis data | Meja | Keterangan |
|---|---|---|
| Basis Data Kedekatan | Meja Tetangga |
|
| Basis Data Status Tautan | Tabel Topologi |
|
| Basis Data Penerusan | Tabel Perutean |
|
Pesan OSPF digunakan untuk membuat dan memelihara tiga database OSPF, sebagai berikut:
- Database kedekatan - Ini menciptakan tabel tetangga.
- Database link-state (LSDB) - Ini membuat tabel topologi.
- Meneruskan database - Ini membuat tabel perutean.
Tabel ini berisi daftar router tetangga untuk bertukar informasi routing. Tabel disimpan dan dipelihara dalam RAM. Dalam tabel berikut, catat perintah tertentu yang digunakan untuk menampilkan setiap tabel.
| Basis data | Meja | Keterangan |
|---|---|---|
| Basis Data Kedekatan | Meja Tetangga |
|
| Basis Data Status Tautan | Tabel Topologi |
|
| Basis Data Penerusan | Tabel Perutean |
|
Operasi Link-State
Untuk menjaga informasi routing, router OSPF menyelesaikan proses routing link-state generik untuk mencapai keadaan konvergensi. Gambar tersebut menunjukkan topologi lima router. Setiap link antar router diberi label dengan nilai biaya. Di OSPF, biaya digunakan untuk menentukan jalur terbaik menuju tujuan. Berikut ini adalah langkah-langkah routing link-state yang diselesaikan oleh router:
- Membangun Kedekatan Tetangga
- Iklan Exchange Link-State
- Bangun Basis Data Link State
- Jalankan Algoritma SPF
- Pilih Rute Terbaik
1. Membangun Kedekatan Tetangga
Router yang mendukung OSPF harus mengenali satu sama lain di jaringan sebelum mereka dapat berbagi informasi. Router yang mendukung OSPF mengirimkan paket Hello ke semua antarmuka yang mendukung OSPF untuk menentukan apakah ada tetangga pada tautan tersebut. Jika ada tetangga, router yang mendukung OSPF akan mencoba membangun kedekatan tetangga dengan tetangga tersebut.
2. Iklan Exchange Link-State
Setelah kedekatan terbentuk, router kemudian bertukar iklan link-state (LSA). LSA berisi status dan biaya setiap link yang terhubung langsung. Router membanjiri LSA mereka ke tetangga yang berdekatan. Tetangga yang berdekatan yang menerima LSA segera membanjiri LSA ke tetangga lain yang terhubung langsung, hingga semua router di area tersebut memiliki semua LSA.
3. Membangun Basis Data Link State
Setelah LSA diterima, router yang mendukung OSPF membangun tabel topologi (LSDB) berdasarkan LSA yang diterima. Basis data ini pada akhirnya menyimpan semua informasi tentang topologi area tersebut
4. Jalankan Algoritma SPF
Router kemudian mengeksekusi algoritma SPF. Roda gigi pada gambar untuk langkah ini digunakan untuk menunjukkan pelaksanaan algoritma SPF. Algoritma SPF menciptakan pohon SPF.
5. Pilih Rute Terbaik
Setelah pohon SPF dibangun, jalur terbaik ke setiap jaringan ditawarkan ke tabel perutean IP. Rute akan dimasukkan ke dalam tabel routing kecuali ada sumber rute ke jaringan yang sama dengan jarak administratif yang lebih rendah, seperti rute statis. Keputusan perutean dibuat berdasarkan entri dalam tabel perutean.
OSPFv3
OSPFv3 adalah setara OSPFv2 untuk menukar awalan IPv6. Ingatlah bahwa dalam IPv6, alamat jaringan disebut sebagai awalan dan subnet mask disebut panjang awalan.
Mirip dengan mitra IPv4-nya, OSPFv3 menukar informasi perutean untuk mengisi tabel perutean IPv6 dengan awalan jarak jauh.
Catatan : Dengan fitur Keluarga Alamat OSPFv3, OSPFv3 menyertakan dukungan untuk IPv4 dan IPv6. Keluarga Alamat OSPF berada di luar cakupan kurikulum ini.
Jenis Paket OSPF
Tabel ini merangkum lima jenis LSP berbeda yang digunakan oleh OSPFv2. OSPFv3 memiliki tipe paket yang serupa.
| Jenis | Nama Paket | Keterangan |
|---|---|---|
| 1 | Halo | Menemukan tetangga dan membangun kedekatan di antara mereka |
| 2 | Deskripsi Basis Data (DBD) | Memeriksa sinkronisasi database antar router |
| 3 | Permintaan Link-State (LSR) | Meminta catatan link-state tertentu dari router ke router |
| 4 | Pembaruan Link-State (LSU) | Mengirim catatan status tautan yang diminta secara khusus |
| 5 | Pengakuan Link-State (LSAck) | Mengakui jenis paket lainnya |
Pembaruan Link-State
Halo Paket
Paket OSPF Tipe 1 adalah paket Hello. Paket Hello digunakan untuk melakukan hal berikut:
- Temukan tetangga OSPF dan buat kedekatan tetangga.
- Iklankan parameter di mana dua router harus setuju untuk menjadi tetangga.
- Pilih Designated Router (DR) dan Backup Designated Router (BDR) pada jaringan multiakses seperti Ethernet. Tautan point-to-point tidak memerlukan DR atau BDR.
Gambar tersebut menampilkan kolom yang terdapat dalam paket OSPFv2 Tipe 1 Hello.
What will I learn to do in this module?
Module Title: Single-Area OSPFv2 Configuration
Module Objective: Implement single-area OSPFv2 in both point-to-point and broadcast multiaccess networks.
| Topic Title | Topic Objective |
|---|---|
| OSPF Router ID | Configure an OSPFv2 router ID. |
| Point-to-Point OSPF Networks | Configure single-area OSPFv2 in a point-to-point network. |
| Multiaccess OSPF Networks | Configure the OSPF interface priority to influence the DR/BDR election in a multiaccess network. |
| Modify Single-Area OSPFv2 | Implement modifications to change the operation of single-area OSPFv2. |
| Default Route Propagation | Configure OSPF to propagate a default route. |
| Verify Single-Area OSPFv2 | Verify a single-area OSPFv2 implementation. |
OSPF Reference Topology
To get you started, this topic discusses the foundation on which OSPF bases its entire process, the OSPF router ID.
Router Configuration Mode for OSPF
OSPFv2 diaktifkan menggunakan perintah mode konfigurasi global router ospf process-id , seperti yang ditunjukkan di jendela perintah untuk R1. Nilai id proses mewakili angka antara 1 dan 65.535 dan dipilih oleh administrator jaringan. Nilai process-id adalah signifikan secara lokal, yang berarti bahwa nilai tersebut tidak harus sama pada router OSPF lainnya untuk membangun kedekatan dengan tetangga tersebut. Ini dianggap sebagai praktik terbaik untuk menggunakan id proses yang sama di semua router OSPF.
Setelah memasukkan perintah router ospf process-id , router memasuki mode konfigurasi router, seperti yang ditunjukkan oleh prompt R1(config-router)# . Masukkan tanda tanya ( ? ), untuk melihat semua perintah yang tersedia dalam mode ini. Daftar perintah yang ditampilkan di sini telah diubah untuk hanya menampilkan perintah yang relevan dengan modul ini.
relevan dengan modul ini.
R1(config)# router ospf 10
R1(config-router)# ?
area OSPF area parameters
auto-cost Calculate OSPF interface cost according to bandwidth
default-information Control distribution of default information
distance Define an administrative distance
exit Exit from routing protocol configuration mode
log-adjacency-changes Log changes in adjacency state
neighbor Specify a neighbor router
network Enable routing on an IP network
no Negate a command or set its defaults
passive-interface Suppress routing updates on an interface
redistribute Redistribute information from another routing protocol
router-id router-id for this OSPF process
R1(config-router)#Router IDs
ID router OSPF adalah nilai 32-bit, yang direpresentasikan sebagai alamat IPv4. ID router digunakan untuk mengidentifikasi router OSPF secara unik. Semua paket OSPF menyertakan ID router dari router asal. Setiap router memerlukan ID router untuk berpartisipasi dalam domain OSPF. ID router dapat ditentukan oleh administrator atau ditetapkan secara otomatis oleh router. ID router digunakan oleh router yang mendukung OSPF untuk melakukan hal berikut:
- Berpartisipasi dalam sinkronisasi database OSPF – Selama Exchange State, router dengan ID router tertinggi akan mengirimkan paket deskriptor database (DBD) terlebih dahulu.
- Berpartisipasi dalam pemilihan router yang ditunjuk (DR) - Dalam lingkungan LAN multiakses, router dengan ID router tertinggi dipilih sebagai DR. Perangkat perutean dengan ID router tertinggi kedua dipilih sebagai router penunjuk cadangan (BDR).
Catatan : Proses pemilihan DR dan BDR akan dibahas lebih rinci pada modul ini
Router ID Order of Precedence
Tapi bagaimana cara router menentukan ID router? Seperti yang diilustrasikan dalam gambar, router Cisco memperoleh ID router berdasarkan salah satu dari tiga kriteria, dalam urutan preferensi berikut:
- ID router dikonfigurasikan secara eksplisit menggunakan perintah mode konfigurasi router-id router OSPF . Nilai rid adalah nilai 32-bit apa pun yang dinyatakan sebagai alamat IPv4. Ini adalah metode yang disarankan untuk menetapkan ID router.
- Jika ID router tidak dikonfigurasi secara eksplisit, router memilih alamat IPv4 tertinggi dari semua antarmuka loopback yang dikonfigurasi. Ini adalah alternatif terbaik berikutnya untuk menetapkan ID router.
- Jika tidak ada antarmuka loopback yang dikonfigurasi, maka router memilih alamat IPv4 aktif tertinggi dari semua antarmuka fisiknya. Ini adalah metode yang paling tidak direkomendasikan karena mempersulit administrator untuk membedakan router tertentu.
Configure a Loopback Interface as the Router ID
Dalam topologi referensi, hanya antarmuka fisik yang dikonfigurasi dan aktif. Antarmuka loopback belum dikonfigurasi. Ketika perutean OSPF diaktifkan pada router, router akan memilih alamat IPv4 terkonfigurasi aktif tertinggi berikut sebagai ID router.
- R1: 10.1.1.14 (G0/0/1)
- R2: 10.1.1.9 (G0/0/1)
- R3: 10.1.1.13 (G0/0/0)
R1(config-if)# interface Loopback 1 R1(config-if)# ip address 1.1.1.1 255.255.255.255 R1(config-if)# end R1# show ip protocols | include Router ID Router ID 1.1.1.1 R1#
The Wildcard Mask
Wildcard mask biasanya merupakan kebalikan dari subnet mask yang dikonfigurasi pada antarmuka tersebut. Dalam subnet mask, biner 1 sama dengan kecocokan dan biner 0 tidak cocok. Dalam masker wildcard, yang terjadi adalah kebalikannya, seperti yang ditunjukkan di sini:
- Wildcard mask bit 0 - Matches the corresponding bit value in the address.
- Wildcard mask bit 1 - Ignores the corresponding bit value in the address.
Syntax Checker - Configure R2 and R3 Router IDs
Use the Syntax Checker to configure R2 and R3 with router IDs.
You are currently logged into R2:
- Enter OSPF router configuration mode using process ID 10
- Assign a router ID of 2.2.2.2
- Return to privileged EXEC mode
R2# *Mar 25 20:03:56.863: %SYS-5-CONFIG_I: Configured from console by console
Enter the show ip protocols command to verify the router ID.
*** IP Routing is NSF aware ***
(output omitted)
Routing Protocol is "ospf 10"
Outgoing update filter list for all interfaces is not set
Incoming update filter list for all interfaces is not set
Router ID 2.2.2.2
Number of areas in this router is 0. 0 normal 0 stub 0 nssa
Maximum path: 4
Routing for Networks:
Routing Information Sources:
Gateway Distance Last Update
Distance: (default is 110)
R2#You are now on R3:
- Enter OSPF router configuration mode using process ID 10
- Assign a router ID of 3.3.3.3
- Return to privileged EXEC mode.
R3# *Mar 25 20:11:05.415: %SYS-5-CONFIG_I: Configured from console by console
Enter the show ip protocols command to verify the router ID.
*** IP Routing is NSF aware ***
(output omitted)
Routing Protocol is "ospf 10"
Outgoing update filter list for all interfaces is not set
Incoming update filter list for all interfaces is not set
Router ID 3.3.3.3
Number of areas in this router is 0. 0 normal 0 stub 0 nssa
Maximum path: 4
Routing for Networks:
Routing Information Sources:
Gateway Distance Last Update
Distance: (default is 110)
R3#You have successfully assigned the router IDs to R2 and R3.
OSPF Network Types
Jenis jaringan lain yang menggunakan OSPF adalah jaringan OSPF multiakses. Jaringan OSPF multiakses bersifat unik karena satu router mengontrol distribusi LSA. Router yang dipilih untuk peran ini harus ditentukan oleh administrator jaringan melalui konfigurasi yang tepat.
OSPF mungkin menyertakan proses tambahan tergantung pada jenis jaringan. Topologi sebelumnya menggunakan link point-to-point antar router. Namun, router dapat dihubungkan ke switch yang sama untuk membentuk jaringan multiakses, seperti yang ditunjukkan pada gambar. LAN Ethernet adalah contoh paling umum dari jaringan multiakses siaran. Dalam jaringan siaran, semua perangkat di jaringan melihat semua frame siaran dan multicast.
OSPF multiaccess network consisting of four routers connected to a switch in the center; arrows representing broadcasts are forwarded by each router to the switch; one router has a point-to-point connection to another router in the Internet cloud
OSPF Multiaccess Network
Configure OSPF Priority
ada topologinya, perintah ip ospf prioritas akan digunakan untuk mengubah DR dan BDR sebagai berikut:
- R1 harus menjadi DR dan akan dikonfigurasi dengan prioritas 255.
- R2 harus menjadi BDR dan akan dibiarkan dengan prioritas default 1.
- R3 tidak boleh berupa DR atau BDR dan akan dikonfigurasi dengan prioritas 0.
Ubah prioritas antarmuka R1 G0/0/0 dari 1 menjadi 255.
R1(config)# interface GigabitEthernet 0/0/0 R1(config-if)# ip ospf priority 255 R1(config-if)# end R1#
Ubah prioritas antarmuka R3 G0/0/0 dari 1 menjadi 0.
Contoh berikut menunjukkan cara menghapus proses OSPF di R1. Perintah proses clear ip ospf juga harus dimasukkan pada R2 dan R3 (tidak ditampilkan). Perhatikan informasi status OSPF yang dihasilkan..
R1# clear ip ospf process Reset ALL OSPF processes? [no]: y R1# *Jun 5 03:47:41.563: %OSPF-5-ADJCHG: Process 10, Nbr 2.2.2.2 on GigabitEthernet0/0/0 from FULL to DOWN, Neighbor Down: Interface down or detached *Jun 5 03:47:41.563: %OSPF-5-ADJCHG: Process 10, Nbr 3.3.3.3 on GigabitEthernet0/0/0 from FULL to DOWN, Neighbor Down: Interface down or detached *Jun 5 03:47:41.569: %OSPF-5-ADJCHG: Process 10, Nbr 2.2.2.2 on GigabitEthernet0/0/0 from LOADING to FULL, Loading Done *Jun 5 03:47:41.569: %OSPF-5-ADJCHG: Process 10, Nbr 3.3.3.3 on GigabitEthernet0/0/0 from LOADING to FULL, Loading Done
Output dari perintah show in ospf interface g0/0/0 pada R1 mengonfirmasi bahwa R1 sekarang menjadi DR dengan prioritas 255 dan mengidentifikasi kedekatan tetangga baru dari R1.
R1# show ip ospf interface GigabitEthernet 0/0/0 GigabitEthernet0/0/0 is up, line protocol is up Internet Address 192.168.1.1/24, Area 0, Attached via Interface Enable Process ID 10, Router ID 1.1.1.1, Network Type BROADCAST, Cost: 1 Topology-MTID Cost Disabled Shutdown Topology Name 0 1 no no Base Enabled by interface config, including secondary ip addresses Transmit Delay is 1 sec, State DR, Priority 255 Designated Router (ID) 1.1.1.1, Interface address 192.168.1.1 Backup Designated router (ID) 2.2.2.2, Interface address 192.168.1.2 Timer intervals configured, Hello 10, Dead 40, Wait 40, Retransmit 5 oob-resync timeout 40 Hello due in 00:00:00 Supports Link-local Signaling (LLS) Cisco NSF helper support enabled IETF NSF helper support enabled Index 1/1/1, flood queue length 0 Next 0x0(0)/0x0(0)/0x0(0) Last flood scan length is 1, maximum is 2 Last flood scan time is 0 msec, maximum is 1 msec Neighbor Count is 2, Adjacent neighbor count is 2 Adjacent with neighbor 2.2.2.2 (Backup Designated Router) Adjacent with neighbor 3.3.3.3 Suppress hello for 0 neighbor(s) R1#Cisco OSPF Cost Metric
Recall that a routing protocol uses a metric to determine the best path of a packet across a network. A metric gives indication of the overhead that is required to send packets across a certain interface. OSPF uses cost as a metric. A lower cost indicates a better path than a higher cost.
The Cisco cost of an interface is inversely proportional to the bandwidth of the interface. Therefore, a higher bandwidth indicates a lower cost. The formula used to calculate the OSPF cost is:
Cost = reference bandwidth / interface bandwidth
The default reference bandwidth is 108 (100,000,000); therefore, the formula is:
Cost = 100,000,000 bps / interface bandwidth in bps
Refer to the table for a breakdown of the cost calculation. Because the OSPF cost value must be an integer, FastEthernet, Gigabit Ethernet, and 10 Gigabit Ethernet (10 GigE) interfaces share the same cost. To correct this situation, you can:
- Adjust the reference bandwidth with the auto-cost reference-bandwidth command on each OSPF router.
- Manually set the OSPF cost value with the ip ospf cost command on necessary interfaces.
table that shows the default Cisco OSPF cost calculation for 10 gigabit ethernet, gigabit ethernet, fast ethernet, and ethernet.
Verify OSPF Neighbors
Jika Anda telah mengonfigurasi OSPFv2 area tunggal, Anda perlu memverifikasi konfigurasi Anda. Topik ini merinci banyak perintah yang dapat Anda gunakan untuk memverifikasi OSPF.
Seperti yang Anda ketahui, dua perintah berikut sangat berguna untuk memverifikasi perutean:
- tampilkan antarmuka ip singkat - Ini memverifikasi bahwa antarmuka yang diinginkan aktif dengan pengalamatan IP yang benar.
- tampilkan rute ip - Ini memverifikasi bahwa tabel perutean berisi semua rute yang diharapkan.
Perintah tambahan untuk menentukan bahwa OSPF beroperasi seperti yang diharapkan adalah sebagai berikut:
- tampilkan ip ospf tetangga
- tampilkan protokol ip
- tampilkan ip ospf
- tampilkan antarmuka ip ospf
Gambar tersebut menunjukkan topologi referensi OSPF yang digunakan untuk mendemonstrasikan perintah-perintah ini.
standard OSPFv2 network topology used in this module as described in 2.1.1
OSPFv2 Reference Topology
Area 0Internet
Gunakan perintah show ip ospf neighbour untuk memverifikasi bahwa router telah membentuk kedekatan dengan router tetangganya. Jika ID router dari router tetangga tidak ditampilkan, atau jika tidak ditampilkan dalam status FULL, kedua router belum membentuk kedekatan OSPFv2.
Output perintah berikut menampilkan tabel tetangga R1.
R1# show ip ospf neighbor Neighbor ID Pri State Dead Time Address Interface 3.3.3.3 0 FULL/ - 00:00:19 10.1.1.13 GigabitEthernet0/0/1 2.2.2.2 0 FULL/ - 00:00:18 10.1.1.6 GigabitEthernet0/0/0 R1#For each neighbor, this command displays the following:
Verify OSPF Protocol Settings
Perintah tampilkan protokol ip adalah cara cepat untuk memverifikasi informasi konfigurasi OSPF yang penting, seperti yang ditunjukkan pada output perintah berikut. Ini termasuk ID proses OSPFv2, ID router, antarmuka yang dikonfigurasi secara eksplisit untuk mengiklankan rute OSPF, tetangga tempat router menerima pembaruan, dan jarak administratif default, yaitu 110 untuk OSPF.
R1# show ip protocols *** IP Routing is NSF aware *** (output omitted) Routing Protocol is "ospf 10" Outgoing update filter list for all interfaces is not set Incoming update filter list for all interfaces is not set Router ID 1.1.1.1 Number of areas in this router is 1. 1 normal 0 stub 0 nssa Maximum path: 4 Routing for Networks: Routing on Interfaces Configured Explicitly (Area 0): Loopback0 GigabitEthernet0/0/1 GigabitEthernet0/0/0 Routing Information Sources: Gateway Distance Last Update 3.3.3.3 110 00:09:30 2.2.2.2 110 00:09:58 Distance: (default is 110) R1#Verify OSPF Process InformationThe show ip ip ospf juga dapat digunakan untuk memeriksa ID proses OSPFv2 dan ID router, seperti yang ditunjukkan pada output perintah berikut. Perintah ini menampilkan informasi area OSPFv2 dan terakhir kali algoritma SPF dijalankan.
R1# show ip ospf Routing Process "ospf 10" with ID 1.1.1.1 Start time: 00:01:47.390, Time elapsed: 00:12:32.320 Supports only single TOS(TOS0) routes Supports opaque LSA Supports Link-local Signaling (LLS) Supports area transit capability Supports NSSA (compatible with RFC 3101) Supports Database Exchange Summary List Optimization (RFC 5243) Event-log enabled, Maximum number of events: 1000, Mode: cyclic Router is not originating router-LSAs with maximum metric Initial SPF schedule delay 5000 msecs Minimum hold time between two consecutive SPFs 10000 msecs Maximum wait time between two consecutive SPFs 10000 msecs Incremental-SPF disabled Minimum LSA interval 5 secs Minimum LSA arrival 1000 msecs LSA group pacing timer 240 secs Interface flood pacing timer 33 msecs Retransmission pacing timer 66 msecs EXCHANGE/LOADING adjacency limit: initial 300, process maximum 300 Number of external LSA 1. Checksum Sum 0x00A1FF Number of opaque AS LSA 0. Checksum Sum 0x000000 Number of DCbitless external and opaque AS LSA 0 Number of DoNotAge external and opaque AS LSA 0 Number of areas in this router is 1. 1 normal 0 stub 0 nssa Number of areas transit capable is 0 External flood list length 0 IETF NSF helper support enabled Cisco NSF helper support enabled Reference bandwidth unit is 10000 mbps Area BACKBONE(0) Number of interfaces in this area is 3 Area has no authentication SPF algorithm last executed 00:11:31.231 ago SPF algorithm executed 4 times Area ranges are Number of LSA 3. Checksum Sum 0x00E77E Number of opaque link LSA 0. Checksum Sum 0x000000 Number of DCbitless LSA 0 Number of indication LSA 0 Number of DoNotAge LSA 0 Flood list length 0 R1#Verify OSPF Interface SettingsThe
show ip ospf interface menyediakan daftar rinci untuk setiap antarmuka yang mendukung OSPFv2. Tentukan antarmuka untuk menampilkan pengaturan antarmuka tersebut saja, seperti yang ditunjukkan pada output berikut untuk Gigabit Ethernet 0/0/0. Perintah ini menunjukkan ID proses, ID router lokal, jenis jaringan, biaya OSPF, informasi DR dan BDR pada link multiakses (tidak ditampilkan), dan tetangga yang berdekatan.
R1# show ip ospf interface GigabitEthernet 0/0/0 GigabitEthernet0/0/0 is up, line protocol is up Internet Address 10.1.1.5/30, Area 0, Attached via Interface Enable Process ID 10, Router ID 1.1.1.1, Network Type POINT_TO_POINT, Cost: 10 Topology-MTID Cost Disabled Shutdown Topology Name 0 10 no no Base Enabled by interface config, including secondary ip addresses Transmit Delay is 1 sec, State POINT_TO_POINT Timer intervals configured, Hello 5, Dead 20, Wait 20, Retransmit 5 oob-resync timeout 40 Hello due in 00:00:01 Supports Link-local Signaling (LLS) Cisco NSF helper support enabled IETF NSF helper support enabled Index 1/2/2, flood queue length 0 Next 0x0(0)/0x0(0)/0x0(0) Last flood scan length is 1, maximum is 1 Last flood scan time is 0 msec, maximum is 0 msec Neighbor Count is 1, Adjacent neighbor count is 1 Adjacent with neighbor 2.2.2.2 Suppress hello for 0 neighbor(s) R1#Syntax Checker - Verify Single-Area OSPFv2Use the Syntax Checker to verify single-area OSPFv2 configuration on R2 and R3.
standard OSPFv2 network topology used in this module as described in 2.1.1
OSPF Reference Topology
Area 0InternetDisplay a summary of the status of IPv4 interfaces on R2.
R2#show ip interface briefInterface IP-Address OK? Method Status Protocol GigabitEthernet0/0/0 10.1.1.6 YES NVRAM up up GigabitEthernet0/0/1 10.1.1.9 YES NVRAM up up Serial0/1/0 unassigned YES NVRAM administratively down down Serial0/1/1 unassigned YES NVRAM administratively down down GigabitEthernet0 unassigned YES NVRAM administratively down down Loopback0 10.10.2.1 YES NVRAM up up Loopback1 64.100.0.1 YES NVRAM up up R2#Display the OSPF routes installed in the routing table on R2.
R2#show ip route ospfCodes: L - local, C - connected, S - static, R - RIP, M - mobile, B - BGP D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2 E1 - OSPF external type 1, E2 - OSPF external type 2 i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2 ia - IS-IS inter area, * - candidate default, U - per-user static route o - ODR, P - periodic downloaded static route, H - NHRP, l - LISP a - application route + - replicated route, % - next hop override Gateway of last resort is 0.0.0.0 to network 0.0.0.0 10.0.0.0/8 is variably subnetted, 9 subnets, 3 masks O 10.1.1.12/30 [110/40] via 10.1.1.10, 00:45:28, GigabitEthernet0/0/1 [110/40] via 10.1.1.5, 00:45:49, GigabitEthernet0/0/0 O 10.10.1.0/24 [110/20] via 10.1.1.5, 00:45:49, GigabitEthernet0/0/0 O 10.10.3.0/24 [110/20] via 10.1.1.10, 00:45:28, GigabitEthernet0/0/1 R2#Display the OSPF neighbor table for R2.
R2#show ip ospf neighborNeighbor ID Pri State Dead Time Address Interface 3.3.3.3 0 FULL/ - 00:00:16 10.1.1.10 GigabitEthernet0/0/1 1.1.1.1 0 FULL/ - 00:00:19 10.1.1.5 GigabitEthernet0/0/0 R2#Verify the protocol settings on R2.
R2#show ip protocols*** IP Routing is NSF aware *** (output omitted) Routing Protocol is "ospf 10" Outgoing update filter list for all interfaces is not set Incoming update filter list for all interfaces is not set Router ID 2.2.2.2 It is an autonomous system boundary router Redistributing External Routes from, Number of areas in this router is 1. 1 normal 0 stub 0 nssa Maximum path: 4 Routing for Networks: Routing on Interfaces Configured Explicitly (Area 0): Loopback0 GigabitEthernet0/0/1 GigabitEthernet0/0/0 Routing Information Sources: Gateway Distance Last Update 3.3.3.3 110 00:46:14 1.1.1.1 110 00:46:36 Distance: (default is 110) R2#Verify the OSPF process on R2.
R2#show ip ospfRouting Process "ospf 10" with ID 2.2.2.2 Start time: 00:01:54.811, Time elapsed: 00:48:04.766 Supports only single TOS(TOS0) routes Supports opaque LSA Supports Link-local Signaling (LLS) Supports area transit capability Supports NSSA (compatible with RFC 3101) Event-log enabled, Maximum number of events: 1000, Mode: cyclic It is an autonomous system boundary router Redistributing External Routes from, Router is not originating router-LSAs with maximum metric Initial SPF schedule delay 5000 msecs Minimum hold time between two consecutive SPFs 10000 msecs Maximum wait time between two consecutive SPFs 10000 msecs Incremental-SPF disabled Minimum LSA interval 5 secs Minimum LSA arrival 1000 msecs LSA group pacing timer 240 secs Interface flood pacing timer 33 msecs Retransmission pacing timer 66 msecs Number of external LSA 1. Checksum Sum 0x009F01 Number of opaque AS LSA 0. Checksum Sum 0x000000 Number of DCbitless external and opaque AS LSA 0 Number of DoNotAge external and opaque AS LSA 0 Number of areas in this router is 1. 1 normal 0 stub 0 nssa Number of areas transit capable is 0 External flood list length 0 IETF NSF helper support enabled Cisco NSF helper support enabled Reference bandwidth unit is 10000 mbps Area BACKBONE(0) Number of interfaces in this area is 3 Area has no authentication SPF algorithm last executed 00:47:04.655 ago SPF algorithm executed 5 times Area ranges are Number of LSA 3. Checksum Sum 0x00E181 Number of opaque link LSA 0. Checksum Sum 0x000000 Number of DCbitless LSA 0 Number of indication LSA 0 Number of DoNotAge LSA 0 Flood list length 0 R2#Use the interface name g0/0/0 to verify the OSPF interface settings on R2.
R2#show ip ospf interface g0/0/0GigabitEthernet0/0/0 is up, line protocol is up Internet Address 10.1.1.6/30, Area 0, Attached via Interface Enable Process ID 10, Router ID 2.2.2.2, Network Type POINT_TO_POINT, Cost: 10 Topology-MTID Cost Disabled Shutdown Topology Name 0 10 no no Base Enabled by interface config, including secondary ip addresses Transmit Delay is 1 sec, State POINT_TO_POINT Timer intervals configured, Hello 5, Dead 20, Wait 20, Retransmit 5 oob-resync timeout 40 Hello due in 00:00:02 Supports Link-local Signaling (LLS) Cisco NSF helper support enabled IETF NSF helper support enabled Index 2/2, flood queue length 0 Next 0x0(0)/0x0(0) Last flood scan length is 1, maximum is 1 Last flood scan time is 0 msec, maximum is 1 msec Neighbor Count is 1, Adjacent neighbor count is 1 Adjacent with neighbor 1.1.1.1 Suppress hello for 0 neighbor(s) R2#Display summary information for all the OSPF interfaces on R2.
R2#show ip ospf interface briefInterface PID Area IP Address/Mask Cost State Nbrs F/C Lo0 10 0 10.10.2.1/24 10 P2P 0/0 Gi0/0/1 10 0 10.1.1.9/30 10 P2P 1/1 Gi0/0/0 10 0 10.1.1.6/30 10 P2P 1/1 R2#You are now logged into R3. Display a summary of the status of IPv4 interfaces on R3.
R3#show ip interface briefInterface IP-Address OK? Method Status Protocol GigabitEthernet0/0/0 10.1.1.13 YES NVRAM up up GigabitEthernet0/0/1 10.1.1.10 YES NVRAM up up Serial0/1/0 unassigned YES NVRAM administratively down down Serial0/1/1 unassigned YES NVRAM administratively down down GigabitEthernet0 unassigned YES NVRAM administratively down down Loopback0 10.10.3.1 YES NVRAM up up R3#Display the OSPF routes installed in the routing table on R3.
R3#show ip route ospfCodes: L - local, C - connected, S - static, R - RIP, M - mobile, B - BGP D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2 E1 - OSPF external type 1, E2 - OSPF external type 2 i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2 ia - IS-IS inter area, * - candidate default, U - per-user static route o - ODR, P - periodic downloaded static route, H - NHRP, l - LISP a - application route + - replicated route, % - next hop override, p - overrides from PfR Gateway of last resort is 10.1.1.9 to network 0.0.0.0 O*E2 0.0.0.0/0 [110/1] via 10.1.1.9, 00:49:56, GigabitEthernet0/0/1 10.0.0.0/8 is variably subnetted, 9 subnets, 3 masks O 10.1.1.4/30 [110/20] via 10.1.1.9, 00:49:56, GigabitEthernet0/0/1 O 10.10.1.0/24 [110/30] via 10.1.1.9, 00:49:56, GigabitEthernet0/0/1 O 10.10.2.0/24 [110/20] via 10.1.1.9, 00:49:56, GigabitEthernet0/0/1 R3#Display the neighbor table for R3.
R3#show ip ospf neighborNeighbor ID Pri State Dead Time Address Interface 2.2.2.2 0 FULL/ - 00:00:18 10.1.1.9 GigabitEthernet0/0/1 1.1.1.1 0 FULL/ - 00:00:19 10.1.1.14 GigabitEthernet0/0/0 R3#Verify the protocol settings on R3.
R3#show ip protocols*** IP Routing is NSF aware *** (output omitted) Routing Protocol is "ospf 10" Outgoing update filter list for all interfaces is not set Incoming update filter list for all interfaces is not set Router ID 3.3.3.3 Number of areas in this router is 1. 1 normal 0 stub 0 nssa Maximum path: 4 Routing for Networks: Routing on Interfaces Configured Explicitly (Area 0): Loopback0 GigabitEthernet0/0/1 GigabitEthernet0/0/0 Routing Information Sources: Gateway Distance Last Update 1.1.1.1 110 00:50:44 2.2.2.2 110 00:50:44 Distance: (default is 110) R3#Verify the OSPF process on R3.
R3#show ip ospfRouting Process "ospf 10" with ID 3.3.3.3 Start time: 00:01:38.093, Time elapsed: 00:52:05.897 Supports only single TOS(TOS0) routes Supports opaque LSA Supports Link-local Signaling (LLS) Supports area transit capability Supports NSSA (compatible with RFC 3101) Supports Database Exchange Summary List Optimization (RFC 5243) Event-log enabled, Maximum number of events: 1000, Mode: cyclic Router is not originating router-LSAs with maximum metric Initial SPF schedule delay 5000 msecs Minimum hold time between two consecutive SPFs 10000 msecs Maximum wait time between two consecutive SPFs 10000 msecs Incremental-SPF disabled Minimum LSA interval 5 secs Minimum LSA arrival 1000 msecs LSA group pacing timer 240 secs Interface flood pacing timer 33 msecs Retransmission pacing timer 66 msecs EXCHANGE/LOADING adjacency limit: initial 300, process maximum 300 Number of external LSA 1. Checksum Sum 0x009F01 Number of opaque AS LSA 0. Checksum Sum 0x000000 Number of DCbitless external and opaque AS LSA 0 Number of DoNotAge external and opaque AS LSA 0 Number of areas in this router is 1. 1 normal 0 stub 0 nssa Number of areas transit capable is 0 External flood list length 0 IETF NSF helper support enabled Cisco NSF helper support enabled Reference bandwidth unit is 10000 mbps Area BACKBONE(0) Number of interfaces in this area is 3 Area has no authentication SPF algorithm last executed 00:51:04.059 ago SPF algorithm executed 4 times Area ranges are Number of LSA 3. Checksum Sum 0x00E181 Number of opaque link LSA 0. Checksum Sum 0x000000 Number of DCbitless LSA 0 Number of indication LSA 0 Number of DoNotAge LSA 0 Flood list length 0 R3#Use the interface name g0/0/0 to verify the OSPF interface settings on R3.
R3#show ip ospf interface g0/0/0GigabitEthernet0/0/0 is up, line protocol is up Internet Address 10.1.1.13/30, Area 0, Attached via Interface Enable Process ID 10, Router ID 3.3.3.3, Network Type POINT_TO_POINT, Cost: 30 Topology-MTID Cost Disabled Shutdown Topology Name 0 30 no no Base Enabled by interface config, including secondary ip addresses Transmit Delay is 1 sec, State POINT_TO_POINT Timer intervals configured, Hello 5, Dead 20, Wait 20, Retransmit 5 oob-resync timeout 40 Hello due in 00:00:02 Supports Link-local Signaling (LLS) Cisco NSF helper support enabled IETF NSF helper support enabled Index 1/2/2, flood queue length 0 Next 0x0(0)/0x0(0)/0x0(0) Last flood scan length is 1, maximum is 1 Last flood scan time is 0 msec, maximum is 0 msec Neighbor Count is 1, Adjacent neighbor count is 1 Adjacent with neighbor 1.1.1.1 Suppress hello for 0 neighbor(s) R3#Display summary information for all the OSPF interfaces on R3.
R3#show ip ospf interface briefInterface PID Area IP Address/Mask Cost State Nbrs F/C Lo0 10 0 10.10.3.1/24 10 P2P 0/0 Gi0/0/1 10 0 10.1.1.10/30 10 P2P 1/1 Gi0/0/0 10 0 10.1.1.13/30 30 P2P 1/1 R3#You have successfully verified single-area OSPFv2 on R2 and R3.
- Dapatkan link
- X
- Aplikasi Lainnya













Komentar
Posting Komentar