Table of Contents
OSPF (Open Shortest Path First) protocol is a well-known Link-State Routing Protocol that is widely used in today’s networks. In this Single-Area OSPF configuration tutorial, we will focus on Cisco OSPF configuration step-by-step. After this Cisco OSPF Configuration example, you will be ready to configure OSPF on Cisco routers. To configure a network for OSPF properly, there are some steps. For basic OSPF Cisco Configuration, we will use the below simple OSPF topology. You can use both Packet Tracer, GNS3 or EveNG to create this OSPF configuration example.
You can also learn DHCP Server Configuration With Packet Tracer
First of all, we will configure the routers’ interfaces. After that we will configure OSPF as our Routing Protocol. Here we assume that all the interfaces including loopback interfaces, their speed, duplex and descriptions have been configured.
To do OSPF Cisco Configuration, as the best practices for Cisco OSPF configuration, we will follow the below steps:
In the router A, we will enable OSPF Process, with Process Number “1“.
A(config)# router ospf 1
A(config-router)#
Would you like to follow Cisco Packet Tracer Course on IPCisco?
After enabling OSPF process on our Cisco Router A, then, we will add our networks that will be in OSPF network with their wildcard masks.
A(config-router)# network 10.10.10.0 0.0.0.255 area 0
A(config-router)# network 10.10.11.0 0.0.0.255 area 0
A(config-router)# end
To save our OSPF configuration on a Cisco router, we will use “copy running-config startup-config” command.
A # copy running-config startup-config
We will do Cisco OSPF configuration also on Router B like Router A. We will enable OSPF and then add OSPF Networks.
B(config)# router ospf 1
B(config-router)# network 10.10.11.0 0.0.0.255 area 0
B(config-router)# network 10.10.12.0 0.0.0.255 area 0
B(config-router)# exit
B # copy running-config startup-config
We will configure Router C like Router A. We will enable OSPF and then add OSPF Networks.
C(config)# router ospf 1
C(config-router)# network 10.10.10.0 0.0.0.255 area 0
C(config-router)# network 10.10.12.0 0.0.0.255 area 0
C(config-router)# network 10.10.13.0 0.0.0.255 area 0
C(config-router)# end
C# copy running-config startup-config
You can download “Cisco Packet Tracer” in Tools section.
Leave a Reply