Ciscos implementation conforms to the ospf version 2 specifications detailed. With ospf, there is no limitation on the hop count. Cisco ospf configuration guide open shortest path first. Cisco ospf command and configuration handbook paperback. Place each interface on your router into the area specified by the diagram. Device 3 is configured as the nssa autonomous system border router asbr.
This time, well take a look how you can configure multi area ospf. Configuring multiple ospf areas free ccna workbook. Lets get started with some basic ospf configuration. You can use real cisco devices or any other network simulator. In this topology, 2 cisco catalyst 295024 switches and 6 pcs are used. Configuring basic ospf routing lab continued ospf objectives. Configuring multiarea ospf objective in this lab configure a multiarea ospf operation, interarea summarization, external route summarization, and default routing. Ospf forwarding address suppression in translated type5 lsas. 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. Redistribution is the term used to inject routing updates between routers if there are two or more routing protocols enabled in a network or interconnecting two different networks having different routing protocol. 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. Enter a process id of 1 for the processid parameter.
Verifying and monitoring ospf configuration techlibrary. Ospf configuration step by step guide computernetworkingnotes. Ospf has restrictions when multiple areas are involved. For example facility one is ospf area 1, facility 2 is ospf area two, this gives you the ability to isolate network problems to a sitefacility level. Cisco ospf command and configuration handbook provides example scenarios that demonstrate the proper use of every ospf command that can be implemented on a minimum number of routers. 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. Figure 1 shows an autonomous system as across which many external routes are advertised. Ospf can scale to the largest lans but can also start out small. Ospf routers send the complete routing table to all directly attached routers. This article takes a look at the configuration of open shortest path first ospf.
This article is the fourth in a series of articles covering the basics of cisco networking. Router1 will be the designated router dr and router2 will be the backup dr bdr due to their priorities. Jun 28, 2017 it is time to take a look to configuring ospf open shortest path first with an ospf configuration example. All right folks, here is the moment, the majority of us have been waiting for, configuring a dynamic routing protocol, open shortest path first, or ospf. Unless the administrator has made a configuration, the link cost of a path. Once you are in the router ospf configuration submode, configure the lan network 172. Ospf routers discover neighbors before exchanging routing information. Tcpip environment fast convergence variablelength subnet masks discontiguous subnets incremental updates route authentication. Icnd2 ospf questions 2 question 1 which command is used to display the collection of ospf link states. This part explains these parameters in detail with examples.
For complete syntax information for the cli commands shown in this chapter, see the command line interface. Use the router ospf command in global configuration mode to enable ospf on the r1 router. The way discussed in this lab is the new way of configuring ospf to operate on interfaces. Configure the routers in figure 44 as shown in the following listing.
Ciscos implementation conforms to the ospf version 2 specifications. 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. Summarizing ranges of routes in ospf in this example, you configure the abrs for route summarization by including the following settings. Ospf adheres to the following link state characteristics. Cisco aci application centric infrastructure how to index adapting vpn deployment when all your workforce is remote if you encounter a technical issue on the site, please open a. In this lesson ill explain the basics of ospf to you and you will learn how and why it works. The task is to optimize ospf routing, which creates the need to design and configure multiarea ospf. Example 1 pdf created with fineprint pdffactory pro trial version. Configuring ospf this chapter describes how to configure ospf on hp routing switches using the cli and web management interface.
The intelligent use of vlsm is very useful in ip address allocation. Global configuration mode, we type in router, and we specify ospf, and now there is this number just sitting there, a 1 in this case. An area border router abr must have at least one interface in the backbone area, or it must have a virtual link to a router in the backbone area. Understanding ospf stub areas, totally stubby areas, and notsostubby areas. Ospf configuration routerid, designated and backup designated router drbdr, drbdr election, ospf metric, ospf priority and important ospf configuration commands are discussed.
Ospf, on the other hand, addresses most of the issues previously presented. The following list outlines key features supported in the cisco ospf implementation. Ospf will form neighbor relationships with adjacent routers in the same area. Stub areasthe definition of stub areas is supported. Once you are in the router ospf configuration submode, configure the lan network. In the following example, a router that is running ospf is configured to advertise a maximum metric at startup for 300 seconds. The following example illustrates how to configure singlearea ospf network. To locate documentation of other commands that appear in this chapter, use the. Configuration part of ospf includes process id, area id and wildcard mask which make its setup a litter bit harder. It utilizes a connection state routing calculation and falls into the gathering of inside routing protocols, working inside a solitary independent framework as. Enable ospf configuring ospf p1c109 enable ospf as with other routing protocols, enabling ospf requires that you create an ospf routing process, specify the range of ip addresses to be associated with the routing process, and assign area ids to be. Rfc 1583 ospf version 2 march 1994 1 introduction this document is a speci.
Contents chapter 1 readmefirst1 chapter 2 configuringospf3 findingfeatureinformation3 informationaboutospf4 ciscoospfimplementation4 routercoordinationforospf4. Any internet protocol ip addresses and phone numbers used in this document are not intended to be actual addresses and phone numbers. Example network consists of 3 routers connected together within 10. Please note that an interface can only exist in one area. Single area ospf configuration with example icnd1 100105. The ospf network command uses a combination of networkaddress and wildcardmask. How to configure and verify ospf ospf is the routing protocol for the internet protocol ip systems.
In the example, the barracuda ng firewall is made an area border router abr with interfaces in area 0 and area 1. Configuration example setting the ospf metric type for a. Only pos40 interface will attempt to form an ospf adjacency. Open shortest path first ospf is a routing protocol for internet protocol ip networks. It needs to configure one area as area 0 which is the backbone. Ospf enhanced traffic statistics for ospfv2 and ospfv3. Scenario international travel agency ita maintains a complex ospf environment. Basic router configuration routing protocols and concepts. Nov 27, 2015 ospf forwarding address suppression in translated type5 lsas.
Well look at router 9 as our example to complete this. The second area consists of networks n6n8, along with their attached routers rt7, rt8, rt10 and rt11. Cisco nexus 9000 series nxos unicast routing configuration guide, release 6. Ospf employs a hierarchical network design using areas. Ospf open shortest path first ospf is a standardized linkstate routing protocol, designed to scale efficiently to support larger networks. In our example, we will examine the figure below deeply. While ospf can be complex to configure, its basic configuration isnt difficult. Introduction prerequisites requirements components used background information configure network diagram configurations verify forward metric troubleshoot. Place loopback interfaces in whatever area makes the most sense. This will enable you to learn each command without requiring an extensive and expensive lab configuration. The first area consists of networks n1n4, along with their attached routers rt1rt4. The topology of an area is hidden from the other as thus reducing the routing traffic. All three routers in this example are fortigate units. Ospf mib support of rfc 1850 and latest extensions.
Hope this article will help every beginners who are going to start cisco lab practice without any doubts. To display ospf configuration information and statisti cs, see displaying ospf information on page 1146. D explanation the output of the show ip ospf database is shown below. Redistribution between eigrp and ospf cisco router configuration.
In this article we will see how to configure ospf step by step. Verifying an ospf configuration, tracing ospf protocol traffic, example. The figure 2 shows a sample ospf area configuration. Many isps configure the process id to be the same as their bgp. It allows sets of networks to be grouped together in an area. You can conserve router resources as a specific router in a given area only has to maintain the database for that configured area.
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. Ospf type5 route calculation configuration example cisco. This part explains these parameters and ospf adjacency in detail with examples. A c f explanation ospf is a linkstate routing protocol so it converges more quickly than distancevector protocol. This ensures less processing on routers that are not listening to ospf packets. Apr 10, 2014 in this article i would like to show you about mutual redistribution between eigrp and ospf configuration. Configure the network statement for the lan network. Rfc 3717 documents work in optical routing for ip based on extensions to ospf and. Ospf is a standard internal gateway protocol igp that is used by many different types and sizes of companies.
This example sets up an ospf network at a small office. In this example following ip addresses are configured. Apr 02, 2014 here is spts complete cisco ospf configuration guide with ospf open shortest path first configuration on packet tracer example cisco router. Link state routing protocols advertise the state of their links. Open shortest path first open shortest path first ospf is an openstandard link state routing protocol. This tutorial explains how to configure ospf routing protocol step by step with. This tutorial explains how to configure ospf routing protocol step by step with practical example in packet tracer.
378 257 302 536 839 477 875 908 928 1297 402 389 799 28 1026 749 25 168 1221 767 1543 216 524 1315 736 748 337 446 431 904 768 392 613 1206 1315 416 186 988 1190 160 813 332