当前位置:网站首页>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
边栏推荐
- Event center parameter transfer, peer component value transfer method, brother component value transfer
- use. Net drives the OLED display of Jetson nano
- Tips for web development: skillfully use ThreadLocal to avoid layer by layer value transmission
- Use of OLED screen
- PHP online examination system version 4.0 source code computer + mobile terminal
- Activiti global process monitors activitieventlistener to monitor different types of events, which is very convenient without configuring task monitoring in acitivit
- 【每周一坑】输出三角形
- Comprehensive evaluation and recommendation of the most comprehensive knowledge base management tools in the whole network: flowus, baklib, jiandaoyun, ones wiki, pingcode, seed, mebox, Yifang cloud,
- Web开发小妙招:巧用ThreadLocal规避层层传值
- 电子游戏的核心原理
猜你喜欢
[wechat applet] operation mechanism and update mechanism
小孩子學什麼編程?
2022 Guangdong Provincial Safety Officer C certificate third batch (full-time safety production management personnel) simulation examination and Guangdong Provincial Safety Officer C certificate third
No Yum source to install SPuG monitoring
Intel 48 core new Xeon run point exposure: unexpected results against AMD zen3 in 3D cache
OAI 5G NR+USRP B210安装搭建
Application layer of tcp/ip protocol cluster
C language operators
Pinduoduo lost the lawsuit, and the case of bargain price difference of 0.9% was sentenced; Wechat internal test, the same mobile phone number can register two account functions; 2022 fields Awards an
Design your security architecture OKR
随机推荐
Rhcsa Road
Manifest of SAP ui5 framework json
Spiral square PTA
Utilisation de l'écran OLED
Kubernetes learning summary (20) -- what is the relationship between kubernetes and microservices and containers?
[weekly pit] output triangle
What key progress has been made in deep learning in 2021?
Infrared thermometer based on STM32 single chip microcomputer (with face detection)
PG基础篇--逻辑结构管理(事务)
Boder radius has four values, and boder radius exceeds four values
Reinforcement learning - learning notes 5 | alphago
Xcode6 error: "no matching provisioning profiles found for application"
Rhcsa Road
【每周一坑】正整数分解质因数 +【解答】计算100以内质数之和
数据湖(八):Iceberg数据存储格式
I've seen many tutorials, but I still can't write a program well. How can I break it?
[wechat applet] operation mechanism and update mechanism
Database - how to get familiar with hundreds of tables of the project -navicat these unique skills, have you got it? (exclusive experience)
Is it safe to open an account in flush? Which securities company is good at opening an account? Low handling charges
Yyds dry goods count re comb this of arrow function