In following figure there are the three routers with. Although basic ospf configuration can be very simple, ospf provides many extra features that can get really complex. Open shortest path first open shortest path first ospf is an openstandard link state routing protocol. For example, here is the output of the command on r1. Configuration routage ospf pdf this document uses these configurations. Ospf routes have an administrative distance is 110. In my introduction on ospf i explained why we sometimes use multiple areas for ospf and in our configuration example, i showed you how to configure ospf for a single area. Apr 25, 2015 the router ospf command enables ospf routing on the router, and the 1 before osfp is the process id of the osfp protocol.
There are two parts to configuring ospf on the transport. To display ospf configuration information and statistics, see displaying ospf information on page 1029. Ospf configuration in packet tracer computer networking. Jun 28, 2017 it is time to take a look to configuring ospf open shortest path first with an ospf configuration example. Next, you need to define on which interfaces ospf will run and what networks will be advertised. Once you are in the router ospf configuration submode, configure the lan network 172. Configure an ospf routing process and enter router configuration mode. Give c second priority bdr in election ip ospf priority 50 interface loopback0 ip address 10.
To enable ospf for the ports and specify the ospf area id, router priority and metric. Just like with other routing protocols covered so far rip, eigrp first you need to enable ospf on a router. What this means is that you can run ospf in a network consisting of multivendor devices. A neighbor table contains a list of all neighboring routers. Starting with best practice number one, when configuring ospf. Acx series,t series,m series,srx220,srx650,srx240,srx210,srx110,srx100,srx1400,srx3400,srx3600,srx5600,srx5800,mx series. This lab will discuss and demonstrate the configuration and verification of ospf stub areas. This tutorial explains how to configure ospf routing protocol step by step with practical example in packet tracer.
Ospf uses cost as its metric, which is computed based on the bandwidth of the link. Configuration planning is essential to organize routers, backbone, nonbackbone, stub, nssa areas, and transit links. For basic ospf configuration, the followin scenario will be a good example. Home downloads download cisco ccnp routing pdf study guide. Router a should see routes for and be able to ping the loopback interface on router c and vice versa. Ospf provides essential defaults for basic protocol operability. Define area 9 as a totally stubby area area 9 stub nosummary. Notice that i made it a host address by making the subnet mask all 255s so its a unique slash 32 address. A number of different cisco ios ospf configuration commands are available, but at its most basic, ospf configuration uses three commands. Ospf open shortest path first protocol is a wellknow routing protocol that is widely used today. Jul 14, 2019 configuration routage ospf pdf this document uses these configurations. The ospf process builds and maintains three separate tables. To the administrator of a large andor complex network, ospf offers several benefits.
This section provides information to configure the open shortest path first ospf protocol using the command line interface. Ospf configuration in packet tracer lab with pdf networking. The main difference here is that a linkedstate protocol does not send its routing table in the form of updates, but only shared its connectivity configuration. Because the router id is defined in the configrouter context, not in the ospf configuration context, the protocol instance is not aware of changes to the id value. In lab 91 configuring basic ospf you learned about stub areas and their. Just two routers in the same area, nothing special.
Ospf neighborship is built between two routers only if configuration value of area id, authentication, hello and dead interval, stub area and mtu are matched. Jul 26, 2017 start by entering ospf configuration mode. To configure a netowork for ospf properly there are some steps. This is a basic labs regarding ospf single area configure related to ccna or icnd12 exam. The task is to optimize ospf routing, which creates the need to design and configure multiarea ospf. How to configure basic ospf by brandon carroll in networking on july 26, 2017, 12. Ospf is an open standard protocol, you learn more why we use ospf and ospf quiz from here. The configuration of ospf in a large scale implementation can be a bit hard to follow when quickly looking over a configuration, but if the network engineer knows the base ospf concepts and sits down with the configuration then they should be able to figure out the intention of the ospf design. Ospf configuration task list p1c108 network protocols configuration guide, part 1 ospf configuration task list ospf typically requires coordination among many internal routers, area border routers routers connected to multiple areas, and autonomous sy stem boundary routers. In a previous lesson i demonstrated how to configure plain text authentication for ospf. To remove an areas authentication specification or a specified area from the configuration, use the no form of this command.
Ospf configuration step by step guide computer networking notes. How to configure ospf ospf routing protocol configuration ccna ospf in packet tracer. This is done by using the router ospf processid global configuration command. Here is the configuration to enable md5 authentication. May 18, 2019 configuration routage ospf pdf this document uses these configurations. Optional md5 authentication configured ip ospf authentication messagedigest ip ospf messagedigestkey 1 md5 foobar. Whether you are preparing for the cisco ip routing exam or you are an experienced network engineer planning to implement the open shortest path first ospf routing protocol, you should familiarize yourself with the capability to divide your network into separate ospf areas.
About ospf open shortest path first ospf is one of the dynamic routing protocols amongst others. Stub areas support multiple features that can reduce router resources and simplify configurations. Ospf adheres to the following link state characteristics. This setup is for me to have redundancy in my core network. Note that the ospf process id doesnt have to be the same on all routers in order for the routers to establish a neighbor relationship, but the area parameter has to be the same on. In the following example, an open shortest path first ospf stub network is configured to include ospf area 0 and ospf area 1, using five devices. To enable ospf, you must configure one or more interfaces on the. How to configure ospf routing protocol using packet tracer. By collecting connectivity information from all of the devices on the network, ospf. Displays summary information regarding the global ospf configuration along with the identifier of the ospf process as defined by the router ospf command. Basic ospf configuration for internal router abr and. Device 2 configured to be the nssa area border router abr.
In the configuration mode, type router ospf to enter global ospf profile. The following new commands are added to the command line interface cli. Ospf employs a hierarchical network design using areas. Configuring ospf p1c107 configuring ospf this chapter describes how to configure ospf. Configuration guide ip unicast routing s1720, s2700, s5700, and s6720 v200r011c10 this document describes ip unicast routing configurations supported by the switch, including the principle and configuration procedures of ip routing overview, static route, rip, ripng, ospf, ospfv3, isisipv4, isisipv6, bgp, routing policy,and pbr, and. Dans une adresse, les chiffres binaires les plus a gauche identi. The router ospf processid command is the beginning of any cisco ios ospf configuration. When a link state router begins operating on a network link, information associated with that logical network is added to its local link state database lsdb. The router id can be used to break a tie in the election process. Configuring route summarization when redistributing routes into ospf 23.
You can configure or modify most commands and parameters. Chapter 10 configuring ospf this chapter describes how to configure ospf on the hp procurve 9304m, 9308m, and 6308msx routing switches using the cli and web management interface. Learn ospf configuration commands, ospf show commands, ospf network configuration process id, network id, wild card mask and area number and ospf routing in detail. This part explains these parameters and ospf adjacency in detail with examples. Almost all interfaces shown in the diagram have been configured and directly connected routers can ping each other.
Device 3 is configured as the nssa autonomous system border router asbr. You can see that r1 has learned about the network 192. Ospf with three routers the physical topology is as shown in fig 18. This time, well take a look how you can configure multi area ospf. This release of arubaos mobility access switch supports all open shortest path first ospf area types including totally stubby area tsa and notsostubbyarea nssa. The configuration examples were performed on devices running panos 4.
Ospf basic configuration ospf basic configuration pearson. Ospf configuration, the router sends a notification message to the console stating that a neighbor relationship with another ospf router has been established. Using multiple ospf areas reduces the frequency of spf dijkstra calculations, the. How to configure ospf routing protocol using cisco packet. Learn how to configure ospf routing protocol using packet tracer. Open shortest path first ospf is a linkstate routing protocol, rather than a distance vector protocol. Ospf will form neighbor relationships with adjacent routers in the same area. There are two ways to configure ospf on a single interface, the network command in the routing process config mode or through the ip ospf command in interface configuration. I will give you some basic overview about ospf and then will provide the details of these configuration by practically configuring a lab. To activate ospf on a network, you must enable the protocol on all interfaces within the network on which ospf traffic is to travel. Apart from being a linkstate protocol, it is also an open standard protocol. It is necessary to use special configuration parameters in the designated router selection if broadcast capability is not configured. In our example, we will examine the figure below deeply.
You can set different process id from 165535 for each router. Understanding ospf configurations techlibrary juniper. The first section deals with the configuration of the ospf daemon via a configuration file. Link state routing protocols advertise the state of their links. Router 1 should be a asbr which redistributes the static routes. Ospf commands area authentication p1r228 network protocols command reference, part 1 area authentication to enable authentication for an ospf area, use the area authentication command in router configuration mode. Ospf open shortest path first ospf is a standardized linkstate routing protocol, designed to scale efficiently to support larger networks. This ospf lab is created in packet tracer and you will learn the ospf single area configuration from this lab.
This can be done by using the following sequence of commands on both routers configuration of r3 looks similar, but with one difference, namely area number. Scenario international travel agency ita maintains a complex ospf environment. But just before we get to configure, lets have an overview of ospf. For ospf configuration information and ex amples, refer to the con figuring ospf chapter of the network protocols configuration guide, part 1. Jun 22, 2017 in this article we will make an example for advanced ospf configuration. Ill now enable the ospf routing process on router one by typing router ospf 10. Basic ospf configuration guide network startup resource center. This lab will discuss and demonstrate the configuration and verification of perinterface ospf configuration. We talked about ospf basics and made an ospf configuration for beginners on our course. All routes marked with the character o are ospf routes. Understanding open shortest path first ospf larger networks typically use open shortest path first ospf instead of rip.
In this article we will see how to configure ospf step by step. Stub areas are another way of building a scalable ospf network. You may have realized that you cannot run eigrp in a. The minimal ospf parameters that are necessary to deploy ospf are. This tutorial will give you an easy guide of configuring basic ospf on a cisco router. A priority of 0 will prevent the router from being elected dr or bdr. Above we have r1 and r2 in area 0, the backbone area.
For a complete description of the ospf commands in this chapter, refer to the ospf commands chapter of the network protocols command reference, part 1. Authenticate adjacencies with md5 ip ospf authentication messagedigest. Open shortest path first ospf is the first linkstate protocol that you will learn about. Open shortest path first ospf routing protocol dummies. The idea is the same but some of the commands are different. The ospf network command uses a combination of networkaddress and wildcardmask. Now it is time to go deep and combine virtual link, lsa types and etc.
Simple ospf network need to create ospf routing process router configuration command router ospf specify the network running ospf should also specify the area 25. This article is about the ospf configuration in packet tracer. In this article we will make an example for advanced ospf configuration. Cisco ios router configuration commands cheat sheet pdf. Configuring multiarea ospf objective in this lab configure a multiarea ospf operation, interarea summarization, external route summarization, and default routing. It is time to take a look to configuring ospf open shortest path first with an ospf configuration example. Jun 11, 2019 this ospf lab is created in packet tracer and you will learn the ospf single area configuration from this lab. While simply enabling ospf would be enough, ill demonstrate some best practices along the way.