当前位置:网站首页>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
边栏推荐
- 2110 summary of knowledge points and common problems in redis class
- 强化学习-学习笔记5 | AlphaGo
- In line elements are transformed into block level elements, and display transformation and implicit transformation
- Web开发小妙招:巧用ThreadLocal规避层层传值
- Taylor series fast Fourier transform (FFT)
- [weekly pit] positive integer factorization prime factor + [solution] calculate the sum of prime numbers within 100
- 【每周一坑】计算100以内质数之和 +【解答】输出三角形
- Spark SQL chasing Wife Series (initial understanding)
- Rhcsa Road
- 面试官:Redis中有序集合的内部实现方式是什么?
猜你喜欢
OLED屏幕的使用
[DSP] [Part 2] understand c6678 and create project
【微信小程序】运行机制和更新机制
[wechat applet] operation mechanism and update mechanism
知识图谱构建流程步骤详解
强化学习-学习笔记5 | AlphaGo
use. Net analysis Net talent challenge participation
2022 portal crane driver registration examination and portal crane driver examination materials
全网最全的新型数据库、多维表格平台盘点 Notion、FlowUs、Airtable、SeaTable、维格表 Vika、飞书多维表格、黑帕云、织信 Informat、语雀
Boder radius has four values, and boder radius exceeds four values
随机推荐
“罚点球”小游戏
How to turn a multi digit number into a digital list
Intel 48 core new Xeon run point exposure: unexpected results against AMD zen3 in 3D cache
自定义限流注解
Value of APS application in food industry
OLED屏幕的使用
R語言可視化兩個以上的分類(類別)變量之間的關系、使用vcd包中的Mosaic函數創建馬賽克圖( Mosaic plots)、分別可視化兩個、三個、四個分類變量的關系的馬賽克圖
【每周一坑】输出三角形
【OpenCV 例程200篇】220.对图像进行马赛克处理
Variable star --- article module (1)
Detailed explanation of knowledge map construction process steps
OAI 5G NR+USRP B210安装搭建
Comment faire une radio personnalisée
What key progress has been made in deep learning in 2021?
Web开发小妙招:巧用ThreadLocal规避层层传值
[DSP] [Part 2] understand c6678 and create project
C language games - minesweeping
R语言可视化两个以上的分类(类别)变量之间的关系、使用vcd包中的Mosaic函数创建马赛克图( Mosaic plots)、分别可视化两个、三个、四个分类变量的关系的马赛克图
Tips for web development: skillfully use ThreadLocal to avoid layer by layer value transmission
【每周一坑】信息加密 +【解答】正整数分解质因数