Configuring ospf cisco pdf

In below network topology diagram you can see there are two area area 0 and area 1. Configuration examples for ospf ttl security check and ospf graceful shutdown 7. Ospf support for unlimited software vrfs per pe router. 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. Now you have to configure ospf such that devices in area 0 can easily communicate with devices in area 1 step 1. Jul 26, 2017 open shortest path first, or ospf, is a routing protocol thats based on open standards, meaning any vendor can implement its features. Ccna security how to configure ospf md5 authentication. In this howto ill be walking through the steps required to configure ospf on cisco routers.

Highest ip address of any of the routers loopback addresses. Enter a process id of 1 for the processid parameter. A number of different cisco ios ospf configuration commands are available, but at its most basic, ospf configuration uses three commands. Cisco any yes yes 1040 cisco full mesh no yes 1040 cisco pointtopoint area 0 a backbone area 9. Configure the interfaces on the r1, r2, and r3 routers with the ip addresses from the table under the topology diagram. This time, well take a look how you can configure multi area ospf. Ospf adheres to the following link state characteristics. Figure 59 ospf network just like eigrp, ospf configuration is divided into two.

Enable ospf routing protocol from global configuration mode. After ospf is enabled, tune the update timers and configure authentication. Configuring ospf for pointtomultipoint broadcast networks 17. How to configure ospf inbound filtering using route maps 1. How to configure ospf routing protocol using cisco packet. You can set different process id from 165535 for each router. Ospf was designed expressly for ip networks and it supports ip subnetting and tagging of externally derived routing information. Configuring ospf ospf configuration task list ipc216 cisco ios ip configuration guide virtual linksvirtual links are supported. Ospf will form neighbor relationships with adjacent routers in the same area. Console cables to configure the cisco ios devices via the console ports. How to configure multi area ospf lab in cisco packet.

Configuring ospf graceful shutdown on a perinterface basis 6. Then configure the ospf process and enable ospf on the appropriate interfaces. Ospf configuration guide cisco ios xe 3se catalyst 3850 switches 12 configuring ospf. For example, here is the output of the command on r1. For basic ospf configuration, the followin scenario will be a good example.

How to configure ospf routing in cisco packet tracer. The number 1 is a process id and you can choose any number you like. Download this cisco router configuration commands cheat sheet in pdf format at the end of this post herethe most important cli commands are included that will help you in the field. If you studied cisco s ccna you have learned that when you use ospf all the areas have to be directly connected to the backbone area. Cisco routers derive the router id in one of three ways and with the following precedence. The way discussed in this lab is the new way of configuring ospf to operate on interfaces. Cisco asa series general operations asdm configuration guide, 7.

First, configure loopback interfaces to provide stable ospf router ids. When should i need to have more than 1 area in ospf. Open shortest path first open shortest path first ospf is an openstandard link state routing protocol. Ospf p art 2 configuration example interface serial00 description wan link. View interfaces running ospf from the command dropdown located in the right pane, select ospf interfaces. Ospf open shortest path first protocol is a wellknow routing protocol that is widely used today. Configuring ospf over different physical networks configuring ospf for pointtomultipoint broadcast networks summary steps 1. How to configure ospf in the cisco ios the ospf dynamic routing protocol is probably the most popular lan routing protocol today. Jun 28, 2017 it is time to take a look to configuring ospf open shortest path first with an ospf configuration example. Ospf is an interior gateway protocol igp developed by the ospf working group of the internet engineering task force ietf. In cisco ios software, ospf enabled routers send hello packets every 30 seconds on nonbroadcast network types. The network shown in figure 59 will be used for this section.

Configure ospf with a single area cisco spiceworks. Pdf configuring ospf p1c105 configuring ospf ciscos. Ospf is a standard internal gateway protocol igp that is used by many different types and sizes of companies. Cisco ios router configuration commands cheat sheet pdf. Configure the network statement for the lan network. Once you are in the router ospf configuration submode, configure the lan network 172. I need to use the router ospf command to get into the ospf configuration. The process id number is a locally significant process identification number and this does not need to match neighboring routers. June 24, 2011 this module describes how to configure open shortest path first ospf. Since these kinds of posts are useful as a reference for many people, i have decided to create also a cisco router commands cheat sheet with the most useful and the most frequently used command line interface. The ospf network command uses a combination of networkaddress and wildcardmask. Open shortest path first ospf is a linkstate routing protocol for ip networks. Cisco router configuration tutorial cisco internetwork operating system.

Ospf p art 1 protocol header type attributes algorithm metric linkstate dijkstra cost bandwidth ad. Open shortest path first ospf is an openstandard link state routing protocol. The figure below shows a network diagram in which ospf area 1 is defined as the stub area. Protocol igp developed by the ospf working group of. Oct 17, 2012 ospf open shortest path first is a routing protocol developed by internet engineering task force ietf. This tutorial explains how to configure ospf routing protocol step by step with practical example in packet tracer. If youve completed the labs in the free ccna workbook up until this point then boy youre in for a real treat. This article is about the ospf configuration in packet tracer. To quickly configure a singlearea 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. Perform one of the procedures below to view specific ospf information. How to configure ospf routing protocol using cisco packet tracer. While a lot a theory was covered in that section, this one looks at configuring ospf. For years cisco, juniper, and other major networking vendors.

