当前位置:网站首页>OSPF multi zone configuration
OSPF multi zone configuration
2022-07-06 20:53:00 【51CTO】
OSPF Multi area configuration
Refer to the picture 1 Build a network environment , The routers in the network are connected according to the topology in the figure , Configure the interface according to the planned network segment IP Address . Make sure that the routers directly connected to each other ping through . The following operations configure these routers to use OSPF The protocol constructs a routing table , Configure these routers in one area , If there is only one area , It can only be the trunk area , Area number is 0.0.0.0, Or you could write it as 0.
chart 1 Multi region OSPF Network topology
Router R1 Configuration on ,R1 It is the backbone area router .
<R1>display router id
RouterID:40.0.0.1 -- Check the current status of the router ID
<R1>system
[R1]ospf 1 router-id 1.1.1.1 -- Enable ospf 1 Process and indicate which Router-ID
[R1-ospf-1]area 0.0.0.0 -- Create an area and enter the area 0.0.0.0
[R1-ospf-1-area-0.0.0.0]network 40.0.0.0 0.0.255.255 -- Assigned to work in Area 0 Address interface of
[R1-ospf-1-area-0.0.0.0]quit
Router R2 Configuration on ,R2 It is the area boundary router , To specify work in Area 0 Interface and Area 1 The interface of .
[R2]ospf 1 router-id 2.2.2.2
[R2-ospf-1]area 0
[R2-ospf-1-area-0.0.0.0]network 40.0.0.0 0.0.255.255 -- Assigned to work in Area 0 The interface of
[R2-ospf-1-area-0.0.0.0]quit
[R2-ospf-1]area 0.0.0.1
[R2-ospf-1-area-0.0.0.1]network 40.1.0.0 0.0.255.255 -- Assigned to work in Area 1 The interface of
[R2-ospf-1-area-0.0.0.1]quit
[R2-ospf-1]display this -- Show OSPF 1 Configuration of
[V200R003C00]
#
ospf 1 router-id 2.2.2.2
area 0.0.0.0
network 40.0.0.0 0.0.255.255
area 0.0.0.1
network 40.1.0.0 0.0.255.255
#
return
Router R3 Configuration on .
[R3]ospf 1 router-id 3.3.3.3
[R3-ospf-1]area 0.0.0.0
[R3-ospf-1-area-0.0.0.0]network 40.0.0.0 0.0.255.255
[R3-ospf-1-area-0.0.0.0]quit
[R3-ospf-1]area 0.0.0.2
[R3-ospf-1-area-0.0.0.2]network 40.2.0.1 0.0.0.0 -- Write interface address ,wildcard-mask by 0.0.0.0
[R3-ospf-1-area-0.0.0.2]network 40.2.1.1 0.0.0.0 -- Write interface address ,wildcard-mask by 0.0.0.0
[R3-ospf-1-area-0.0.0.2]quit
Router R4 Configuration on .
[R4]ospf 1 router-id 4.4.4.4
[R4-ospf-1]area 1
[R4-ospf-1-area-0.0.0.1]net
[R4-ospf-1-area-0.0.0.1]network 40.1.0.0 0.0.255.255
[R4-ospf-1-area-0.0.0.1]quit
Router R5 Configuration on .
[R5]ospf 1 router-id 5.5.5.5
[R5-ospf-1]area 1
[R5-ospf-1-area-0.0.0.1]network 40.1.0.0 0.0.255.255
[R5-ospf-1-area-0.0.0.1]quit
Router R6 Configuration on .
[R6]ospf 1 router-id 6.6.6.6
[R6-ospf-1]area 2
[R6-ospf-1-area-0.0.0.2]network 40.2.0.0 0.0.255.255
[R6-ospf-1-area-0.0.0.2]quit
Router R7 Configuration on .
[R7]ospf 1 router-id 7.7.7.7
[R7-ospf-1]area 2
[R7-ospf-1-area-0.0.0.2]network 40.2.0.0 0.0.255.255
[R7-ospf-1-area-0.0.0.2]quit
This article comes from 《 Huawei authentication (2021 new edition HCIA The teaching material )》
Jingdong buys this book
https://item.jd.com/13706744.html
Learn computer network Huawei network engineer Contact Mr. Han if you have any questions in the H3C network engineer course
Huawei authentication (2021 new edition HCIA The teaching material ) Course link https://edu.51cto.com/course/28956.html
Mr. Han enrolls formal students 、 Discipleship set meal
边栏推荐
- C language operators
- 自定义限流注解
- 基于STM32单片机设计的红外测温仪(带人脸检测)
- #yyds干货盘点#重新梳理箭头函数的this
- 02 basic introduction - data package expansion
- 【每周一坑】输出三角形
- Activiti global process monitors activitieventlistener to monitor different types of events, which is very convenient without configuring task monitoring in acitivit
- Why do novices often fail to answer questions in the programming community, and even get ridiculed?
- What are RDB and AOF
- 01 basic introduction - concept nouns
猜你喜欢
[DSP] [Part 2] understand c6678 and create project
全网最全的新型数据库、多维表格平台盘点 Notion、FlowUs、Airtable、SeaTable、维格表 Vika、飞书多维表格、黑帕云、织信 Informat、语雀
What is the problem with the SQL group by statement
Hardware development notes (10): basic process of hardware development, making a USB to RS232 module (9): create ch340g/max232 package library sop-16 and associate principle primitive devices
使用.Net驱动Jetson Nano的OLED显示屏
看过很多教程,却依然写不好一个程序,怎么破?
【微信小程序】運行機制和更新機制
Laravel笔记-自定义登录中新增登录5次失败锁账户功能(提高系统安全性)
Statistical inference: maximum likelihood estimation, Bayesian estimation and variance deviation decomposition
SAP UI5 框架的 manifest.json
随机推荐
Is it safe to open an account in flush? Which securities company is good at opening an account? Low handling charges
快过年了,心也懒了
数据湖(八):Iceberg数据存储格式
(work record) March 11, 2020 to March 15, 2021
Regular expression collection
7、数据权限注解
[diy] self designed Microsoft makecode arcade, official open source software and hardware
Activiti global process monitors activitieventlistener to monitor different types of events, which is very convenient without configuring task monitoring in acitivit
使用.Net分析.Net达人挑战赛参与情况
Redis insert data garbled solution
Xcode6 error: "no matching provisioning profiles found for application"
What key progress has been made in deep learning in 2021?
小孩子學什麼編程?
【每周一坑】输出三角形
[weekly pit] output triangle
OSPF多区域配置
设计你的安全架构OKR
Tips for web development: skillfully use ThreadLocal to avoid layer by layer value transmission
User defined current limiting annotation
SAP Fiori应用索引大全工具和 SAP Fiori Tools 的使用介绍