This document uses these configurations. ip unnumbered Ethernet2/0/0 router ospf 1 network area 0. Redistribution Configuration Syntax and Examples. IGRP and EIGRP. OSPF. RIP. Redistributing Static Routes Except Gateway of Last resort in. This article describes some basic OSPF configuration.

Author: Shall Mojar
Country: Liberia
Language: English (Spanish)
Genre: Travel
Published (Last): 5 December 2012
Pages: 175
PDF File Size: 19.17 Mb
ePub File Size: 4.22 Mb
ISBN: 774-2-19983-599-7
Downloads: 86120
Price: Free* [*Free Regsitration Required]
Uploader: Moogulmaran

OSPF basic configuration is very simple.

Next, you need to define on which interfaces OSPF will run and what networks will be advertised. We will use the following network topology:.

Configuration du routage ospf – routeur Cisco

First, we need to enable OSPF on both routers. Then we need to define what network will be advertised into OSPF. This can be done by using the following sequence of commands on both routers:.

The network commands entered on both routers include subnets directly connected to both routers. We can verify that the routers have become neighbors by typing the show ip ospf neighbors command on either router:. To verify if the routing updated were exchanged, we can use the show ip route command.


For example, here is the output of the command on R In this example we have two OSPF areas — area 0 and area 1. As you can see from the network topology depicted above, routers R1 and R3 are in the area 0 and area 1, respectively.

OSPF configuration

Our goal is to advertise the subnets directly connected to R1 and R3. To do that, the following configuration on R1 will be used:.

Because R1 connects only to R2, we only need to establish a neighbor relationship with R2 and advertise directly connected subnet into OSPF. Configuration of R3 looks similar, confiiguration with one difference, namely area number. R3 is in the area 1. To do that, we need to specify different area ID for each neighbor relationship, 0 for R1 and 1 for R2. We can do that using the following sequence of commands:.

Now R2 should have neighbor relationship with both R1 and R3. We can verify that by using the show ip ospf neighbor command:.


Configuration du routage ospf – routeur Cisco

To verify if directly connected subnets are really advertised into the different area, we can use the show ip route ospf command on both R1 and R Characters IA in front of the routes indicate that these routes reside in different areas. Home About Contact Support our work.

NOTE We have used the router-id 1. Jan 26, upravnik.