Define area 9 as a totally stubby area area 9 stub nosummary. Ospf is an interior gateway protocol igp developed by the ospf working group of the internet engineering task force ietf. How to configure basic ospf by brandon carroll in networking on july 26, 2017, 12. Firepower management center configuration guide, version 6. Cisco ospf configuration commands for checking adjacency, dr bdr election and stub area. 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. Ospf will form neighbor relationships with adjacent routers in the same area. Open shortest path first ospf is a linkstate routing protocol, rather than a distance vector protocol. Authentication of peers is important as well, and you should use routemaps for. Open shortest path first open shortest path first ospf is an openstandard link state routing protocol.
Ospf configuration in packet tracer lab with pdf networking. With the basic overview of ospf configuration you can learn, how to configuration ospf on any cisco device this will provide you the basic. Download cisco ccnp routing pdf study guide snabay networking. Ospf adheres to the following link state characteristics. How to configure ospf routing protocol using cisco packet tracer. To create a scalable cisco ospf configuration, you need to follow the best practices. We start with the definition of router id, and then continue on network and passive interface definition. Feature information for configuring ospf ttl security check and ospf graceful. 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. Cisco routers derive the router id in one of three ways and with the following precedence. Give c second priority bdr in election ip ospf priority 50 interface loopback0 ip address 10. Ospf in packet tracer ospf configuration using cisco packet tracer step by step.
Jun 22, 2017 in this article we will make an example for advanced ospf configuration. This paper examines how ospf works and how it can be used to design and build large and complicated networks. Ospf allows for the transfer and tagging of external routes injected into an autonomous system. A concrete understanding of how ospf routing works is fundamental for any small or large network. The ospf configuration is extremely simple, below are to lines of commands that will enable ospf for us. Cisco ios router configuration commands cheat sheet pdf. Authentication if security is of primary concern, use md5 authentication between the ospf neighbors. 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. The router ospf processid command is the beginning of any cisco ios ospf configuration. This will enable you to learn each command without requiring an extensive and expensive lab configuration. I have this setup with a hybrid of equipments from cisco and ubiquiti edge routers and vyos. My cisco nexus configured with hsrp with all the svis on 192. This chapter focuses on a number of objectives falling under the ccnp routing principles.
Now it is time to go deep and combine virtual link, lsa types and etc. This is done with the router ospf processid command. 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. Ospf open shortest path first protocol is a wellknow routing protocol that is widely used today. This article takes a look at the configuration of open shortest path first ospf. For example, here is the output of the command on r1. Ospf configuration step by step guide computernetworkingnotes. Device 3 is configured as the nssa autonomous system border router asbr.
This tutorial explains how to configure ospf routing protocol step by step. Jun 11, 2019 this article is about the ospf configuration in packet tracer. This command is executed in ospf router configuration mode to specifiy which networks paticipate in the ospf routing protocol and in which area they belong to. This improves configuration consistency and eases automatic configuration tasks. Open shortest path first ospf routing protocol dummies. This module describes how to configure open shortest path first ospf. Jun 28, 2017 it is time to take a look to configuring ospf open shortest path first with an ospf configuration example. All routes marked with the character o are ospf routes. To configure a netowork for ospf properly there are some steps. Ospf employs a hierarchical network design using areas.
Ospf configuration guide americas headquarters cisco systems, inc. 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. By collecting connectivity information from all of the devices on the network, ospf. Configure ospf with a single area cisco spiceworks. How to configure ospf stub area previously i explained the different ospf special area types called stub areas. Enter this on each router at the global config prompt to enable ospf. Configure secret key for md5 authentication ip ospf. The open shortest path first ospf protocol, defined in rfc 2328, is an interior gateway protocol used to distribute routing information within a single autonomous system. Ip address configured with the ospf routerid command.
Ospf with three routers the physical topology is as shown in fig 18. In our example, we will examine the figure below deeply. Configuring route summarization when redistributing routes into ospf 19. I will give you some basic overview about ospf and then will provide the details of these configuration by practically configuring a lab. Ospf is a standard internal gateway protocol igp that is used by many different types and sizes of companies. Ospf network type nbma nonbroadcast multiple access uses only unicast communications, so it is the preferred way of ospf configuration in situations where multicast addressing is not possible or desirable for some reasons. Ospf configuration guide, cisco ios release 15s xxii contents. Understanding basic open shortest path first ospf routing principles not only applies to the ccnp certification but to all cisco based certifications. He has more than 10 years of experience in cisco networks, including planning, designing, and implementing large ip networks running igrp, eigrp, and ospf. You can see that r1 has learned about the network 192. For protocolindependent features, see the chapter configuring ip routing protocolindependent. This keeps track of external routes injected by exterior protocols such as bgp.
Although basic ospf configuration can be very simple, ospf provides many extra features that can get really complex. For basic ospf configuration, the followin scenario will be a good example. 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 we will see how to configure ospf step by step. Configuring route summarization when redistributing routes into ospf 23. For protocolindependent features that include ospf, see the chapter configuring ip routing. Once you are in the router ospf configuration submode, configure the lan network 172. Ospf open shortest path first ospf is a standardized linkstate routing protocol, designed to scale efficiently to support larger networks. 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. You can use real cisco devices or any other network simulator. In the next series of lessons i will show you the configuration of each ospf stub type.
Interfaces configure the ospf autocost reference bandwidth through out the ospf domain to higher than the highest bandwidth link in the network. This time, well take a look how you can configure multi area ospf. Basic router configuration routing protocols and concepts. We talked about ospf basics and made an ospf configuration for beginners on our course. Ospf was designed expressly for ip networks and it supports ip subnetting and tagging of externally derived routing information. Chapter 41 ospfv3abrtype3lsafiltering 381 findingfeatureinformation 381. Cisco ospf command and configuration handbook paperback. This article is the fourth in a series of articles covering the basics of cisco networking. Ospf configuration guide, cisco ios release 15s americas headquarters ciscosystems,inc. This tutorial explains how to configure ospf routing protocol step by step with practical example in packet tracer.
Optional md5 authentication configured ip ospf authentication messagedigest ip ospf messagedigestkey 1 md5 foobar. Jul 26, 2017 how to configure basic ospf by brandon carroll in networking on july 26, 2017, 12. Cisco ospf configuration according to best practices. 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 provides configuration examples. This of course leads to more complexity in the configuration and troubleshooting of ospf networks. Link state routing protocols advertise the state of their links.
In the past year, henry has focused on architectural design and implementation in cisco internal networks across australia and the asiapaci. While ospf can be complex to configure, its basic configuration isnt difficult. 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. Router a should see routes for and be able to ping the loopback interface on router c and vice versa. This command is executed in privileged mode and displays a list of neighbor relationships. The ospf network command uses a combination of networkaddress and wildcardmask. Home downloads download cisco ccnp routing pdf study guide. 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.
295 47 75 138 488 896 894 63 127 890 1254 1228 832 453 1035 1347 1062 213 261 1224 225 238 378 479 800 394 924 481 564 1500 997 470 1008 1264 876 729 128 391 1005 520 314 620 181