In this OSPF Configuration Example, we will configure OSPFv2 on Huawei Routers. We will use eNSP for our Huawei OSPFv2 Configuration Example and our topology will be like below.
Here, we will configure only one area, Area 0. So, this is a single Area OSPF Configuration example.
Our configuration steps will be as mentined below:
Router Interface and PC IP Configurations
OSPF Process Creation and OSPF Router ID Configuration
Adding Networks to OSPF Area 0
OSPFv2 Verification
Now, let’s start and do the configurations required for each step.
Table of Contents
Router Interface and PC IP Configurations
Huawei interface confiugrations was showed before in many eNSP configuration lessons, so here, we will not show this interface configurations again. The interface configurations will be done with the below IP addresses on each Huawei router.
Here, we are configuring OSPFv2 for a single OSPF Area, Area 0. Firstly, we eill go to the OSPF Area 0 context with “area 0” command, then we will add our OSPF networks under Area 0. Here, to add the networks under OSPFv2 process, we will use both network address and the wildcard mask.
As a note, after configuring the OSPF or running the topology again, you need to wait for a while (almost 1 minute) for OSPF convergence. After that period, the below alerts will be sent to the router terminal and the OSPF neighborships will be in the converged state, Full state. Below, you can find the screenshot of the Router 2’s OSPF neighborship alerts.
Gokhan Kosem is a Network Engineer, Instructor and the Founder of IPCisco.com with 15+ years of experience in Cisco, Nokia, Huawei, Juniper, Linux, Service Provider Networks, Routing and Switching technologies.
He has worked on the backbone networks of major service providers and network vendors including Nortel, Alcatel-Lucent (Nokia) and has extensive hands-on experience with Cisco, Huawei, Juniper and Nokia networking technologies.
He has trained thousands of networking students worldwide through IPCisco.com, Udemy, books, labs, quizzes, and educational content across multiple social media platforms.