Ospf employs a hierarchical network design using areas. Ip address configured with the ospf routerid command. Areas have to be connected to the backbone area but if they arent we can fix it with a virtual link. Pdf configuring ospf p1c105 configuring ospf ciscos ospf. Cisco ios modes of operation the cisco ios software provides access to several different command modes. How to configure multi area ospf lab in cisco packet tracer. For security purposes, the cisco ios software provides two levels of access to. A concrete understanding of how ospf routing works is fundamental for any small or large network. Cisco asa series cli configuration guide chapter 1 configuring ospf information about ospf routing decisions are based on cost, which is an indication of the overhead required to send packets across a certain interface. Although basic ospf configuration can be very simple, ospf provides many extra features that can get really complex. Ospf can scale to the largest lans but can also start out small. Above we have r1 and r2 in area 0, the backbone area. In this article i would like to show you about mutual redistribution between eigrp and ospf configuration.

About ospf open shortest path first ospf is one of the dynamic routing protocols amongst others. Ospf configuration guide cisco ios xe 3se catalyst 3850 switches iii. This tutorial will give you an easy guide of configuring basic ospf on a cisco router. The idea is the same but some of the commands are different. To configure a netowork for ospf properly there are some steps. Understanding basic open shortest path first ospf routing principles not only applies to the ccnp certification but to all cisco based certifications. Download cisco ccnp routing pdf study guide snabay networking. Ospf is commonly used in large service provider networks or large financial institutions. Open shortest path first, or ospf, is a routing protocol thats based on open standards, meaning any vendor can implement its features. 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. All routes marked with the character o are ospf routes. 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. But just before we get to configure, lets have an overview of ospf. Configuring ospf timers like rip and eigrp, the ospf routing protocol is an extremely tunable.

Cisco router configuration commands cli cheat sheet. The cost of an interface can be manually changed using the ip ospf cost command in the interface configuration mode. Set telnet access for the router to use the local login permissions of username banbury and the password ccna. Ospf configuration guide 12 configuring ospf configuring ospf over different physical networks. In a previous lesson i demonstrated how to configure plain text authentication for ospf. Ospf has some basic rules when it comes to area assignment. Each command mode provides a different group of related commands. Link state routing protocols advertise the state of their links. Configuring ospf on simplex ethernet interfaces 24. This guide is part of an ongoing series that addresses vpn solutions, using the latest vpn technologies from cisco, and based on practical design principles that have been tested to scale. Ospf open shortest path first is a routing protocol developed by internet engineering task force ietf. Ospf configuration task list ospf typically requires coordination among many internal routers. Ospf with three routers the physical topology is as shown in fig 18. For years cisco, juniper, and other major networking vendors have coupled ospf into their platform.

Ospf configuration guide americas headquarters cisco systems, inc. After ospf has been verified, you will configure ospf authentication on the links for added security. This design guide covers the design topology of dynamic multipoint vpn dmvpn. There may be scenarios where you need to tune the default timers. 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. While ospf can be complex to configure, its basic configuration isnt difficult. The router ospf processid command is the beginning of any cisco ios ospf configuration. Ospf open shortest path first ospf is a standardized linkstate routing protocol, designed to scale efficiently to support larger networks.

Configuring ospf for pointtomultipoint broadcast networks summary steps 1. Ill be using a program called packet tracer and will build the network from the ground up walking through each piece. The default ospf network type for ethernet and token ring is broadcast multiaccess. 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.

If you enable md5 authentication with the messagedigest keyword, you must configure a. Ospf configuration in packet tracer computer networking. In a previous post, i have published a cisco switch commands cheat sheet tutorial. In 2008 free ccna workbook originally started as a sharable pdf. Ospf ospf is the industry standard in internal dynamic routing protocols and its supported on nearly all vendor platforms. This type of stub area is an extension to ospf created by cisco. Redistribution between eigrp and ospf cisco router. Ospfopen shortest path first configuration in cisco. This lab will discuss and demonstrate the configuration and verification of perinterface ospf configuration. Configuring ospf in the previous section you learned about ospf and how it works. Ospf configuration guide cisco ios xe 3se catalyst 3850. There are five different configurable ospf network types on a cisco router, broadcast, nonbroadcast, pointtopoint, pointtomultipoint and pointtomultipoint nonbroadcast.

In this lab we will learn to configure multi area ospf using cisco packet tracer. As a network engineer in the field working with ospf you must know the differences in the ospf network types and which types are compatible with one another. When you configure ospf, there are a few fundamental requirements in order. This article is the fourth in a series of articles covering the basics of cisco networking. For protocolindependent features, see the chapter configuring ip routing protocolindependent. Router a should see routes for and be able to ping the loopback interface on router c and vice versa. If a hello packet is not received in four times the hello interval, or 120. In 2008 free ccna workbook originally started as a sharable pdf but quickly evolved into the largest ccna training lab website. 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 configuring any ospf router, you must establish which area assignment to enable the interface for. Ospf is an interior gateway protocoligp which helps in identifying the. This article takes a look at the configuration of open shortest path first ospf.

Apr 25, 2015 configure ospf routing protocol complete lab. Cisco uses interface bandwidth as a metric for cost and the sum of cost of the entire path is used to select the best route to a destination. Use the ip ospf authentication command to specify this password. For these steps following commands are used respectively. Ospf is standardsbased which means it is available on routers by cisco as well as other vendors, making it a vendorneutral routing protocol. This module describes how to configure open shortest path first ospf.

Configure cisco routers for syslog, ntp, and ssh operations duration. I will give you some basic overview about ospf and then will provide the details of these configuration by practically configuring a lab. In our example, we will examine the figure below deeply. You can see that r1 has learned about the network 192. 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. Apr 11, 2015 how to configure ospf routing in cisco packet tracer. Use the router ospf command in global configuration mode to enable ospf on the r1 router. You can use real cisco devices or any other network simulator software for following this guide.

634 1318 1431 815 1477 798 1244 507 605 824 629 696 1044 1308 1276 382 670 135 39 503 28 104 1036 812 1107 1273 1366 1108 888 1104 122 1473 433 886 1123 699