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: Mauzahn Zushakar
Country: Samoa
Language: English (Spanish)
Genre: Automotive
Published (Last): 4 September 2009
Pages: 28
PDF File Size: 13.66 Mb
ePub File Size: 16.76 Mb
ISBN: 254-9-47558-785-2
Downloads: 83688
Price: Free* [*Free Regsitration Required]
Uploader: Gagore

Characters IA in front of the routes indicate that these routes reside in different areas.

OSPF configuration

To do that, the following configuration on R1 will be used:. For a single-area OSPFv3 network, include the ospf3 statement at the [edit protocols] hierarchy level.

The network commands entered on both routers include subnets directly connected to both routers. For example, here is the output of the command on R Now Osppf should have neighbor relationship with both R1 and R3.

Example: Configuring a Single-Area OSPF Network

To confirm your OSPFv3 configuration, enter the show protocols ospf3 command. Area IDs need only be unique within an AS. Configuration of R3 looks similar, oslf with one difference, namely area number.

In this example we have two OSPF areas — area 0 and area 1. OSPF basic configuration is very simple.

Our goal is to advertise the subnets directly connected to R1 and R3. Then we need to define what network will be advertised into OSPF.


Confirm your configuration by entering the show protocols ospf command. To do that, we need to specify different area ID for each neighbor relationship, 0 for R1 and 1 for R2. All other networks vonfiguration areas in the AS must be directly connected to the backbone area by area border routers that have interfaces in more than one area. In configurztion autonomous system ASthe backbone area is always assigned area ID 0.

Area IDs are unique routagw identifiers, in dotted decimal rotage. We can verify that the routers have become neighbors by typing the show ip ospf neighbors command on either router:. NOTE We have used the router-id 1. You must also create a backbone area if your network consists of multiple areas.

We can verify that routaye using the show ip ospf neighbor command:. To quickly configure a single-area OSPF network, copy the following commands, paste them into a text file, remove any line breaks, change any details necessary to match your network configuration, copy and paste the commands into the CLI at the [edit] hierarchy level, and then enter commit from configuration mode.

If the output does not display the intended configuration, repeat the instructions in this example to correct the configuration.

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 Configure the device interfaces. To verify if the routing updated were exchanged, we can use the show ip route command. This can be done by using the following sequence of commands on both routers:.


Home About Contact Support our work. Confirm that the Area field displays the value that you configured. First, we need to enable OSPF on both routers.

Configuration du routage ospf – routeur Cisco

Because R1 connects only to R2, we only need to establish a neighbor relationship with R2 and advertise directly connected subnet into OSPF. We can do that using the following sequence of commands:. Configure the router identifiers for the devices in your OSPF network. Next, you need to define on which interfaces OSPF will run and what networks will routag advertised.

R3 is in the 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.

Jan 26, upravnik.

Author: admin